ava-labs / coreth

Code and wrapper to extract Ethereum blockchain functionalities without network/consensus, for building custom blockchain services.
Other
183 stars 139 forks source link

Refactor params config #634

Closed ceyonur closed 2 months ago

ceyonur commented 2 months ago

Why this should be merged

Refactors the param/config file to reduce the upstream diff and moves extra functions/variables to relative files.

How this works

Creates a new struct NetworkUpgrades that wraps the Avalanche Network Upgrades which is then embedded into the ChainConfig. This is a refactor and nothing (at least in theory) should change.

How this was tested

Existing tests should cover this.