axieinfinity / ronin

A DPoS blockchain.
GNU Lesser General Public License v3.0
67 stars 30 forks source link

all: move genesis init to blockchain #570

Closed Francesco4203 closed 1 month ago

Francesco4203 commented 1 month ago

Reference: https://github.com/ethereum/go-ethereum/pull/25523/commits

Move genesis initialization logic to NewBlockChain:

Note that the later Trie.db that contains diff freezer will be reworked (and thus renamed), we just use its current name here for convenience.