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
04114512
Unverified
Commit
04114512
authored
Mar 07, 2023
by
Adrian Sutton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devnet: Enable Regolith from genesis when deploying the local devnet
op-e2e: Add test to reproduce eth_getLogs failure
parent
759c0b29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
op_geth_test.go
op-e2e/op_geth_test.go
+7
-0
devnetL1.json
packages/contracts-bedrock/deploy-config/devnetL1.json
+2
-1
No files found.
op-e2e/op_geth_test.go
View file @
04114512
...
...
@@ -8,6 +8,7 @@ import (
"github.com/ethereum-optimism/optimism/op-node/eth"
"github.com/ethereum-optimism/optimism/op-node/rollup/derive"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
...
...
@@ -371,6 +372,12 @@ func TestRegolith(t *testing.T) {
tx
,
_
,
err
:=
opGeth
.
L2Client
.
TransactionByHash
(
ctx
,
contractCreateTx
.
Hash
())
require
.
NoError
(
t
,
err
)
require
.
Equal
(
t
,
expectedNonce
,
*
tx
.
EffectiveNonce
(),
"should report actual tx nonce"
)
// Should be able to search for logs even though there are deposit transactions in blocks.
logs
,
err
:=
opGeth
.
L2Client
.
FilterLogs
(
ctx
,
ethereum
.
FilterQuery
{})
require
.
NoError
(
t
,
err
)
require
.
NotNil
(
t
,
logs
)
require
.
Empty
(
t
,
logs
)
})
t
.
Run
(
"ReturnUnusedGasToPool_"
+
test
.
name
,
func
(
t
*
testing
.
T
)
{
...
...
packages/contracts-bedrock/deploy-config/devnetL1.json
View file @
04114512
...
...
@@ -33,5 +33,6 @@
"eip1559Denominator"
:
8
,
"eip1559Elasticity"
:
2
,
"l1GenesisBlockTimestamp"
:
"0x638a4554"
,
"l1StartingBlockTag"
:
"earliest"
"l1StartingBlockTag"
:
"earliest"
,
"l2GenesisRegolithTimeOffset"
:
"0x0"
}
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