We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the consumer EndBlock the received updates are aggregated and then processed
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 1734 to 1743 in a6bc8d1
the aggregation is defined
Lines 348 to 351 in a6bc8d1
and the aggregated updates are processed:
Lines 1775 to 1781 in a6bc8d1
If a validator v0 receives a power=0 update on the consumer in block A then the validator will be deleted
Lines 1791 to 1793 in a6bc8d1
but if subsequently the the pendingUpdates struct fills up with, e.g.
[(v0, 42), (v0, 0)]
then the aggregation will reduce this to
[ (v0, 0)]
which will trigger this branch
Lines 1779 to 1781 in a6bc8d1
causing a panic
The text was updated successfully, but these errors were encountered:
@danwt That's true. Nice catch. Could you please open an issue on the implementation side also?
Sorry, something went wrong.
tm.verifyRemovals
mpoke
No branches or pull requests
Context
In the consumer EndBlock the received updates are aggregated and then processed
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 1734 to 1743 in a6bc8d1
the aggregation is defined
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 348 to 351 in a6bc8d1
and the aggregated updates are processed:
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 1775 to 1781 in a6bc8d1
Scenario
If a validator v0 receives a power=0 update on the consumer in block A then the validator will be deleted
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 1791 to 1793 in a6bc8d1
but if subsequently the the pendingUpdates struct fills up with, e.g.
then the aggregation will reduce this to
which will trigger this branch
ibc/spec/app/ics-028-cross-chain-validation/technical_specification.md
Lines 1779 to 1781 in a6bc8d1
causing a panic
The text was updated successfully, but these errors were encountered: