-
Notifications
You must be signed in to change notification settings - Fork 209
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: IPRPC over IBC: Part 5 - CNS-967: Cover pending IBC IPRPC fund costs #1470
feat: IPRPC over IBC: Part 5 - CNS-967: Cover pending IBC IPRPC fund costs #1470
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
…r-min-iprpc-cost-tx
…r-min-iprpc-cost-tx
…r-min-iprpc-cost-tx
…r-min-iprpc-cost-tx
* CNS-968: add mock transfer keeper and IBC middleware to tester * CNS-968: change middleware success ack and move create iprpc memo to types * CNS-968: create ibc transfer helper func for tests and update tests * CNS-968: lint fix * feat: IPRPC over IBC: Part 7 - CNS-969 update README (#1482) * CNS-969: improve comments * CNS-969: rename param and move event * CNS-969: update README * CNS-969: small comment fix
600ae29
into
CNS-966-pending-ibc-iprpc-fund-query
…1457) * CNS-966: implemented pending ibc iprpc query + unit test * CNS-966: fix help section * feat: IPRPC over IBC: Part 5 - CNS-967: Cover pending IBC IPRPC fund costs (#1470) * CNS-967: implement cover ibc iprpc funds TX * CNS-967: make gov module not pay min cost * CNS-967: unit test * CNS-967: partial merge from CNS-966 * CNS-967: small fixes * feat: IPRPC over IBC: Part 6 - CNS-968: IBC middleware testing (#1481) * CNS-968: add mock transfer keeper and IBC middleware to tester * CNS-968: change middleware success ack and move create iprpc memo to types * CNS-968: create ibc transfer helper func for tests and update tests * CNS-968: lint fix * feat: IPRPC over IBC: Part 7 - CNS-969 update README (#1482) * CNS-969: improve comments * CNS-969: rename param and move event * CNS-969: update README * CNS-969: small comment fix
* CNS-965: scaffold param IbcIprpcExpiration * CNS-965: create pending iprpc fund * CNS-965: fix unit tests * CNS-965: move pending iprpc to seperate files and add IsExpired * CNS-965: renamed to PendingIbcIprpcFund + bug fixes * CNS-965: unit tests * CNS-965: remove expired PendingIbcIprpcFunds in begin block * CNS-965: unit tests * CNS-965: comment * CNS-965: divide fund when creating a new pending ibc iprpc fund * CNS-965: lint fix * CNS-965: fixes * CNS-965: add events * CNS-965: fixes after merge * CNS-965: revert ibc transfer in case of middleware failure * CNS-965: pending iprpc pool + reorder code that ibc-transfer is last in middleware * CNS-965: migrator for IbcIprpcExpiration param * CNS-965: make expired pending iprpc funds be taken from the pending pool * CNS-965: small fixes * feat: IPRPC over IBC: Part 4 - CNS-966: pending ibc iprpc fund query (#1457) * CNS-966: implemented pending ibc iprpc query + unit test * CNS-966: fix help section * feat: IPRPC over IBC: Part 5 - CNS-967: Cover pending IBC IPRPC fund costs (#1470) * CNS-967: implement cover ibc iprpc funds TX * CNS-967: make gov module not pay min cost * CNS-967: unit test * CNS-967: partial merge from CNS-966 * CNS-967: small fixes * feat: IPRPC over IBC: Part 6 - CNS-968: IBC middleware testing (#1481) * CNS-968: add mock transfer keeper and IBC middleware to tester * CNS-968: change middleware success ack and move create iprpc memo to types * CNS-968: create ibc transfer helper func for tests and update tests * CNS-968: lint fix * feat: IPRPC over IBC: Part 7 - CNS-969 update README (#1482) * CNS-969: improve comments * CNS-969: rename param and move event * CNS-969: update README * CNS-969: small comment fix
…ver IBC proposal (#1450) * CNS-964: generate ibc transfer tx cli * CNS-964: PR fixes * CNS-964: lint fix * CNS-964: replace generate-ibc-transfer with submit-ibc-transfer * feat: IPRPC over IBC: Part 3 - CNS-965: Pending IPRPC IBC fund (#1452) * CNS-965: scaffold param IbcIprpcExpiration * CNS-965: create pending iprpc fund * CNS-965: fix unit tests * CNS-965: move pending iprpc to seperate files and add IsExpired * CNS-965: renamed to PendingIbcIprpcFund + bug fixes * CNS-965: unit tests * CNS-965: remove expired PendingIbcIprpcFunds in begin block * CNS-965: unit tests * CNS-965: comment * CNS-965: divide fund when creating a new pending ibc iprpc fund * CNS-965: lint fix * CNS-965: fixes * CNS-965: add events * CNS-965: fixes after merge * CNS-965: revert ibc transfer in case of middleware failure * CNS-965: pending iprpc pool + reorder code that ibc-transfer is last in middleware * CNS-965: migrator for IbcIprpcExpiration param * CNS-965: make expired pending iprpc funds be taken from the pending pool * CNS-965: small fixes * feat: IPRPC over IBC: Part 4 - CNS-966: pending ibc iprpc fund query (#1457) * CNS-966: implemented pending ibc iprpc query + unit test * CNS-966: fix help section * feat: IPRPC over IBC: Part 5 - CNS-967: Cover pending IBC IPRPC fund costs (#1470) * CNS-967: implement cover ibc iprpc funds TX * CNS-967: make gov module not pay min cost * CNS-967: unit test * CNS-967: partial merge from CNS-966 * CNS-967: small fixes * feat: IPRPC over IBC: Part 6 - CNS-968: IBC middleware testing (#1481) * CNS-968: add mock transfer keeper and IBC middleware to tester * CNS-968: change middleware success ack and move create iprpc memo to types * CNS-968: create ibc transfer helper func for tests and update tests * CNS-968: lint fix * feat: IPRPC over IBC: Part 7 - CNS-969 update README (#1482) * CNS-969: improve comments * CNS-969: rename param and move event * CNS-969: update README * CNS-969: small comment fix
In this PR, I implemented the
cover-ibc-iprpc-fund-cost
TX. This TX allows a lava user to sendulava
to cover the minimum IPRPC funding cost for a specific PendingIbcIprpcFund (by index).This TX automatically takes the required cost, funds the IPRPC pools, deletes the PendingIbcIprpcFund object and sends leftovers to the community pool. If the TX is issued by the gov module (using a proposal), the PendingIbcIprpcFund is applied without paying the minimum IPRPC cost.