Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
cb1c704c
Commit
cb1c704c
authored
2 years ago
by
clabby
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into @clabby/ctb/fix-withdrawal-dos
parents
c025a115
ee7abf3b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
pink-kiwis-wink.md
.changeset/pink-kiwis-wink.md
+5
-0
config.yml
.circleci/config.yml
+1
-1
main.go
l2geth-exporter/main.go
+1
-1
.gas-snapshot
packages/contracts-bedrock/.gas-snapshot
+0
-2
package.json
packages/contracts-bedrock/package.json
+1
-1
No files found.
.changeset/pink-kiwis-wink.md
0 → 100644
View file @
cb1c704c
---
"
@eth-optimism/l2geth-exporter"
:
patch
---
Fix: Adding proper debug output for L1 CTC Address env var in l2geth-exporter
This diff is collapsed.
Click to expand it.
.circleci/config.yml
View file @
cb1c704c
...
@@ -227,7 +227,7 @@ jobs:
...
@@ -227,7 +227,7 @@ jobs:
name
:
gas snapshot
name
:
gas snapshot
command
:
|
command
:
|
forge --version
forge --version
forge
snapshot --check
yarn gas-
snapshot --check
environment
:
environment
:
FOUNDRY_PROFILE
:
ci
FOUNDRY_PROFILE
:
ci
working_directory
:
packages/contracts-bedrock
working_directory
:
packages/contracts-bedrock
...
...
This diff is collapsed.
Click to expand it.
l2geth-exporter/main.go
View file @
cb1c704c
...
@@ -33,7 +33,7 @@ func main() {
...
@@ -33,7 +33,7 @@ func main() {
}
}
ctcAddress
:=
os
.
Getenv
(
"OVM_CTC_ADDRESS"
)
ctcAddress
:=
os
.
Getenv
(
"OVM_CTC_ADDRESS"
)
if
ctcAddress
==
""
{
if
ctcAddress
==
""
{
log
.
Error
(
"CTC_ADDRESS environmental variable is required"
)
log
.
Error
(
"
OVM_
CTC_ADDRESS environmental variable is required"
)
os
.
Exit
(
1
)
os
.
Exit
(
1
)
}
}
sccAddress
:=
os
.
Getenv
(
"OVM_SCC_ADDRESS"
)
sccAddress
:=
os
.
Getenv
(
"OVM_SCC_ADDRESS"
)
...
...
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/.gas-snapshot
View file @
cb1c704c
AddressAliasHelper_Test:test_fuzz_roundtrip(address) (runs: 256, μ: 320, ~: 320)
GasBenchMark_L1CrossDomainMessenger:test_L1MessengerSendMessage_benchmark_0() (gas: 261326)
GasBenchMark_L1CrossDomainMessenger:test_L1MessengerSendMessage_benchmark_0() (gas: 261326)
GasBenchMark_L1CrossDomainMessenger:test_L1MessengerSendMessage_benchmark_1() (gas: 75499)
GasBenchMark_L1CrossDomainMessenger:test_L1MessengerSendMessage_benchmark_1() (gas: 75499)
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 348154)
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 348154)
...
@@ -128,7 +127,6 @@ L2StandardBridge_Test:test_withdraw() (gas: 347362)
...
@@ -128,7 +127,6 @@ L2StandardBridge_Test:test_withdraw() (gas: 347362)
L2StandardBridge_Test:test_withdrawTo() (gas: 348091)
L2StandardBridge_Test:test_withdrawTo() (gas: 348091)
L2StandardBridge_Test:test_withdraw_onlyEOA() (gas: 251816)
L2StandardBridge_Test:test_withdraw_onlyEOA() (gas: 251816)
L2ToL1MessagePasserTest:test_burn() (gas: 112530)
L2ToL1MessagePasserTest:test_burn() (gas: 112530)
L2ToL1MessagePasserTest:test_fuzz_initiateWithdrawal(address,address,uint256,uint256,bytes) (runs: 256, μ: 73868, ~: 73643)
L2ToL1MessagePasserTest:test_initiateWithdrawal_fromContract() (gas: 70246)
L2ToL1MessagePasserTest:test_initiateWithdrawal_fromContract() (gas: 70246)
L2ToL1MessagePasserTest:test_initiateWithdrawal_fromEOA() (gas: 75764)
L2ToL1MessagePasserTest:test_initiateWithdrawal_fromEOA() (gas: 75764)
LegacyERC20ETH_Test:test_approve() (gas: 10723)
LegacyERC20ETH_Test:test_approve() (gas: 10723)
...
...
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/package.json
View file @
cb1c704c
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
"test"
:
"yarn build:differential && forge test"
,
"test"
:
"yarn build:differential && forge test"
,
"coverage"
:
"yarn build:differential && forge coverage"
,
"coverage"
:
"yarn build:differential && forge coverage"
,
"coverage:lcov"
:
"yarn build:differential && forge coverage --report lcov"
,
"coverage:lcov"
:
"yarn build:differential && forge coverage --report lcov"
,
"gas-snapshot"
:
"yarn build:differential && forge snapshot"
,
"gas-snapshot"
:
"yarn build:differential && forge snapshot
--no-match-test 'differential|fuzz'
"
,
"storage-snapshot"
:
"./scripts/storage-snapshot.sh"
,
"storage-snapshot"
:
"./scripts/storage-snapshot.sh"
,
"validate-spacers"
:
"hardhat validate-spacers"
,
"validate-spacers"
:
"hardhat validate-spacers"
,
"slither"
:
"./scripts/slither.sh"
,
"slither"
:
"./scripts/slither.sh"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment