-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat: L3 support #437
base: main
Are you sure you want to change the base?
feat: L3 support #437
Changes from all commits
8949443
abc808e
a49e209
0d6168e
76bc944
75229a4
661cd33
62fb337
d4aa988
a4314be
9dea223
fafd2c3
aa7834e
6c1ff95
26c9319
2a19391
8abf999
749df1c
b63cf61
c837570
1d4d3a4
fffd9dd
71c5524
62d1df3
79ef5ab
8657da3
7afd1a3
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 |
---|---|---|
|
@@ -20,6 +20,24 @@ jobs: | |
- uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Launch Anvil | ||
run: anvil --fork-url $ANVIL_FORK_URL --fork-block-number $ANVIL_BLOCK_NUMBER & | ||
env: | ||
ANVIL_FORK_URL: "https://eth.merkle.io" | ||
ANVIL_BLOCK_NUMBER: 20395662 | ||
- name: Wait for Anvil to be ready | ||
run: | | ||
while ! nc -z localhost 8545; do | ||
sleep 1 | ||
done | ||
Comment on lines
+23
to
+32
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. Are we sure this is necessary? If I remember the rust unit tests should start anvil anyway no? |
||
# TODO : For now madara binary is stored in aws s3 bucket : | ||
# After the proper release binaries are implemented | ||
# We can directly use that and we can remove this | ||
# temporary AWS implementation | ||
- name: Download madara binary for l2 client testing | ||
run: | | ||
curl -L https://madara-test-binary.s3.us-west-1.amazonaws.com/madara-linux -o ./test-artifacts/madara | ||
chmod +x ./test-artifacts/madara | ||
Comment on lines
+37
to
+40
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. ditto |
||
|
||
- name: Run unit tests | ||
run: | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
## Next release | ||
|
||
- fix(primitives): limit legacy class sizes | ||
- feat : l3 support | ||
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. you can remove it |
||
- fix(block_production): dynamic block closing now adds special address with prev block hash | ||
- fix(rpc): call, simulate, estimate rpcs executed on top of the block, not at the start of it | ||
- fix(compilation): crate-level compilation | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
[workspace] | ||
members = [ | ||
# madara | ||
"crates/madara/client/db", | ||
"crates/madara/client/exec", | ||
"crates/madara/client/sync", | ||
"crates/madara/client/eth", | ||
"crates/madara/client/settlement_client", | ||
"crates/madara/client/rpc", | ||
"crates/madara/client/gateway/client", | ||
"crates/madara/client/gateway/server", | ||
|
@@ -31,11 +30,10 @@ members = [ | |
resolver = "2" | ||
# Everything except test-related packages, so that they are not compiled when doing `cargo build`. | ||
default-members = [ | ||
# madara | ||
"crates/madara/client/db", | ||
"crates/madara/client/exec", | ||
"crates/madara/client/sync", | ||
"crates/madara/client/eth", | ||
"crates/madara/client/settlement_client", | ||
"crates/madara/client/gateway/client", | ||
"crates/madara/client/gateway/server", | ||
"crates/madara/client/rpc", | ||
|
@@ -129,7 +127,7 @@ mc-rpc = { path = "crates/madara/client/rpc" } | |
mc-gateway-client = { path = "crates/madara/client/gateway/client" } | ||
mc-gateway-server = { path = "crates/madara/client/gateway/server" } | ||
mc-sync = { path = "crates/madara/client/sync" } | ||
mc-eth = { path = "crates/madara/client/eth" } | ||
mc-settlement-client = { path = "crates/madara/client/settlement_client" } | ||
mc-mempool = { path = "crates/madara/client/mempool" } | ||
mc-block-production = { path = "crates/madara/client/block_production" } | ||
mc-block-import = { path = "crates/madara/client/block_import" } | ||
|
@@ -247,6 +245,7 @@ proptest-state-machine = "0.3.1" | |
tempfile = "3.10.1" | ||
httpmock = "0.7.0" | ||
mockall = "0.13.0" | ||
serial_test = "3.1.1" | ||
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. Ditto |
||
fdlimit = "0.3.0" | ||
assert_matches = "1.5" | ||
|
||
|
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.
Why are we downloading a madara binary for testing instead of running against a build of the code in the pr?