Skip to content

meta(anvil): anvil-core internal types removal #6715

@Evalir

Description

@Evalir

The objective is to deduplicate the internal anvil types in anvil-core, used for storage and internal representation of state and phase out ethers. This involves:

  • Removing the duplicated types in anvil-core which are now included in alloy-consensus crate alloy-rs/alloy#83
  • Using the new alloy signers
  • Migrating any custom needed anvil internal types (e.g ImpersonatedTransaction) to alloy.
  • Migrating anvil's txpool/execution logic to use alloy.

Milestones on (anvil-core/anvil):

The result of this is that we will end up removing all the remaining ToAlloy/ToEthers conversions in anvil, as we won't longer have the separation between alloy-based rpc types and ethers-based internal types, but rather both will come from alloy-rs/alloy, and use the alloy primitive types. This allows us to drop ethers completely from anvil

Metadata

Metadata

Assignees

Labels

C-anvilCommand: anvilD-averageDifficulty: averageP-highPriority: highT-debtType: code debt

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions