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

feat: sync with upstream 59f354c #792

Open
wants to merge 114 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
41b4359
feat: Update to soldeer 0.5.2 (#9373)
mario-eth Nov 21, 2024
2bc7125
fix: `vm.broadcastRawTransaction` (#9378)
klkvr Nov 22, 2024
76a2cb0
fix(forge test): install missing dependencies before creating `Projec…
klkvr Nov 22, 2024
1332b6d
chore(chisel): replace solang with solar in SolidityHelper (#9376)
DaniPopes Nov 22, 2024
cf66dea
fix(chisel): uint/int full word print (#9381)
grandizzy Nov 22, 2024
37cc284
fix: flaky test_broadcast_raw_create2_deployer (#9383)
yash-atreya Nov 22, 2024
8b7d5df
refactor(forge): rewrite `geiger` with Solar (#9382)
DaniPopes Nov 22, 2024
398ef4a
feat(forge, cast): add `cast --with_local_artifacts`/`forge selectors…
byteshijinn Nov 22, 2024
e5412ad
chore: use has_library_ancestor (#9387)
DaniPopes Nov 23, 2024
d14a7b4
chore(evm/traces): replace solang with Solar (#9386)
DaniPopes Nov 23, 2024
4923529
chore(deps): weekly `cargo update` (#9392)
github-actions[bot] Nov 24, 2024
cca72ab
fix: bail incomplete bytecode sequence disassemble (#9390)
publicqi Nov 25, 2024
66228e4
fix(forge create): install missing deps if any (#9401)
grandizzy Nov 25, 2024
eae5fb4
feat(forge): show additional details of contract to verify (#9403)
grandizzy Nov 25, 2024
de5e89c
fix: remove duplicate `gas_limit` / `block_gas_limit` field, declare …
zerosnacks Nov 25, 2024
672bdf6
fix(cheatcodes): use calldata in attachDelegation (#9407)
grandizzy Nov 25, 2024
995fd9e
chore(cheatcodes): enforce `calldata` in declaration (#9408)
DaniPopes Nov 25, 2024
d739704
feat: remove ethers (#8826)
DaniPopes Nov 26, 2024
958c713
Revert "feat: remove ethers" (#9411)
grandizzy Nov 26, 2024
0045384
fix: forge script should adhere to `--json` flag (#9404)
zerosnacks Nov 26, 2024
31dd1f7
feat(cast): add decode-event sig data (#9413)
grandizzy Nov 26, 2024
735b5eb
chore: fix 404 status URL (#9417)
wangjingcun Nov 27, 2024
2c3114c
feat: add `--broadcast` flag to forge create, default to dry run mode…
zerosnacks Nov 27, 2024
c63aba8
feat(`traces`): show state changes in `cast run` and `forge test` on …
cassc Nov 27, 2024
16a013f
feat(cast): decode external lib sigs from cached selectors (#9399)
grandizzy Nov 28, 2024
56d0dd8
feat: rewrite inline config using figment (#9414)
DaniPopes Nov 28, 2024
20905ef
chore: rename the arg name of EvmOpts from evm_opts to evm_args (#9424)
jsvisa Nov 28, 2024
27cabbd
Fix conditional syntax issue in macOS libusb check (#9384)
voronor Nov 28, 2024
2e9f536
feat: add timeouts to fuzz testing (#9394)
smartcontracts Nov 29, 2024
0d76df5
feat(`cast`): `decode-error` with sig, local cache and openchain api …
grandizzy Nov 29, 2024
0f7268f
feat(`cast`): `decode-event` with local and openchain API (#9431)
grandizzy Nov 29, 2024
fbbcc8c
chore: use alloy-chains' `is_arbitrum` (#9432)
zerosnacks Nov 29, 2024
af0fee2
feat: rpc_headers in cast and config (#9429)
yash-atreya Nov 29, 2024
4527475
fix: set user-agent header in runtime transport (#9434)
yash-atreya Nov 29, 2024
7f41280
feat(script): support custom create2 deployer (#9278)
jsvisa Nov 30, 2024
7a23a5c
fix(coverage): clean ups, use normalized source code for locations (#…
DaniPopes Nov 30, 2024
ac81a53
chore(deps): weekly `cargo update` (#9440)
github-actions[bot] Dec 1, 2024
168b239
fix(coverage): special functions have no name (#9441)
DaniPopes Dec 2, 2024
d4e91c8
feat(cast): allow some more stdin inputs (#9442)
DaniPopes Dec 2, 2024
8b8d1cd
chore(config): remove RootPath (#9448)
DaniPopes Dec 2, 2024
ddb19d0
chore(config): move providers into module (#9449)
DaniPopes Dec 2, 2024
c4d81b9
chore(deps): alloy 0.7 (#9447)
yash-atreya Dec 2, 2024
3e6d3b8
feat: allow any config to be defined inline (#9430)
DaniPopes Dec 2, 2024
7d0b0a0
chore(deps): bump foundry-compilers 0.12.4 (#9455)
DaniPopes Dec 2, 2024
b7a065f
perf(coverage): improve HitMap merging and internal repr (#9456)
DaniPopes Dec 2, 2024
d35fee6
perf(coverage): cache computed bytecode hash in CoverageCollector (#9…
DaniPopes Dec 2, 2024
ee9d237
fix(coverage): also ignore empty fallbacks and receives (#9459)
DaniPopes Dec 2, 2024
e5dbb7a
fix/feat(coverage): add --lcov-version (#9462)
DaniPopes Dec 2, 2024
7f8154c
chore: set --lcov-version default to 1 (#9463)
DaniPopes Dec 3, 2024
9af381f
fix(`anvil`): impl `maybe_as_full_db` for `ForkedDatabase` (#9465)
yash-atreya Dec 3, 2024
9ee6005
fix(coverage): assert should not be branch (#9467)
grandizzy Dec 3, 2024
ade4b35
fix(`forge`): run `dep.has_branch` in correct dir (#9453)
yash-atreya Dec 3, 2024
8ef1302
chore: fix test isolate (#9468)
grandizzy Dec 3, 2024
2f56133
feat: bump MSRV to 1.83 (#9473)
DaniPopes Dec 3, 2024
22202a7
perf(coverage): cache current HitMap, reserve when merging (#9469)
DaniPopes Dec 3, 2024
f9d8663
test: shuffle archive URLs (#9472)
DaniPopes Dec 3, 2024
805d7ce
docs: CoverageCollector comments (#9474)
DaniPopes Dec 3, 2024
3a1e76b
fix(`cli`): handle id and named chain_id's correctly (#9480)
yash-atreya Dec 4, 2024
8ac30d9
feat: dedup error messages (#9481)
DaniPopes Dec 4, 2024
2c9719e
chore(anvil): convert panics into errors (#9471)
DaniPopes Dec 4, 2024
25c978a
fix(remappings): project autoremappings should respect config (#9466)
grandizzy Dec 4, 2024
3784cd8
refactor: adapt to CompilerContract trait type (#9423)
elfedy Dec 4, 2024
75fc63b
chore(deps): bump foundry-compilers 0.12.6 (#9490)
DaniPopes Dec 4, 2024
ce9fca2
chore: rename alphanet to odyssey (#9491)
mattsse Dec 5, 2024
a4de7e8
feat: add JSON compatibility for `forge test --summary +/ --detailed`…
zerosnacks Dec 5, 2024
c161c7c
fix: force `prevrandao` on Moonbeam networks (#9489)
mattsse Dec 5, 2024
8c03318
chore(cast): upgrade evmole to 0.6.1, use new style API (#9493)
cdump Dec 5, 2024
e264381
chore: bump compilers 0.12.7 (#9498)
mattsse Dec 5, 2024
4f9f904
chore(deps): bump breaking deps (#9502)
DaniPopes Dec 5, 2024
43a033d
chore: improve Retry usage and warning (#9503)
DaniPopes Dec 5, 2024
92cd165
fix: restore lock version 3 (#9501)
DaniPopes Dec 5, 2024
e520767
chore(deps): remove async_recursion (#9500)
DaniPopes Dec 5, 2024
63484d0
feat(`cheatcodes`): count assertion for `expectRevert` (#9484)
yash-atreya Dec 6, 2024
00efa0d
feat(cheatcodes): add `vm.getStateDiff` to get state diffs as string …
grandizzy Dec 6, 2024
2e56b8f
fix(verify): cached artifacts by version (#9520)
grandizzy Dec 9, 2024
aa69ed1
ci: move deny to test (#9524)
DaniPopes Dec 9, 2024
fd9ee16
chore: bump alloy (#9496)
mattsse Dec 10, 2024
b090638
fix(cheatcodes): clear orderings together with trace steps on debug t…
grandizzy Dec 10, 2024
0eff1ef
feat(cheatcodes): skip test suite in setup (#9532)
grandizzy Dec 10, 2024
91030da
fix: mark flag incompatibility (#9530)
zerosnacks Dec 10, 2024
09894ef
chore(deps): weekly `cargo update` (#9533)
github-actions[bot] Dec 10, 2024
59f354c
fix(fuzz): exclude exernal libraries addresses from fuzz inputs (#9527)
grandizzy Dec 10, 2024
ff8f1a2
Merge commit '59f354c179f4e7f6d7292acb3d068815c79286d1' of github.com…
elfedy Dec 12, 2024
4721908
Merge branch 'main' into upstream-59f354c-merge
elfedy Dec 12, 2024
b8ee6fe
Merge branch 'main' into upstream-59f354c-merge
elfedy Dec 13, 2024
2798495
add zksync compilers libs
elfedy Dec 16, 2024
ddd361c
alloy 0.8 + some misc build errors
elfedy Dec 17, 2024
4a006a7
some warnings and some test compilation errors
elfedy Dec 18, 2024
5075fc1
Merge branch 'main' into upstream-59f354c-build
elfedy Dec 18, 2024
c259f15
adapt to zk_env
elfedy Dec 18, 2024
72f1520
testing wip
elfedy Dec 18, 2024
9e37759
make tests compile
elfedy Dec 18, 2024
94d263f
fix most clippy warnings
elfedy Dec 18, 2024
b6fc372
use released alloy-zksync
elfedy Dec 18, 2024
bde4b63
Add compilers integration tests
elfedy Dec 19, 2024
419506b
adapt gas test to new table layout
elfedy Dec 19, 2024
ededd23
bring back zk methods in testdata
elfedy Dec 19, 2024
d94c52b
update ci rust version
elfedy Dec 19, 2024
7f3aadb
fix: use verbosity 5 in tracing tests
elfedy Dec 20, 2024
824e42d
Merge branch 'main' into upstream-59f354c
elfedy Dec 20, 2024
a3c08f7
fix some typos
elfedy Dec 20, 2024
d2311c2
do not check against create2 deployer evm hash for zk
elfedy Dec 20, 2024
01da3d4
cargo cheats
elfedy Dec 20, 2024
c012874
update transact/inspect evm failure prompt
elfedy Dec 20, 2024
980b02d
Try bigger nextest timeout
elfedy Dec 20, 2024
bc75c6d
comment out invariant test
elfedy Dec 20, 2024
3b14a35
comment out bis
elfedy Dec 20, 2024
0e5ad05
Use lower default depth for zksync test config and revert slow-timeou…
elfedy Dec 20, 2024
d3cb0fc
Merge branch 'main' into upstream-59f354c
nbaztec Dec 23, 2024
e81fcec
Merge branch 'upstream-59f354c' of github.com:matter-labs/foundry-zks…
nbaztec Dec 23, 2024
f54949d
make test_helpers compile
elfedy Dec 24, 2024
6d12151
fix EVM error
elfedy Dec 24, 2024
c557dc8
bring back latest linking fixes
elfedy Dec 24, 2024
778786c
honey I deleted the wrong file
elfedy Dec 24, 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
26 changes: 0 additions & 26 deletions .github/workflows/deny.yml

This file was deleted.

13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
TARGET_RUST_VERSION: "nightly-2024-09-01"
TARGET_RUST_VERSION: "nightly-2024-09-05"

jobs:
nextest:
Expand Down Expand Up @@ -106,7 +106,6 @@ jobs:

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

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -145,6 +144,14 @@ jobs:
run: |
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=5 cargo nextest run --package '*' --lib --test '*' --filter-expr 'test(~zk) and not test(~test_zk_aave_di)'

deny:
uses: ithacaxyz/ci/.github/workflows/deny.yml@main
with:
# Clear out arguments to not pass `--all-features` to `cargo deny`.
# Many crates have an `openssl` feature which enables banned dependencies.
deny-flags: ""


check-ci-install:
name: CI install
runs-on: ubuntu-22.04
Expand All @@ -168,4 +175,4 @@ jobs:
./install-foundry-zksync

- name: Verify anvil-zksync installation
run: anvil-zksync --version
run: anvil-zksync --version
Loading
Loading