Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Sep 26, 2024
1 parent 8c9061b commit 7a3df71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions abci/example/kvstore/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ type Config struct {
ChainLockUpdates map[string]string `toml:"chainlock_updates"`
PrivValServerType string `toml:"privval_server_type"`
InitAppInitialCoreHeight uint32 `toml:"init_app_core_chain_locked_height"`
// ConsenusVersionUpdates is a map of heights to consensus version ; ONLY SUPPORTED BY e2e.Application
ConsenusVersionUpdates map[string]int32 `toml:"consensus_version_updates"`
// ConsensusVersionUpdates is a map of heights to consensus version ; ONLY SUPPORTED BY e2e.Application
ConsensusVersionUpdates map[string]int32 `toml:"consensus_version_updates"`
}

func DefaultConfig(dir string) Config {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func NewApplication(cfg kvstore.Config, opts ...kvstore.OptFunc) (*Application,
return nil, err
}

for h, ver := range cfg.ConsenusVersionUpdates {
for h, ver := range cfg.ConsensusVersionUpdates {
height, err := strconv.Atoi(h)
if err != nil {
return nil, fmt.Errorf("consensus_version_updates: failed to parse height %s: %w", h, err)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (cfg *Config) App() *kvstore.Config {
QuorumHashUpdate: cfg.QuorumHashUpdate,
ChainLockUpdates: cfg.ChainLockUpdates,
PrivValServerType: cfg.PrivValServerType,
ConsenusVersionUpdates: cfg.ConsensusVersionUpdates,
ConsensusVersionUpdates: cfg.ConsensusVersionUpdates,
}
}

Expand Down

0 comments on commit 7a3df71

Please sign in to comment.