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

Description
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).
- Can-work EVM
- with a plain genesis
- can connect RPC and transfer native coins
- Cannot-work EVM
-
with the genesis containing contractNativeMinterConfig and feeManagerConfig
-
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.
-
Download the pre-build avalanchego and subnet-evm.
-
Copy subnet-evm to avalanchego-v1.7.16/plugins/<vmid>
-
Stop the running avalanchego v1.7.14.
-
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
- OS: Ubuntu 20.04.4 LTS (AWS instance)
- Avalanchego: v1.7.16
- subnet-evm: v0.2.7
Additional context
N/A