Skip to content

Commit

Permalink
rename bohr to planck
Browse files Browse the repository at this point in the history
  • Loading branch information
calmbeing committed Mar 16, 2023
1 parent 8c7c6b8 commit fc1f9cd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions chain/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ type Config struct {
PragueTime *big.Int `json:"pragueTime,omitempty"`

// Parlia fork blocks
RamanujanBlock *big.Int `json:"ramanujanBlock,omitempty" toml:",omitempty"`
NielsBlock *big.Int `json:"nielsBlock,omitempty" toml:",omitempty"`
MirrorSyncBlock *big.Int `json:"mirrorSyncBlock,omitempty" toml:",omitempty"`
BrunoBlock *big.Int `json:"brunoBlock,omitempty" toml:",omitempty"`
EulerBlock *big.Int `json:"eulerBlock,omitempty" toml:",omitempty"`
GibbsBlock *big.Int `json:"gibbsBlock,omitempty" toml:",omitempty"`
NanoBlock *big.Int `json:"nanoBlock,omitempty" toml:",omitempty"`
MoranBlock *big.Int `json:"moranBlock,omitempty" toml:",omitempty"`
PlanckBlock *big.Int `json:"planckBlock,omitempty" toml:",omitempty"`
// Forks specific to Gnosis Chain
RamanujanBlock *big.Int `json:"ramanujanBlock,omitempty" toml:",omitempty"` // ramanujanBlock switch block (nil = no fork, 0 = already activated)
NielsBlock *big.Int `json:"nielsBlock,omitempty" toml:",omitempty"` // nielsBlock switch block (nil = no fork, 0 = already activated)
MirrorSyncBlock *big.Int `json:"mirrorSyncBlock,omitempty" toml:",omitempty"` // mirrorSyncBlock switch block (nil = no fork, 0 = already activated)
BrunoBlock *big.Int `json:"brunoBlock,omitempty" toml:",omitempty"` // brunoBlock switch block (nil = no fork, 0 = already activated)
EulerBlock *big.Int `json:"eulerBlock,omitempty" toml:",omitempty"` // eulerBlock switch block (nil = no fork, 0 = already activated)
GibbsBlock *big.Int `json:"gibbsBlock,omitempty" toml:",omitempty"` // gibbsBlock switch block (nil = no fork, 0 = already activated)
NanoBlock *big.Int `json:"nanoBlock,omitempty" toml:",omitempty"` // nanoBlock switch block (nil = no fork, 0 = already activated)
MoranBlock *big.Int `json:"moranBlock,omitempty" toml:",omitempty"` // moranBlock switch block (nil = no fork, 0 = already activated)
PlanckBlock *big.Int `json:"planckBlock,omitempty" toml:",omitempty"` // planckBlock switch block (nil = no fork, 0 = already activated)
// Gnosis Chain fork blocks
PosdaoBlock *big.Int `json:"posdaoBlock,omitempty"`

Eip1559FeeCollector *common.Address `json:"eip1559FeeCollector,omitempty"` // (Optional) Address where burnt EIP-1559 fees go to
Expand Down Expand Up @@ -488,7 +488,7 @@ func (c *Config) checkCompatible(newcfg *Config, head uint64) *ConfigCompatError
return newCompatError("moran fork block", c.MoranBlock, newcfg.MoranBlock)
}
if incompatible(c.PlanckBlock, newcfg.PlanckBlock, head) {
return newCompatError("bohr fork block", c.PlanckBlock, newcfg.PlanckBlock)
return newCompatError("planck fork block", c.PlanckBlock, newcfg.PlanckBlock)
}
return nil
}
Expand Down

0 comments on commit fc1f9cd

Please sign in to comment.