@@ -810,11 +810,11 @@ func (c *EthashConfig) String() string {
810
810
811
811
// CliqueConfig is the consensus engine configs for proof-of-authority based sealing.
812
812
type CliqueConfig struct {
813
- Period uint64 `json:"period"` // Number of seconds between blocks to enforce
814
- Epoch uint64 `json:"epoch"` // Epoch length to reset votes and checkpoint
815
- RelaxedPeriod bool `json:"relaxed_period,omitempty"` // Relaxes the period to be just an upper bound
816
- ShadowForkHeight uint64 `json:"shadow_fork_height"` // Allows shadow forking consensus layer at given height
817
- ShadowForkSigner common.Address `json:"shadow_fork_signer"` // Sets the address to be the authorized signer after the shadow fork
813
+ Period uint64 `json:"period"` // Number of seconds between blocks to enforce
814
+ Epoch uint64 `json:"epoch"` // Epoch length to reset votes and checkpoint
815
+ RelaxedPeriod bool `json:"relaxed_period"` // Relaxes the period to be just an upper bound
816
+ ShadowForkHeight uint64 `json:"shadow_fork_height"` // Allows shadow forking consensus layer at given height
817
+ ShadowForkSigner common.Address `json:"shadow_fork_signer"` // Sets the address to be the authorized signer after the shadow fork
818
818
}
819
819
820
820
// String implements the stringer interface, returning the consensus engine details.
@@ -824,10 +824,10 @@ func (c *CliqueConfig) String() string {
824
824
825
825
// SystemContractConfig is the consensus engine configs for rollup sequencer sealing.
826
826
type SystemContractConfig struct {
827
- Period uint64 `json:"period"` // Number of seconds between blocks to enforce
828
- BlocksPerSecond uint64 `json:"blocks_per_second"` // Number of blocks per second within the period
829
- SystemContractAddress common.Address `json:"system_contract_address"` // address of system contract on L1
830
- SystemContractSlot common.Hash `json:"system_contract_slot"` // slot of signer address in system contract on L1
827
+ Period uint64 `json:"period"` // Number of seconds between blocks to enforce
828
+ BlocksPerSecond uint64 `json:"blocks_per_second,omitempty"` // Number of blocks per second within the period
829
+ SystemContractAddress common.Address `json:"system_contract_address"` // address of system contract on L1
830
+ SystemContractSlot common.Hash `json:"system_contract_slot"` // slot of signer address in system contract on L1
831
831
832
832
RelaxedPeriod bool `json:"relaxed_period"` // Relaxes the period to be just an upper bound
833
833
}
0 commit comments