Skip to content

Parse genesis file to create a Chain object #2019

@carver

Description

@carver

What is wrong?

Would be ideal to be able to create a Chain object from a genesis file. This implementation already exists in Trinity, but more reasonably belongs in py-evm. Tools like eth-tester would benefit from this functionality. See user request at: ethereum/web3.py#1677 (inspired by desire to set the chain ID for an eth-tester chain)

How can it be fixed

Import the same logic from Trinity's trinity/_utils/eip1085.py. (and presumably there are tests in Trinity that can be ported in)

Metadata

Metadata

Assignees

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