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

fix(anvil): handle OP deposit txs in TypedTransaction and PoolTransaction conversion #8942

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

yash-atreya
Copy link
Member

@yash-atreya yash-atreya commented Sep 24, 2024

Motivation

Fixes #8940

Solution

Change TryFrom implementations of PoolTransaction and TypedTransaction to use WithOtherFields<RpcTransaction> instead of RpcTransaction

yash-atreya and others added 2 commits September 24, 2024 11:47
Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits

crates/anvil/core/src/eth/transaction/mod.rs Outdated Show resolved Hide resolved
crates/anvil/core/src/eth/transaction/mod.rs Outdated Show resolved Hide resolved
@yash-atreya yash-atreya enabled auto-merge (squash) September 24, 2024 09:32
@mattsse
Copy link
Member

mattsse commented Sep 24, 2024

unrelated error

@mattsse mattsse merged commit c9d7b48 into master Sep 24, 2024
18 of 20 checks passed
@mattsse mattsse deleted the yash/fix-8940 branch September 24, 2024 10:02
rplusq pushed a commit to rplusq/foundry that referenced this pull request Sep 25, 2024
…ansaction` conversion (foundry-rs#8942)

* fix(`anvil`): handle OP deposit tx in TypeTransaction conversion.

* nits

* clippy

* test

Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>

* nits

---------

Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
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 this pull request may close these issues.

Error using Anvil "--fork-transaction-hash" argument with Base chain
2 participants