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

feat: implement anvil_ pool manipulation API endpoints #417

Closed
itegulov opened this issue Nov 25, 2024 · 0 comments · Fixed by #447
Closed

feat: implement anvil_ pool manipulation API endpoints #417

itegulov opened this issue Nov 25, 2024 · 0 comments · Fixed by #447
Assignees

Comments

@itegulov
Copy link
Contributor

itegulov commented Nov 25, 2024

Need to implement three endpoints from anvil for manipulating transaction pool:

#[rpc(name = "anvil_dropTransaction")]
fn drop_transaction(&self, tx_hash: H256) -> RpcResult<Option<H256>>;

#[rpc(name = "anvil_dropAllTransactions")]
fn drop_all_transactions(&self) -> RpcResult<()>;

#[rpc(name = "anvil_removePoolTransactions")]
fn remove_pool_transactions(&self, address: Address) -> RpcResult<()>;

Requires #362

See https://github.com/matter-labs/era-test-node/issues/148 for a matching hardhat method

@itegulov itegulov changed the title feat: implement anvil_dropTransaction/anvil_dropAllTransactions API endpoints feat: implement anvil_ pool manipulation API endpoints Nov 25, 2024
@itegulov itegulov self-assigned this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant