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
045d51b3
Commit
045d51b3
authored
May 03, 2023
by
Joshua Gutow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update differential testing script to geth 1.11.6
parent
0706f729
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
differential-testing.go
...rock/scripts/differential-testing/differential-testing.go
+2
-2
No files found.
packages/contracts-bedrock/scripts/differential-testing/differential-testing.go
View file @
045d51b3
...
@@ -266,7 +266,7 @@ func main() {
...
@@ -266,7 +266,7 @@ func main() {
checkErr
(
err
,
"Error creating secure trie"
)
checkErr
(
err
,
"Error creating secure trie"
)
// Put a "true" bool in the storage slot
// Put a "true" bool in the storage slot
state
.
Update
(
hash
.
Bytes
(),
[]
byte
{
0x01
})
state
.
Update
Storage
(
common
.
Address
{},
hash
.
Bytes
(),
[]
byte
{
0x01
})
// Create a secure trie for the world state
// Create a secure trie for the world state
world
,
err
:=
trie
.
NewStateTrie
(
world
,
err
:=
trie
.
NewStateTrie
(
...
@@ -283,7 +283,7 @@ func main() {
...
@@ -283,7 +283,7 @@ func main() {
}
}
writer
:=
new
(
bytes
.
Buffer
)
writer
:=
new
(
bytes
.
Buffer
)
checkErr
(
account
.
EncodeRLP
(
writer
),
"Error encoding account"
)
checkErr
(
account
.
EncodeRLP
(
writer
),
"Error encoding account"
)
world
.
Update
(
predeploys
.
L2ToL1MessagePasserAddr
.
Bytes
(),
writer
.
Bytes
())
world
.
Update
Storage
(
common
.
Address
{},
predeploys
.
L2ToL1MessagePasserAddr
.
Bytes
(),
writer
.
Bytes
())
// Get the proof
// Get the proof
var
proof
proofList
var
proof
proofList
...
...
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