Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Cannot connect to blockchain after upgrading node and plugin #177

@bafu

Description

@bafu

Describe the bug

After upgrading avalanchego (1.7.14 -> 1.7.16) and subnet-evm (commit 1a7f57e -> 0.2.7), I cannot connect RPC to one of my two EVMs (on different subnets separately).

  1. Can-work EVM
    1. with a plain genesis
    2. can connect RPC and transfer native coins
  2. Cannot-work EVM
    1. with the genesis containing contractNativeMinterConfig and feeManagerConfig

    2. cannot connect RPC and avalanchego showed the error below

      [07-30|09:47:43.692] ERROR chains/manager.go:293 error creating chain "2StUZ1a5omGxvMRm7b2LHjuoDKTmsVEoCEwNeDRZouWvFZwWir": error while creating new snowman vm rpc error: code = Unknown desc = failed to create backend: database contains incompatible genesis (have af912611960895cc0c3f533ec6b87c55966714cb877632491a2c7b83309a395e, new d108973f4d32737daa30b06c67d8de7c40dc846b2ea326fbb61dc1f87f0ab930)
      

To Reproduce

Steps to reproduce the behavior.

  1. Download the pre-build avalanchego and subnet-evm.

  2. Copy subnet-evm to avalanchego-v1.7.16/plugins/<vmid>

  3. Stop the running avalanchego v1.7.14.

  4. Run avalanchego v1.7.16

    cd avalanchego-v1.7.16
    ./avalanchego --whitelisted-subnets=CXPiHVHEutq3cs9ddNxxhW5C6trRTXzfGZsNEvpNm6vyuLugj,2fQBahhq3F9eip8KobMgjbvBEahW3153kvAy6YPDrGMTceZcGG --network-id=fuji --http-host=0.0.0.0
    

Expected behavior

MetaMask can connect to both blockchains via RPC and transfer native coins.

Screenshots

N/A

Logs

avalanchego-log.zip

Metrics

N/A

Operating System

  1. OS: Ubuntu 20.04.4 LTS (AWS instance)
  2. Avalanchego: v1.7.16
  3. subnet-evm: v0.2.7

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions