Skip to content

Commit

Permalink
use hare1 certificate comittee size (#5307)
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Nov 27, 2023
1 parent dbc1183 commit 9504894
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/presets/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/spacemeshos/go-spacemesh/activation"
"github.com/spacemeshos/go-spacemesh/api/grpcserver"
"github.com/spacemeshos/go-spacemesh/beacon"
"github.com/spacemeshos/go-spacemesh/blocks"
"github.com/spacemeshos/go-spacemesh/bootstrap"
"github.com/spacemeshos/go-spacemesh/checkpoint"
"github.com/spacemeshos/go-spacemesh/common/types"
Expand Down Expand Up @@ -143,5 +144,11 @@ func testnet() config.Config {
},
Recovery: checkpoint.DefaultConfig(),
Cache: datastore.DefaultConfig(),
Certificate: blocks.CertConfig{
// NOTE(dshulyak) this is intentional. we increased committee size with hare3 upgrade
// but certifier continues to use 200 committee size.
// this will be upgraded in future with scheduled upgrade.
CommitteeSize: 200,
},
}
}

0 comments on commit 9504894

Please sign in to comment.