Skip to content
New issue

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

feat(hard_fork): delayed ack should create commitment after rolling back acks #1383

Conversation

mtsitrin
Copy link
Contributor

@mtsitrin mtsitrin commented Nov 3, 2024

closes #1380

@mtsitrin mtsitrin marked this pull request as ready for review November 3, 2024 18:18
@mtsitrin mtsitrin requested a review from a team as a code owner November 3, 2024 18:18
@mtsitrin mtsitrin merged commit e6122d1 into mtsitrin/937-rollapp-hard-fork-hub-side Nov 3, 2024
5 checks passed
@mtsitrin mtsitrin deleted the 1380-delayed-ack-should-create-commitment-after-rolling-back-acks branch November 3, 2024 18:19
mtsitrin added a commit that referenced this pull request Jan 13, 2025
…ition (#1467)

* initial renames according to adr

* reverting states

* removed frozen notation. added revision number in rollapp object

* cleanup

* UT compiles

* fixed state deletion on fraud

* UT pass

* fixed StateInfoByHeight UT

* chainId revision check moved back to create rollapp. as it mess up dymns UT

* PR comments

* fixed basic sequencer logic to unbond all

* feat(hard_fork): part2 (Delyayed ack callback) (#1355)

* feat(hard_fork): Lightclient rollback (#1363)

* feat(hard_fork): DRS and stateUpdate (#1369)

* feat(hard_fork): rollapp fraud proposal (#1371)

* feat(hard_fork): revision start height (#1373)

* cleanup

* lightClient doesn't trigger hard fork

* clearing consesnsus state in descending order

* fix UT

* fraud proposal validates genesis bridge completed

* validate revision in header.Header.Version.App

* linter

* linter

* feat(hard_fork): delayed ack should create commitment after rolling back acks (#1383)

* register proposal handler

* updating next proposer on state infos

* feat(hard_fork): update hard fork to support new `x/sequencer` updates (#1406)

Co-authored-by: keruch <[email protected]>
Co-authored-by: zale144 <[email protected]>
Co-authored-by: Daniel T <[email protected]>
Co-authored-by: Omri <[email protected]>
Co-authored-by: Sergi Rene <[email protected]>
Co-authored-by: Itzhak Bokris <[email protected]>

* linter

* UT fix

* minor update to fraud proposal

* delete pendingPacketsByAddress on the delayedAck

* fixed seqeucner heoght pruning

* fraud proposal supports future heights

* fork hook doesn't return error

* rotation doesn't go through sentinel proposer

* simplified k.UpdateRollappPacketWithStatus interface

* minor

* minor log

* fixed lightclient when setting canonical channel

* feat(migrations): renamed vulnerable rollapps to obsolete (#1436)

* Danwt/mtsitrin 937 rollapp hard fork hub side rewardee (#1441)

* Danwt/fix upgrade conflicts (#1442)

Co-authored-by: zale144 <[email protected]>
Co-authored-by: keruch <[email protected]>

* fix frozen

* refactored to use Finalaization queue by rollappId

* fixed pruning of finalization queue

* cleared unused expected methods

* linter

* more cleanup

* comments

* fixed packet commitment and lightclient comments

* return err on HardFork hooks

* not forking on state update with obsolete DRS

* linter

* renamed fraudHeight

* add error to kickProposer flow

* fixed UT

* deleteBySender moved to DeletePacket

* fixed surprise linter

* DRY pruneSigners code

* feat(sequencer): hardforking when rotating to sentinel (#1455)

Co-authored-by: danwt <[email protected]>

* PR comments

* AfterRecoveryFromHalt hook cleanup

* fixed missing setConsensusMetadata. fixed kicked proposer unbond

* fixed unbond store

* refactor ValidateUpdatePessimistically to use single state info

refactor canonical client check

* updated expected keeper

* dried out the state update hook

* removed unused replace

* unified canonical and ongoingvalidation

* fix future height check

* DRY canonical setting code

* revert renaming

* removed canonical setting on update headers

* fixed tests compile

---------

Co-authored-by: keruch <[email protected]>
Co-authored-by: zale144 <[email protected]>
Co-authored-by: Daniel T <[email protected]>
Co-authored-by: Omri <[email protected]>
Co-authored-by: Sergi Rene <[email protected]>
Co-authored-by: Itzhak Bokris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant