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: use foundry-cheatcodes implementations #6131

Merged
merged 65 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
b033269
feat: use `foundry-cheatcodes` in `foundry-evm`
DaniPopes Oct 26, 2023
e7df61c
fix: deps
DaniPopes Oct 26, 2023
8ac41c7
docs: retire `foundry-abi`
DaniPopes Oct 26, 2023
7183cf7
chore: refactor profiles
DaniPopes Oct 26, 2023
665ea5a
docs: obsolete -> deprecated
DaniPopes Oct 26, 2023
ee112b2
fix: fs tests
DaniPopes Oct 26, 2023
37b660a
fix: repro 5808
DaniPopes Oct 26, 2023
10211b4
fix: implement `rpc` and `eth_getLogs`
DaniPopes Oct 26, 2023
7ff109d
fix: int test
DaniPopes Oct 26, 2023
df9426a
chore: reorder EthGetLogs struct fields
DaniPopes Oct 26, 2023
55a8edb
chore: update JSON
DaniPopes Oct 26, 2023
1249038
docs: update dev docs and cheatcodes README
DaniPopes Oct 26, 2023
54a15e4
chore: rename magic bytes constants
DaniPopes Oct 26, 2023
709401c
fix: Error ABI encoding
DaniPopes Oct 27, 2023
91a7e48
fix: ABI-encode Error as `CheatCodeError(string)`
DaniPopes Oct 27, 2023
13c467d
chore: remove bad re-export
DaniPopes Oct 27, 2023
9a0aad8
test: update script panic message
DaniPopes Oct 27, 2023
f0eca5d
fix: broadcast origin and caller
DaniPopes Oct 27, 2023
2bba499
test: update some test messages
DaniPopes Oct 27, 2023
018580f
test: add more debug
DaniPopes Oct 27, 2023
74926a2
test: don't run commands twice...
DaniPopes Oct 27, 2023
a662a23
chore: clippy
DaniPopes Oct 27, 2023
d0c5b86
fix: tracing-subscriber features
DaniPopes Oct 27, 2023
e5defcf
fix: re-disable color
DaniPopes Oct 27, 2023
b30f49f
fixes
DaniPopes Oct 27, 2023
7be945a
chore: clippy
DaniPopes Oct 27, 2023
c7096a1
fix: error encoding
DaniPopes Oct 27, 2023
1b20006
feat: auto generate solidity interface
DaniPopes Oct 28, 2023
8df2988
opts
DaniPopes Oct 28, 2023
f03ff3b
ci: fix forge-fmt
DaniPopes Oct 30, 2023
96e1ef5
feat: re-implement `cool`
DaniPopes Oct 30, 2023
04caeac
fix: FfiResult exit_code->exitCode
DaniPopes Oct 30, 2023
e7bd8c7
chore: update
DaniPopes Oct 30, 2023
64eed10
Merge branch 'master' into alloy-cheatcodes4
DaniPopes Oct 30, 2023
2b679ff
fix: scripting expects
DaniPopes Oct 30, 2023
670c3f3
fix: rename test output methods
DaniPopes Oct 30, 2023
de21ea6
test: update expect msgs
DaniPopes Oct 30, 2023
d69e39b
chore: update broadcast staticcall error message
DaniPopes Oct 30, 2023
ed93c1f
chore: only expand `#[vm]` macro in `cfg(test)`
DaniPopes Oct 30, 2023
79975ff
test: update precompile error msg
DaniPopes Oct 30, 2023
07e265a
test: update env tests
DaniPopes Oct 30, 2023
42753fa
fix: expectCall value gt 0
DaniPopes Oct 30, 2023
1df33b5
fix: fs error messages
DaniPopes Oct 30, 2023
75a4127
fix: rm huff abi test
DaniPopes Oct 30, 2023
4e487e4
fix: forge fmt
DaniPopes Oct 30, 2023
a3d271a
fix: JSON coerce error msg
DaniPopes Oct 30, 2023
2c3fe89
fix: JSON non-object error message
DaniPopes Oct 30, 2023
f8ed465
chore: random stuff
DaniPopes Oct 30, 2023
85a66b4
tmp: comment out sleep fuzz test
DaniPopes Oct 30, 2023
54000c3
chore: mark generated files in .gitattributes
DaniPopes Oct 30, 2023
db99a1c
chore: uncapitalize an error msg
DaniPopes Oct 30, 2023
c765167
fix: use BTreeMap for serialized JSONs
DaniPopes Oct 30, 2023
362c22d
chore: better tracing
DaniPopes Oct 31, 2023
d06838b
fix: properly serialize JSON arrays
DaniPopes Oct 31, 2023
c855ed6
fix: missing rpc url error message
DaniPopes Oct 31, 2023
fba652c
fix: mock calls
DaniPopes Oct 31, 2023
126eaa3
chore: clippy
DaniPopes Oct 31, 2023
35a49ce
Merge branch 'master' into alloy-cheatcodes4
DaniPopes Oct 31, 2023
28a62fa
fix: update broadcast sender nonce, not CREATE2 deployer
DaniPopes Oct 31, 2023
3a4807b
chore: use trace! for verbose cheatcode logs
DaniPopes Oct 31, 2023
beaad60
feat: extend schema to include other items
DaniPopes Oct 31, 2023
cee8c7e
feat: generate Vm from expanded interface
DaniPopes Oct 31, 2023
fc3596c
chore: clippy
DaniPopes Oct 31, 2023
d250410
fix: use forge-std pr
DaniPopes Oct 31, 2023
d42cf07
fix: use forge-std master
DaniPopes Oct 31, 2023
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 .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
**/*.sol linguist-language=Solidity

crates/abi/src/bindings/*.rs linguist-generated
crates/cheatcodes/assets/*.json linguist-generated
testdata/cheats/Vm.sol linguist-generated
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,12 @@ jobs:
with:
cache-on-failure: true
- name: forge fmt
run: cargo run --bin forge -- fmt --check testdata/
shell: bash
# We have to ignore at shell level because testdata/ is not a valid Foundry project,
# so running `forge fmt` with `--root testdata` won't actually check anything
run: |
shopt -s extglob
cargo run --bin forge -- fmt --check testdata/**/!(Vm).sol

feature-checks:
name: feature checks
Expand Down
Loading
Loading