Skip to content

Commit

Permalink
VDR: Handle ledger revert reasons (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toktar authored Apr 8, 2024
2 parents 31f8b05 + acb90fd commit cf279f0
Show file tree
Hide file tree
Showing 8 changed files with 324 additions and 65 deletions.
1 change: 1 addition & 0 deletions network/config/besu/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ logging="INFO"
data-path="/opt/besu/data"
host-allowlist=["*"]
min-gas-price=0
revert-reason-enabled=true

# rpc
rpc-http-enabled=true
Expand Down
79 changes: 31 additions & 48 deletions vdr/Cargo.lock

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

8 changes: 6 additions & 2 deletions vdr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.107"
thiserror = "1.0.49"
web3 = { version = "0.19.0", optional = true }
web3 = { version = "0.20.0", optional = true }
web-sys = { version = "0.3.64", optional = true, features = ["Window"] }
web3-wasm = { package = "web3", version = "0.19.0", default-features = false, features = ["wasm", "http", "http-tls"], optional = true }
web3-wasm = { package = "web3", version = "0.20.0", default-features = false, features = ["wasm", "http", "http-tls"], optional = true }
jsonrpc-core = "18.0.0"

[dev-dependencies]
rstest = "0.18.2"
mockall = "0.12.0"
env_logger = "0.10.0"
rand = "0.8.5"
ed25519-dalek = { version = "2", features = ["rand_core"] }

[patch.crates-io]
web3 = { git = 'https://github.com/DSRCorporation/rust-web3.git'}
Loading

0 comments on commit cf279f0

Please sign in to comment.