Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2146fc5
add vm.prank/startPrank/stopPrank support
alexggh Oct 2, 2025
51804f5
add prank testsuite
alexggh Oct 2, 2025
ad700fb
mocked functions working something
alexggh Oct 3, 2025
08e63fd
add support for mocks
alexggh Oct 7, 2025
aaa472f
add mock
alexggh Oct 8, 2025
f7145b4
remove unneeded changes
alexggh Oct 8, 2025
8608a99
remove unneeded file
alexggh Oct 8, 2025
50e8f43
compile against latest branch
alexggh Oct 20, 2025
0b39a22
rebased on master
alexggh Oct 20, 2025
4158429
Merge remote-tracking branch 'origin/master' into re_merge_prank
alexggh Oct 20, 2025
effbecb
add cheatcode testsuite
alexggh Oct 21, 2025
b005fa0
prank latest
alexggh Oct 23, 2025
80fa8d8
Merge remote-tracking branch 'origin/master' into alexggh/review_pran…
alexggh Oct 27, 2025
e15127f
fixup migration
alexggh Oct 27, 2025
ad1253d
fix build
alexggh Oct 27, 2025
f515d42
add more tests
alexggh Oct 28, 2025
4d1f528
Merge remote-tracking branch 'origin/master' into alexggh/review_pran…
alexggh Oct 28, 2025
3cb2315
fixup tests
alexggh Oct 24, 2025
a629145
switch to master
alexggh Oct 28, 2025
676b2f8
make cargo fmt happy
alexggh Oct 28, 2025
681472c
make clippy happy
alexggh Oct 28, 2025
ed7b936
make forge fmt happy
alexggh Oct 28, 2025
e29737b
fix prank calls
alexggh Oct 29, 2025
9d35e48
Merge remote-tracking branch 'origin/master' into alexggh/review_pran…
alexggh Nov 4, 2025
fedcc8e
Merge remote-tracking branch 'origin/master' into alexggh/review_pran…
alexggh Nov 5, 2025
ee9c3d3
replace with template
alexggh Nov 5, 2025
8d11b21
fixup typo
alexggh Nov 5, 2025
d0a562d
fix extra
alexggh Nov 5, 2025
1da5f68
make tests consume less resources
alexggh Nov 5, 2025
03f6e76
fixup more externalities checkpoints
alexggh Nov 6, 2025
fd9c7e9
run all mocks
alexggh Nov 6, 2025
c8d28ef
make cargo fmt happy
alexggh Nov 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
713 changes: 406 additions & 307 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/anvil-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "bin/main.rs"
[dependencies]
# foundry internal
substrate-runtime = { path = "substrate-runtime" }
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [
polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [
"sc-allocator",
"sc-basic-authorship",
"sc-block-builder",
Expand Down
4 changes: 2 additions & 2 deletions crates/anvil-polkadot/substrate-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license.workspace = true
[dependencies]
array-bytes = { version = "6.2.2", default-features = false }
codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" }
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [
polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [
"pallet-balances",
"pallet-revive",
"pallet-sudo",
Expand All @@ -27,7 +27,7 @@ scale-info = { version = "2.11.6", default-features = false }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

[build-dependencies]
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, optional = true, features = ["substrate-wasm-builder"] }
polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, optional = true, features = ["substrate-wasm-builder"] }

[features]
default = ["std"]
Expand Down
1 change: 1 addition & 0 deletions crates/forge/tests/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mod revive_compiler;
mod revive_config;
mod revive_create;
mod revive_inspect;
mod revive_prank;
mod revive_vm;
mod rvm;
mod script;
Expand Down
Loading
Loading