-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: throttle with retries, consumer changes (#1024)
* wip * wip * bouncing slash constructor and nits * UT * define cross chain ack enum * wip * tests * tests * update genesis tests * comments * migration and changelog * migration test * lints * merge fixes * clean * Update ccv.pb.go * add to ADR * address some PR comments * rebuild protos * v3s * lint * regen pbs * refactor for simplicity * comment * changes with slash record type * wip * Update ccv.pb.go * Update ccv.pb.go * update SendPackets and test * test packet sending permitted * test for OnAckPacket * note on FSM design * CRUD UT * packet sending permitted UT * nits * Update throttle_retry.go * v1 result and change tests * Update relay.go * expectation func * reg test * Update CHANGELOG.md * lints * doc on upgrade order * small updates * vsc matured handled res * handle vsc matured acks * adjust TestSendPacketsDeletion * Update relay_test.go * fix integration test * fix send slash packet deletion test * fix TestConsumerPacketSendExpiredClient * lint * fix more tests * final test fixes * disable diff tests * smalls * Update steps_downtime.go * Update slashing.go * Update CHANGELOG.md * Update x/ccv/consumer/keeper/throttle_retry.go Co-authored-by: Marius Poke <marius.poke@posteo.de> * Update throttle_retry.go * Update x/ccv/consumer/keeper/throttle_retry.go Co-authored-by: Marius Poke <marius.poke@posteo.de> * docstrings * comment * DeleteHeadOfPendingPackets unit tests * fix dup deletion * better comment * const * rm todo and unneeded call * linting is very important * break instead of return * return instead of just print * fix test * fix slashing test * comment * camel case * FSM event explanation --------- Co-authored-by: Marius Poke <marius.poke@posteo.de>
- Loading branch information
Showing
21 changed files
with
1,077 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.