forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from foundry-rs:master #141
Open
pull
wants to merge
1,657
commits into
0xinit:master
Choose a base branch
from
foundry-rs:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore(deps): pin alloy 0.1.1 * bump revm and apply patch
* implemented latest_block dump/load * update to dump/load all blocks instead of only latest * refactored state loading into storage.rs, and added load-dump cycle test * fix clippy errors for anvil * remove SerializableHeader and use Header (now serializable) * clippy happy --------- Co-authored-by: Matthias Seitz <[email protected]>
* feat(invariant): add excludeSelectors() filter * Apply suggestions from code review Co-authored-by: DaniPopes <[email protected]> * Review changes: shorter err message --------- Co-authored-by: DaniPopes <[email protected]>
* fix(cheatcodes): handle delegatecalls in vm.mockCalls using `bytecode_address` * add: repro test * nit: forge fmt
Co-authored-by: Pawel Peregud <[email protected]>
…rmat. (#8195) * feat(cast): support readable time for cast block * fix: remove `time` * Update crates/common/src/fmt/ui.rs * fmt --------- Co-authored-by: fenghaojiang <[email protected]> Co-authored-by: DaniPopes <[email protected]>
* update to use anvil rpc types Co-authored-by: moricho <[email protected]> * remove redundant types * use Index from Alloy * update rev * switch to use alloy-rpc-types-anvil patch * use Index from `alloy_rpc_types_eth` instead of duplicate implementation in `alloy_rpc_types_anvil` * use Index from rpc_types * move namespaced imports of rpc-types-* to rpc-types metacrate * make sure to enable "eth" namespace because default features are not enabled --------- Co-authored-by: moricho <[email protected]>
* remove patch, update to `0.1.2`, marking `0.1.*` for flexibility * revert `0.1.*`, pin to `0.1.2`
* chore: consolidate TestResult logic * Update crates/forge/src/result.rs Co-authored-by: DaniPopes <[email protected]> * Changes after review: pass by value --------- Co-authored-by: DaniPopes <[email protected]>
* feat: add --no-request-size-limit option to anvil * chore: flip logic, fmt, improve cli help * nit --------- Co-authored-by: DaniPopes <[email protected]>
* chore: fix more clippy * chore: missing lints.workspace * docs
…ture (#8561) * feat(forge): add `eventIdentifiers` to `forge inspect` * chore: remove quotes from output * fix: test * fix: output 32 bytes of the event identifier * fix: add back `0x` prefix * chore: modify forge inspect <contract> events instead of implementing a new cmd
fix(coverage): recognize if/else statements without brackets
chore: bump forge-std version used for tests Co-authored-by: DaniPopes <[email protected]>
#8612) * add T-needs-triage labels * fix regression
* wip * fix * fix sign * fix --------- Co-authored-by: Matthias Seitz <[email protected]>
* feat(`cast interface`): allow retrieving abi from contract name * fix: cast tests * test: add test that fetches weth interface from etherscan * Revert "fix: cast tests" This reverts commit c0ec3e9. * fix: cast tests on macos --------- Co-authored-by: Matthias Seitz <[email protected]>
* fix(coverage): use first opcode for if block anchor * Better naming
chore(coverage): remove SinglePathBranch kind, use Branch with first opcode
* add call json flag * update json param to option * address comments
* First doc --watch implementation * refactored doc watch implementation * Removed static paths * fix fmt * Update crates/forge/bin/cmd/watch.rs Co-authored-by: zerosnacks <[email protected]> * Update crates/forge/bin/cmd/watch.rs Co-authored-by: zerosnacks <[email protected]> * Update crates/forge/bin/cmd/doc/mod.rs Co-authored-by: zerosnacks <[email protected]> * Update crates/forge/bin/cmd/watch.rs Co-authored-by: zerosnacks <[email protected]> * removed unnecessary clones * chore: nits --------- Co-authored-by: zerosnacks <[email protected]> Co-authored-by: DaniPopes <[email protected]>
…uring deployment (#8625) * add Mandala & Karura & Acala * update alloy-chains * fix
* eth_getBlockReceipts using BlockID * fix block receipt * Update crates/anvil/src/eth/backend/mem/mod.rs Co-authored-by: zerosnacks <[email protected]> * Update crates/anvil/src/eth/api.rs Co-authored-by: zerosnacks <[email protected]> * code review --------- Co-authored-by: joaocosta9 <[email protected]> Co-authored-by: zerosnacks <[email protected]>
* fix(fmt): fix disable line for first / last block lines * Fix win spacing * Reuse visit_block in visit_fn * Fix win failure
fix(cast run): print custom revert Co-authored-by: Matthias Seitz <[email protected]>
…#8622) * feat(cheatcodes): add ability to set seed for `vm.randomUint()` * chore: move `vm.randomAddress` test to its own contract * feat(cheatcodes): add ability to set seed for `vm.randomAddress()` * feat: use global seed instead of introducing new cheatcodes * chore: clean up * chore: clean up tests * feat: add `fuzz.seed` as inline parameter in tests * chore: trim 0x prefix * chore: nit * test: update random tests * fix: inline parsing on fuzz seed * test: set seed and update random tests * chore: remove inline config for seed * chore: clean up * chore: clean up tests * test: remove deterministic tests from testdata * test: implement forgetest to test that forge test with a seed produces deterministic random values * test: fix tests * chore: clean up * test: remove seed * fix: clippy and forge-fmt * chore: clean up * chore: rename test contract * fix: lint * chore: move rng to state instead of creating a new one when calling `vm.random*` cheats * chore: nit * test: update tests * fix: clippy * chore: nit * chore: clean up * Update crates/cheatcodes/src/inspector.rs Co-authored-by: DaniPopes <[email protected]> * test: only check outputs are the same or different * chore: clean up * chore: nits --------- Co-authored-by: DaniPopes <[email protected]>
* extended JsonResult structure * removed breakpoints in JsonResult * chore: nits --------- Co-authored-by: DaniPopes <[email protected]>
* add auth parsing in RPC config * add comment explaining auth param * add missing field in test * fix formatting * fix formatting * fix failing test * fix failing test * undo wrong formatting * remove reminiscent ; * auth option as enum to be able to resolve env vars * add test for auth resolving and new field to resolved endpoint --------- Co-authored-by: zerosnacks <[email protected]> Co-authored-by: Matthias Seitz <[email protected]>
* initial fix * fix error * make script tests pass * Update crates/script/src/runner.rs Co-authored-by: Matthias Seitz <[email protected]> * Update crates/script/src/runner.rs Co-authored-by: Matthias Seitz <[email protected]> * Update crates/script/src/runner.rs Co-authored-by: Matthias Seitz <[email protected]> * change style --------- Co-authored-by: Matthias Seitz <[email protected]>
fix(fmt): write single param on multiline
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )