Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

M-6: EthCallSimulator behind eth-call feature gate#7

Closed
lthibault wants to merge 1 commit intomasterfrom
m6/eth-call-simulator
Closed

M-6: EthCallSimulator behind eth-call feature gate#7
lthibault wants to merge 1 commit intomasterfrom
m6/eth-call-simulator

Conversation

@lthibault
Copy link
Copy Markdown
Contributor

Summary

  • Adds EthCallSimulator implementing BundleSimulator via JSON-RPC eth_call + eth_estimateGas
  • Feature-gated behind eth-call (optional deps: reqwest, serde_json, hex)
  • RLP decode is a stub (raw bytes as data to zero address) pending alloy-rlp

Test plan

  • cargo build -p membrane-bundle --features eth-call compiles clean
  • cargo test — all 11 existing tests pass
  • cargo clippy --workspace --features eth-call — no warnings in our code
  • Integration test against a real node (out of scope for this PR)

Closes #6

Feature-gated BundleSimulator implementation that forwards bundle
transactions to an Ethereum node via JSON-RPC eth_call + eth_estimateGas.
Aggregates gas, detects reverts. Uses reqwest for HTTP; RLP decode is
a stub (raw bytes as data to zero address) pending alloy-rlp.
@lthibault lthibault added this to the Bundle Access milestone Feb 19, 2026
@lthibault
Copy link
Copy Markdown
Contributor Author

Superseded: membrane crate moved to wetware/rs (PR wetware/ww#38). Bundle logic will land in rs separately.

@lthibault lthibault closed this Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EthCallSimulator

1 participant