Mantle | Mass adoption of decentralized & token-governed technologies. With Mantle Network, Mantle Treasury, and token holder-governed products initiatives.
Add statedumper in l2geth to generate witness file which is necessary for bedrock upgrade
Anyone can run a replica node to sync data, once the replica node reach bedrock upgrade height, then the witness file is completed.
By default, statedumper is closed. It can be opened by setting up an environment variable L2GETH_STATE_DUMP_PATH
To generate a full witness file, the replica node must set up the environment variable and sync data from the beginning to the height before bedrock upgrade height.
Goals of PR
Core changes:
Notes:
Related Issues: