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
The spec at cosmos/ibc@f20ba86 allows different behavior than the implementation.
Consider onRecvVSCMaturedPacket
onRecvVSCMaturedPacket
https://github.com/cosmos/ibc/blob/0a43605fe869e1cf004103dd0f6994e9d8b81055/spec/app/ics-028-cross-chain-validation/methods.md?plain=1#L134-L146
Consider the following
interchain-security/x/ccv/provider/keeper/relay.go
Lines 223 to 229 in 3416e4c
At this point EndBlock commits a state where the validator is bonded.
However, a different result is possible in the current SUT, given the same transactions:
At this point EndBlock commits a state where the validator is not bonded.
This is a different result.
The text was updated successfully, but these errors were encountered:
Re. Execution 1
Provider handles VSCMatured packet The unbonding validator becomes unbonded
This is not true. At this point, the state of the validator changes (see here) so it can potentially become UNBONDED in staking.EndBlock (see here).
staking.EndBlock
In the spec, the stakingKeeper.UnbondingCanComplete(op.id) is called on receiving a VSCMaturedPacket (see https://github.com/cosmos/ibc/blob/0a43605fe869e1cf004103dd0f6994e9d8b81055/spec/app/ics-028-cross-chain-validation/methods.md#ccv-pcf-rcvmat1).
stakingKeeper.UnbondingCanComplete(op.id)
VSCMaturedPacket
Sorry, something went wrong.
AH yeah I made a mistake 👍
No branches or pull requests
The spec at cosmos/ibc@f20ba86
allows different behavior than the implementation.
Consider
onRecvVSCMaturedPacket
https://github.com/cosmos/ibc/blob/0a43605fe869e1cf004103dd0f6994e9d8b81055/spec/app/ics-028-cross-chain-validation/methods.md?plain=1#L134-L146
Consider the following
Execution 1 (Spec)
interchain-security/x/ccv/provider/keeper/relay.go
Lines 223 to 229 in 3416e4c
At this point EndBlock commits a state where the validator is bonded.
Execution 2 (SUT)
However, a different result is possible in the current SUT, given the same transactions:
At this point EndBlock commits a state where the validator is not bonded.
This is a different result.
The text was updated successfully, but these errors were encountered: