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: upstream 59f354c commits #809

Merged
merged 83 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
83 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
0e882cb
Merge commit '59f354c179f4e7f6d7292acb3d068815c79286d1' of github.com…
elfedy Jan 6, 2025
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
Prev Previous commit
Next Next commit
Revert "feat: remove ethers" (#9411)
Revert "feat: remove ethers (#8826)"

This reverts commit d739704.
  • Loading branch information
grandizzy authored Nov 26, 2024
commit 958c713e2fd343c0e84d3f7adda6b8ef9aa42eeb
216 changes: 216 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ revm = { version = "18.0.0", default-features = false }
revm-primitives = { version = "14.0.0", default-features = false }
revm-inspectors = { version = "0.11.0", features = ["serde"] }

## ethers
ethers-contract-abigen = { version = "2.0.14", default-features = false }

## alloy
alloy-consensus = { version = "0.6.4", default-features = false }
alloy-contract = { version = "0.6.4", default-features = false }
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you're experiencing any issues while installing, check out [Getting Help](#ge

### How Fast?

Forge is quite fast at both compiling (leveraging [foundry-compilers]) and testing.
Forge is quite fast at both compiling (leveraging [ethers-solc]) and testing.

See the benchmarks below. More benchmarks can be found in the [v0.2.0 announcement post][benchmark-post] and in the [Convex Shutdown Simulation][convex] repository.

Expand Down Expand Up @@ -127,15 +127,14 @@ If you want to contribute, or follow along with contributor discussion, you can
## Acknowledgements

- Foundry is a clean-room rewrite of the testing framework [DappTools](https://github.com/dapphub/dapptools). None of this would have been possible without the DappHub team's work over the years.
- [Matthias Seitz](https://twitter.com/mattsse_): Created [ethers-solc] (now [foundry-compilers]) which is the backbone of our compilation pipeline, as well as countless contributions to ethers, in particular the `abigen` macros.
- [Matthias Seitz](https://twitter.com/mattsse_): Created [ethers-solc] which is the backbone of our compilation pipeline, as well as countless contributions to ethers, in particular the `abigen` macros.
- [Rohit Narurkar](https://twitter.com/rohitnarurkar): Created the Rust Solidity version manager [svm-rs](https://github.com/roynalnaruto/svm-rs) which we use to auto-detect and manage multiple Solidity versions.
- [Brock Elmore](https://twitter.com/brockjelmore): For extending the VM's cheatcodes and implementing [structured call tracing](https://github.com/foundry-rs/foundry/pull/192), a critical feature for debugging smart contract calls.
- All the other [contributors](https://github.com/foundry-rs/foundry/graphs/contributors) to the [ethers-rs](https://github.com/gakonst/ethers-rs) & [foundry](https://github.com/foundry-rs/foundry) repositories and chatrooms.

[foundry-book]: https://book.getfoundry.sh
[foundry-gha]: https://github.com/foundry-rs/foundry-toolchain
[ethers-solc]: https://github.com/gakonst/ethers-rs/tree/master/ethers-solc/
[foundry-compilers]: https://github.com/foundry-rs/foundry-compilers
[solmate]: https://github.com/transmissions11/solmate/
[geb]: https://github.com/reflexer-labs/geb
[vaults]: https://github.com/rari-capital/vaults
Expand Down
2 changes: 2 additions & 0 deletions crates/forge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ foundry-wallets.workspace = true
foundry-linking.workspace = true
forge-script-sequence.workspace = true

ethers-contract-abigen = { workspace = true, features = ["providers"] }

revm-inspectors.workspace = true

comfy-table.workspace = true
Expand Down
Loading