Skip to content

Commit

Permalink
feat(examples): add cheatcode inspector example (#2003)
Browse files Browse the repository at this point in the history
  • Loading branch information
agostbiro authored Jan 17, 2025
1 parent 39eaab7 commit 242f61f
Show file tree
Hide file tree
Showing 4 changed files with 641 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ members = [

# examples
"examples/block_traces",
"examples/cheatcode_inspector",
"examples/contract_deployment",
"examples/database_components",
"examples/uniswap_get_reserves",
Expand Down
30 changes: 30 additions & 0 deletions examples/cheatcode_inspector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "example-cheatcode-inspector"
version = "0.0.0"
publish = false
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unreachable_pub = "warn"
unused_must_use = "deny"
rust_2018_idioms = "deny"

[lints.rustdoc]
all = "warn"

[dependencies]
revm = {workspace = true, features = ["std"] }
database = { workspace = true, features = ["std"] }
inspector = { workspace = true, features = ["std", "serde-json"] }

# misc
anyhow = "1.0.89"
Loading

0 comments on commit 242f61f

Please sign in to comment.