-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: ban deposits client tests #11504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
3930c36
09411d3
cf45524
a931a24
5c828e0
eaa1914
0c2f93e
3c4daaa
b9073b6
d66f03d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ package derive | |
| import ( | ||
| "testing" | ||
|
|
||
| "github.com/ethereum/go-ethereum/common" | ||
| "github.com/stretchr/testify/assert" | ||
| ) | ||
|
|
||
|
|
@@ -34,3 +35,17 @@ func TestEcotone4788ContractSourceHash(t *testing.T) { | |
|
|
||
| assert.Equal(t, expected, actual.Hex()) | ||
| } | ||
|
|
||
| // TestAfterForceIncludeSourceHash | ||
| // cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000003 $(cast keccak 0x01)) | ||
| // # 0x8afb1c4a581d0e71ab65334e3365ba5511fb15c13fa212776f9d4dafc6287845 | ||
| func TestAfterForceIncludeSource(t *testing.T) { | ||
| source := AfterForceIncludeSource{ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: this name is not consistent, its after force include, which iirc we moved away from
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we agreed to go with |
||
| L1BlockHash: common.Hash{0x01}, | ||
| } | ||
|
|
||
| actual := source.SourceHash() | ||
| expected := "0x8afb1c4a581d0e71ab65334e3365ba5511fb15c13fa212776f9d4dafc6287845" | ||
|
|
||
| assert.Equal(t, expected, actual.Hex()) | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bedrock, Canyon, Fjord, Granite are missing