Skip to content

fix(rollapp): skip missing fraud rollback states#1044

Open
modelsbridgeaicom-ship-it wants to merge 1 commit into
openmetaearth:mainfrom
modelsbridgeaicom-ship-it:codex/rollapp-skip-missing-revert-state-282
Open

fix(rollapp): skip missing fraud rollback states#1044
modelsbridgeaicom-ship-it wants to merge 1 commit into
openmetaearth:mainfrom
modelsbridgeaicom-ship-it:codex/rollapp-skip-missing-revert-state-282

Conversation

@modelsbridgeaicom-ship-it

Copy link
Copy Markdown
Contributor

Addresses ROLLAPP-NEW-003 in #282.

Summary

  • stops RevertPendingStates from writing a zero-value StateInfo when a finalization queue entry points at missing state info
  • logs and skips missing state entries while still removing the stale queue item for the frauded rollapp
  • adds regression coverage proving missing rollback state does not create a phantom empty-rollapp/index-0 state and unrelated rollapp queue entries remain pending

Tests

  • git diff --check
  • git diff --cached --check
  • ....\tools\go\bin\go.exe test .\x\rollapp\keeper -run TestRevertPendingStatesSkipsMissingStateInfo -count=1 -v (blocked before package tests by upstream github.com/openmetaearth/ethermint/app/ante/eip712.go: undefined secp256k1.RecoverPubkey and secp256k1.VerifySignature)

@koelzen koelzen added run-ci Trigger CI run and removed run-ci Trigger CI run labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants