Skip to content

Commit

Permalink
update the position of Transitions in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
achraf17 committed Apr 6, 2022
1 parent 7425ba3 commit 41e4d31
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,18 +336,18 @@ type ChainConfig struct {
EWASMBlock *big.Int `json:"ewasmBlock,omitempty"` // EWASM switch block (nil = no fork, 0 = already activated)

// Various consensus engines
Ethash *EthashConfig `json:"ethash,omitempty"`
Clique *CliqueConfig `json:"clique,omitempty"`
Istanbul *IstanbulConfig `json:"istanbul,omitempty"` // Quorum
IBFT *IBFTConfig `json:"ibft,omitempty"` // Quorum
QBFT *QBFTConfig `json:"qbft,omitempty"` // Quorum
Transitions []Transition `json:"transitions,omitempty"` // Quorum
Ethash *EthashConfig `json:"ethash,omitempty"`
Clique *CliqueConfig `json:"clique,omitempty"`
Istanbul *IstanbulConfig `json:"istanbul,omitempty"` // Quorum
IBFT *IBFTConfig `json:"ibft,omitempty"` // Quorum
QBFT *QBFTConfig `json:"qbft,omitempty"` // Quorum

// Start of Quorum specific configs

IsQuorum bool `json:"isQuorum"` // Quorum flag
TransactionSizeLimit uint64 `json:"txnSizeLimit"` // Quorum - transaction size limit
MaxCodeSize uint64 `json:"maxCodeSize"` // Quorum - maximum CodeSize of contract
Transitions []Transition `json:"transitions,omitempty"` // Quorum - transition config based on the block number
IsQuorum bool `json:"isQuorum"` // Quorum flag
TransactionSizeLimit uint64 `json:"txnSizeLimit"` // Quorum - transaction size limit
MaxCodeSize uint64 `json:"maxCodeSize"` // Quorum - maximum CodeSize of contract

// QIP714Block implements the permissions related changes
QIP714Block *big.Int `json:"qip714Block,omitempty"`
Expand Down

0 comments on commit 41e4d31

Please sign in to comment.