DELEG rule contains a predicate failure IncorrectDepositDELEG that doesn't report enough information and is overused. We need to add two new predicate failures that will not only report the expected value using the Mismatch type from #4649, but will also report different predicate for mismatched deposit vs refund. This has to be done only at protocol version 10, so branching on bootstrapPhase, in order not to break Node-To-Client protocol.
DELEG rule contains a predicate failure
IncorrectDepositDELEG
that doesn't report enough information and is overused. We need to add two new predicate failures that will not only report the expected value using theMismatch
type from #4649, but will also report different predicate for mismatched deposit vs refund. This has to be done only at protocol version 10, so branching onbootstrapPhase
, in order not to break Node-To-Client protocol.