Skip to content

[V108-specific] Update actions GasRate

[V108-specific]

Intended to close #1426 (closed)
'Unemitted outbound events due to MaxGas not updated in ObservedTxInVoter's actions'.


Additional comment:
manager_txout_current.go's EndBlock's
if len(tx.MaxGas) == 0 || maxGas.Amount.GT(tx.MaxGas[0].Amount) {
condition for MaxGas updating (and not for GasRate updating) is (if I remember correctly) the underlying reason for keeping the updates separate instead of folding them into a single function.

(Discussion is welcome.)

Edited by Multipartite

Merge request reports