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
5b9728d3
Commit
5b9728d3
authored
Mar 10, 2023
by
clabby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
5bd1f463
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.gitignore
packages/contracts-bedrock/.gitignore
+2
-0
differential-testing.go
...rock/scripts/differential-testing/differential-testing.go
+2
-2
No files found.
packages/contracts-bedrock/.gitignore
View file @
5b9728d3
...
@@ -11,3 +11,5 @@ tmp-artifacts
...
@@ -11,3 +11,5 @@ tmp-artifacts
deployments/mainnet-forked
deployments/mainnet-forked
deploy-config/mainnet-forked.json
deploy-config/mainnet-forked.json
test-case-generator/fuzz
test-case-generator/fuzz
.resource-metering.csv
scripts/differential-testing/differential-testing
packages/contracts-bedrock/scripts/differential-testing/differential-testing.go
View file @
5b9728d3
...
@@ -103,7 +103,7 @@ func main() {
...
@@ -103,7 +103,7 @@ func main() {
checkOk
(
ok
)
checkOk
(
ok
)
gasLimit
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
args
[
5
],
10
)
gasLimit
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
args
[
5
],
10
)
checkOk
(
ok
)
checkOk
(
ok
)
data
:=
common
.
Hex2Bytes
(
args
[
6
][
2
:
])
data
:=
common
.
FromHex
(
args
[
6
])
// Encode cross domain message
// Encode cross domain message
encoded
,
err
:=
encodeCrossDomainMessage
(
nonce
,
sender
,
target
,
value
,
gasLimit
,
data
)
encoded
,
err
:=
encodeCrossDomainMessage
(
nonce
,
sender
,
target
,
value
,
gasLimit
,
data
)
...
@@ -125,7 +125,7 @@ func main() {
...
@@ -125,7 +125,7 @@ func main() {
checkOk
(
ok
)
checkOk
(
ok
)
gasLimit
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
args
[
5
],
10
)
gasLimit
,
ok
:=
new
(
big
.
Int
)
.
SetString
(
args
[
5
],
10
)
checkOk
(
ok
)
checkOk
(
ok
)
data
:=
common
.
Hex2Bytes
(
args
[
6
][
2
:
])
data
:=
common
.
FromHex
(
args
[
6
])
// Encode cross domain message
// Encode cross domain message
encoded
,
err
:=
encodeCrossDomainMessage
(
nonce
,
sender
,
target
,
value
,
gasLimit
,
data
)
encoded
,
err
:=
encodeCrossDomainMessage
(
nonce
,
sender
,
target
,
value
,
gasLimit
,
data
)
...
...
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