-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
C-anvilCommand: anvilCommand: anvilD-averageDifficulty: averageDifficulty: averageP-highPriority: highPriority: highT-debtType: code debtType: code debt
Description
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-corewhich 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):
-
ethers_compat.rsphased out -
block.rsphased out as duplicate -
pubsub.rsphased out as duplicate chore(anvil): remove ethers usage on subscription #6775 -
state.rsphased out as duplicate chore(anvil): use alloy state override and remove ethers state override #6766 -
cheats.rscheats manager migrated chore(anvil): migrate cheatsmanager to alloy #6767 -
receipt.rsphased out as duplicate by using the new receipt type in Alloy Consensus -
subscription.rstypes migrated to use alloy-rpc types, consensus or core types wherever needed -
trie.rsmigrated (migration needed foreth_getProofendpoint) -
utils.rsmigrated to using alloy rlp encoding instead of parity rlp. -
anvil'sexecutor.rsmigrated to use alloy types. - all
ToAlloy/ToEthersconversions in anvil removed -
fastrlpdropped - ethers removed from tests.
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: anvilCommand: anvilD-averageDifficulty: averageDifficulty: averageP-highPriority: highPriority: highT-debtType: code debtType: code debt
Type
Projects
Status
Completed