Skip to content

ChainConfig hooks for subnet-evm #21

@darioush

Description

@darioush

Rationale

To use libevm in subnet-evm, and allow for use of custom forks in the params package,
we could extend the ChainConfig hooks to include:

	CheckCompatible(newcfg *ChainConfig, headNumber *big.Int, headTimestamp uint64) *ConfigCompatError
	CheckConfigForkOrder() error
	Description() string

Implementation

draft implementation: https://github.com/ava-labs/go-ethereum/pull/11/files#diff-10ff00a15ef58da7485fedeca3906c73cb236fde4b143a9d61601c63cbf1ffe8

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