Skip to content

Commit

Permalink
net-runner: Set max_allowance to 16 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Aug 29, 2022
1 parent 8b06511 commit a902771
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion go/oasis-net-runner/fixtures/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,13 @@ func newDefaultFixture() (*oasis.NetworkFixture, error) {
mrSigner = &sgx.FortanixDummyMrSigner
}

var stakingGenesis staking.Genesis
// Default staking genesis enables 16 allowances per account which matches the current
// mainnet and testnet setting.
stakingGenesis := staking.Genesis{
Parameters: staking.ConsensusParameters{
MaxAllowances: 16,
},
}
if genesis := viper.GetString(cfgStakingGenesis); genesis != "" {
var raw []byte
raw, err = ioutil.ReadFile(genesis)
Expand Down

0 comments on commit a902771

Please sign in to comment.