Skip to content
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

chore: sync with upstream fef2098 #769

Merged
merged 71 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
bcdd514
fix(forge): fix stack overflow when the lib path is absolute. (#9190)
l1nxy Nov 7, 2024
10a8e88
fix(remappings): ignore remappings of root proj dirs when merging (#9…
grandizzy Nov 7, 2024
adaad3d
feat(`cheatcodes`): mockCall with bytes4 data (#9267)
yash-atreya Nov 7, 2024
c4a31a6
feat: update to Soldeer v0.5.0 (#9281)
mario-eth Nov 7, 2024
f3376a6
fix(`forge test`): record only test fns in test failures (#9286)
grandizzy Nov 8, 2024
91d3349
fix(coverage): do not report empty constructors, enable reports for `…
grandizzy Nov 9, 2024
bb545b1
Make fs read cheatcodes views (#9289)
iainnash Nov 9, 2024
48abbd9
chore: fix clippy (#9291)
grandizzy Nov 9, 2024
9df5939
feat(anvil): add `anvil_getIntervalMining` API (#9290)
feynman-x Nov 9, 2024
d2f92bc
chore(`common::shell`): finish implementation + enforce in `clippy` …
zerosnacks Nov 9, 2024
896794a
chore: typo anvil_getIntervalMing -> anvil_getIntervalMining (#9292)
grandizzy Nov 9, 2024
765969d
chore(deps): weekly `cargo update` (#9293)
github-actions[bot] Nov 10, 2024
e028b92
fix(trace): check fn sigs for contract with fallbacks (#9287)
grandizzy Nov 10, 2024
b7fe62e
fix: use regular `println` in internal test utils to avoid interferin…
zerosnacks Nov 11, 2024
8c01706
feat(`cast run`): add `--etherscan-api-key` to resolve contract nam…
grandizzy Nov 11, 2024
f8d9234
feat(cast): add artifact method (#9249)
pawurb Nov 11, 2024
4817280
fix(fork): set block blob_excess_gas_and_price only if `excess_blob_g…
grandizzy Nov 11, 2024
22cf683
feat(`common::shell`): add global verbosity level (`-vvv`) flag repla…
zerosnacks Nov 13, 2024
40fc54e
chore: do not trim decoded generic custom error (#9309)
grandizzy Nov 13, 2024
54ea38d
fix(forge): always report deployment size in gas reports (#9308)
grandizzy Nov 13, 2024
4304926
fix(`ci`): update cargo deny (#9314)
zerosnacks Nov 13, 2024
78d263a
feat: Update to soldeer 0.5.1 (#9315)
mario-eth Nov 13, 2024
31c24b0
chore: update soldeer-core dependency (#9316)
beeb Nov 13, 2024
a65a5b1
fix(`forge eip712`): handle recursive types (#9319)
klkvr Nov 14, 2024
36cbce7
feat(forge): allow `--verifier custom` option (#9311)
grandizzy Nov 14, 2024
c526cab
feat(`cheatcodes`): add `delegatecall` to `prank`ing (#8863)
tsnewnami Nov 15, 2024
9d7557f
feat(forge build): err if no source file in specified paths (#9329)
grandizzy Nov 15, 2024
a79dfae
feat(`forge build`): add `--sizes` and `--names` JSON compatibility (…
zerosnacks Nov 15, 2024
3eb47ea
chore: fix clippy (#9333)
grandizzy Nov 16, 2024
d14c09f
test: enhance tests (#9334)
mattsse Nov 16, 2024
e649e62
chore(deps): weekly `cargo update` (#9336)
github-actions[bot] Nov 17, 2024
44c86e7
chore: fix getArtifactPath flaky test (#9339)
grandizzy Nov 18, 2024
d275a49
fix(cast storage): respect `--json` for layout (#9332)
MaxMustermann2 Nov 18, 2024
60dd1d7
feat(`config`): set default evm version to cancun (#9131)
grandizzy Nov 18, 2024
550ebd8
chore: update test values to cancun (#9344)
grandizzy Nov 18, 2024
7e323c2
feat(`forge build -vvvvv`): If verbosity level is 5 or higher show fi…
mgiagante Nov 18, 2024
6625e16
chore: add some more debugging to forge bind (#9345)
DaniPopes Nov 18, 2024
547d8a5
feat: compilation restrictions (#8668)
klkvr Nov 18, 2024
c13d42e
fix: identification of contracts in scripts (#9346)
klkvr Nov 18, 2024
dacf341
fix(`coverage`): allow `ir-minimum` for versions < 0.8.5 (#9341)
grandizzy Nov 19, 2024
25b317a
chore: don't color error message in red (#9352)
DaniPopes Nov 19, 2024
19249c3
chore: remove redundant 'setup failed' in setup errors (#9354)
DaniPopes Nov 19, 2024
9b49082
chore: make environment variable error nicer (#9353)
DaniPopes Nov 19, 2024
9f0c26d
test: update external forge-std (#9356)
DaniPopes Nov 19, 2024
7538c4e
chore(ci): archive endpoints config (#9348)
grandizzy Nov 19, 2024
4648d5c
chore: pick provider urls by next index (#9359)
grandizzy Nov 20, 2024
d20c142
fix: correct shell substitution in installer (#9351)
mdqst Nov 20, 2024
e577693
chore: TestSetup cleanup (#9355)
DaniPopes Nov 20, 2024
3a95440
chore(ci): proper read of archive nodes (#9362)
grandizzy Nov 20, 2024
999cc1b
chore(test-utils): simplify next calls (#9361)
DaniPopes Nov 20, 2024
2a194bd
Support EIP-7702 Delegations in Forge (#9236)
evchip Nov 20, 2024
b9ee7de
chore(deps): bump foundry-compilers 0.12.2 (#9364)
DaniPopes Nov 20, 2024
622f922
feat: rename `ShellOtps` to `GlobalOpts` (#9313)
zerosnacks Nov 20, 2024
fb5f0e1
chore(deps): bump foundry-compilers 0.12.3 (#9368)
grandizzy Nov 20, 2024
25cc1ac
chore(deps): bump alloy 0.6.4 (#9280)
yash-atreya Nov 20, 2024
057c8ac
feat(`anvil`): `--cache-path` (#9343)
yash-atreya Nov 21, 2024
9504f78
chore: rm flaky cache-path test (#9372)
yash-atreya Nov 21, 2024
fef2098
feat: add global -j, --threads (#9367)
DaniPopes Nov 21, 2024
dbf3adb
Merge remote-tracking branch 'foundry-rs/master' into upstream-fef209…
Karrq Nov 21, 2024
2af15c1
Merge pull request #736 from matter-labs/upstream-fef2098-merge-confl…
Karrq Nov 25, 2024
6c7935c
chore: fix build for upstream-fef2098 (#754)
Karrq Dec 3, 2024
80b4158
Merge remote-tracking branch 'origin/main' into upstream-fef2098-main…
Karrq Dec 3, 2024
fc19cbb
feat: upgrade to alloy-zksync 0.6.1
Karrq Dec 4, 2024
aca67aa
chore: deprecation lints
Karrq Dec 4, 2024
aa1ac7a
Merge remote-tracking branch 'origin/main' into upstream-fef2098-main…
Karrq Dec 4, 2024
c72a44d
fix: lints
Karrq Dec 4, 2024
2f39898
chore: update `Vm.sol`
Karrq Dec 4, 2024
f9f30e3
fix(ci): hosted runner for crate-checks job
Karrq Dec 4, 2024
6c1c4ba
Merge pull request #768 from matter-labs/upstream-fef2098-main-update
Karrq Dec 5, 2024
1946733
Merge branch 'main' into upstream-fef2098
Karrq Dec 5, 2024
64ce565
chore(ci): ignore `net2` advisory
Karrq Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/nextest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,6 @@ jobs:
- name: Test
env:
SVM_TARGET_PLATFORM: ${{ matrix.svm_target_platform }}
HTTP_ARCHIVE_URLS: ${{ secrets.HTTP_ARCHIVE_URLS }}
WS_ARCHIVE_URLS: ${{ secrets.WS_ARCHIVE_URLS }}
run: cargo nextest run ${{ matrix.flags }}
24 changes: 15 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- main
- "*upstream*"
pull_request:
branches:
- main
- "*upstream*"

concurrency:
cancel-in-progress: true
Expand All @@ -24,7 +26,7 @@ jobs:
secrets: inherit

doctest:
runs-on: ubuntu-22.04-github-hosted-16core
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +41,7 @@ jobs:

clippy:
name: clippy
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +54,7 @@ jobs:
RUSTFLAGS: -Dwarnings

rustfmt:
runs-on: ubuntu-22.04-github-hosted-16core
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -63,7 +65,7 @@ jobs:
- run: cargo fmt --all --check

forge-fmt:
runs-on: ubuntu-22.04-github-hosted-16core
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -78,7 +80,7 @@ jobs:
run: ./.github/scripts/format.sh --check

codespell:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand All @@ -87,6 +89,7 @@ jobs:
skip: "*.json"

crate-checks:
# ubuntu-22.04 runs out of disk space
runs-on: ubuntu-22.04-github-hosted-16core
timeout-minutes: 60
steps:
Expand All @@ -102,7 +105,7 @@ jobs:
run: cargo hack check

zk-cargo-test:
runs-on: ubuntu-22.04-github-hosted-16core
runs-on: ubuntu-22.04

steps:
- name: Checkout code
Expand All @@ -128,18 +131,21 @@ jobs:
logFilePath: era_test_node.log
target: x86_64-unknown-linux-gnu
releaseTag: v0.1.0-alpha.29

- name: Setup Git config
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
git config --global url."https://github.com/".insteadOf "[email protected]:"
- name: Run zk tests
env:
RUST_BACKTRACE: full
TEST_MAINNET_URL: http://localhost:8011
run: |
git config --global user.name "test-runner"
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~zk)'

check-ci-install:
name: CI install
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install foundry-zksync
Expand Down
Loading
Loading