Skip to content

Add Anvil Compatibility Tests for cosmos/evm #21

@zsystm

Description

@zsystm

We should add a dedicated section for testing Anvil compatibility with cosmos/evm.

Based on initial observations:

  • ✅ Anvil can fork from a URL
  • ✅ Can send native transactions
  • ✅ Can upload and use contracts like ERC20
  • ✅ Tracing is supported, except for precompiles
  • ❌ Precompiles are currently unsupported
  • ⚠️ Genesis files need to be converted to an EVM-compatible format before import

Given that Anvil is widely used in the Ethereum developer community, it would be helpful to include it in our compatibility test suite going forward.

Suggested Action Items:

  • Add a new section for Anvil tests under foundry compatibility
  • Include tests for:
    • ERC20 contract deployment and interaction
    • Native token transfers
    • Tracing behavior
  • Document known limitations (e.g., no precompile support, genesis conversion requirement)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions