Add gas charge for VerifyReplicaUpdate
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
6a06f15650
commit
88c23a9cac
@ -206,6 +206,8 @@ var prices = map[abi.ChainEpoch]Pricelist{
|
|||||||
},
|
},
|
||||||
verifyPostDiscount: false,
|
verifyPostDiscount: false,
|
||||||
verifyConsensusFault: 495422,
|
verifyConsensusFault: 495422,
|
||||||
|
|
||||||
|
verifyReplicaUpdate: 36316136,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,6 +120,8 @@ type pricelistV0 struct {
|
|||||||
verifyPostLookup map[abi.RegisteredPoStProof]scalingCost
|
verifyPostLookup map[abi.RegisteredPoStProof]scalingCost
|
||||||
verifyPostDiscount bool
|
verifyPostDiscount bool
|
||||||
verifyConsensusFault int64
|
verifyConsensusFault int64
|
||||||
|
|
||||||
|
verifyReplicaUpdate int64
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ Pricelist = (*pricelistV0)(nil)
|
var _ Pricelist = (*pricelistV0)(nil)
|
||||||
@ -229,8 +231,7 @@ func (pl *pricelistV0) OnVerifyAggregateSeals(aggregate proof7.AggregateSealVeri
|
|||||||
|
|
||||||
// OnVerifyReplicaUpdate
|
// OnVerifyReplicaUpdate
|
||||||
func (pl *pricelistV0) OnVerifyReplicaUpdate(update proof7.ReplicaUpdateInfo) GasCharge {
|
func (pl *pricelistV0) OnVerifyReplicaUpdate(update proof7.ReplicaUpdateInfo) GasCharge {
|
||||||
// TODO: do the thing
|
return newGasCharge("OnVerifyReplicaUpdate", pl.verifyReplicaUpdate, 0)
|
||||||
return GasCharge{}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// OnVerifyPost
|
// OnVerifyPost
|
||||||
|
Loading…
Reference in New Issue
Block a user