mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Rename plugin/evm/upgrade/subnetevm package to feewindow - Rename SubnetEVMTimestamp to EVMTimestamp (JSON: evmTimestamp) - Rename IsSubnetEVM method to IsEVM - Rename SubnetEVMDefaultChainConfig to EVMDefaultChainConfig - Rename TestSubnetEVMChainConfig to TestEVMChainConfig - Rename TestPreSubnetEVMChainConfig to TestPreEVMChainConfig - Rename ethclient/subnetevmclient to ethclient/evmclient - Update VM factory ID from "subnetevm" to "evm" - Remove all backward compatibility aliases - Update all documentation and comments Breaking change: This removes all SubnetEVM naming - only "EVM" is supported. No backward compatibility maintained as per user requirement.
21 lines
679 B
Go
21 lines
679 B
Go
// Copyright (C) 2019-2025, Ava Labs, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package paramstest
|
|
|
|
import (
|
|
"github.com/luxfi/upgrade/upgradetest"
|
|
|
|
"github.com/luxfi/evm/params"
|
|
)
|
|
|
|
// ForkToChainConfig maps a fork to a chain config
|
|
var ForkToChainConfig = map[upgradetest.Fork]*params.ChainConfig{
|
|
upgradetest.ApricotPhase5: params.TestPreEVMChainConfig,
|
|
upgradetest.ApricotPhase6: params.TestEVMChainConfig,
|
|
upgradetest.Durango: params.TestDurangoChainConfig,
|
|
upgradetest.Etna: params.TestEtnaChainConfig,
|
|
upgradetest.Fortuna: params.TestFortunaChainConfig,
|
|
upgradetest.Granite: params.TestGraniteChainConfig,
|
|
}
|