We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75eff5 commit f14c9e5Copy full SHA for f14c9e5
ledger/conway/pparams.go
@@ -226,6 +226,9 @@ func (p *ConwayProtocolParameters) UpdateFromGenesis(genesis *ConwayGenesis) {
226
}
227
228
if len(genesis.PlutusV3CostModel) > 0 {
229
+ if p.CostModels == nil {
230
+ p.CostModels = make(map[uint][]int64)
231
+ }
232
p.CostModels[2] = genesis.PlutusV3CostModel
233
234
if genesis.PoolVotingThresholds.MotionNoConfidence != nil {
0 commit comments