diff --git a/cmd/nodegenesis.go b/cmd/nodegenesis.go index d87653d..40b0c54 100644 --- a/cmd/nodegenesis.go +++ b/cmd/nodegenesis.go @@ -42,12 +42,11 @@ type l1Config struct { } type nodeGenesis struct { - L1Config l1Config `json:"l1Config"` - RollupCreationBlockNumberUsedByRollup uint64 `json:"genesisBlockNumber"` - RollupCreationBlockNumberUsedByValidium uint64 `json:"rollupCreationBlockNumber"` - UpdateToULxLyBlockNumber uint64 `json:"rollupManagerCreationBlockNumber"` - Genesis interface{} `json:"genesis"` - Root common.Hash `json:"root"` + L1Config l1Config `json:"l1Config"` + RollupCreationBlockNumber uint64 `json:"rollupCreationBlockNumber"` + RollupManagerCreationBlockNumber uint64 `json:"rollupManagerCreationBlockNumber"` + Genesis interface{} `json:"genesis"` + Root common.Hash `json:"root"` } func createNodeGenesis(cliCtx *cli.Context) error { @@ -96,11 +95,10 @@ func createNodeGenesis(cliCtx *cli.Context) error { POL: rm.POLAddr, GER: rm.GERAddr, }, - RollupCreationBlockNumberUsedByRollup: r.CreationBlock, - RollupCreationBlockNumberUsedByValidium: r.CreationBlock, - UpdateToULxLyBlockNumber: rm.UpdateToULxLyBlock, - Genesis: genesis, - Root: r.GenesisRoot, + RollupCreationBlockNumber: r.CreationBlock, + RollupManagerCreationBlockNumber: rm.UpdateToULxLyBlock, + Genesis: genesis, + Root: r.GenesisRoot, } data, err := json.MarshalIndent(&ng, "", " ")