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

VDR: Handle ledger revert reasons #38

Merged
merged 8 commits into from
Apr 8, 2024
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
Loading