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

test: non-refundable forwards dummy module #144

Merged
merged 11 commits into from
Nov 24, 2023

Conversation

Reecepbcups
Copy link
Member

@Reecepbcups Reecepbcups commented Nov 20, 2023

This module wraps PacketFoward. It modifies the inflight packet to be NonRefundable=true in the simapp.

Merges into #143

@agouin agouin marked this pull request as ready for review November 24, 2023 19:13
@agouin agouin merged commit 804cc73 into andrew/non-refundable-recovery Nov 24, 2023
4 checks passed
@agouin agouin deleted the dummy_middleware branch November 24, 2023 19:13
agouin added a commit that referenced this pull request Nov 24, 2023
* User recovery mechanism for non-refundable forwards

* handle recovery of funds that did not originate on the intermediate chain

* mocks

* test: non-refundable forwards dummy module (#144)

* wip: add dummy middleware to modify packets

* rm unused

* force inFlightPacket.Nonrefundable = true

* dummyware.AppModuleBasic

* test: create non-refundable pfm test cases

* Get source originating tests passing

* remove parallel

* lint

* fix test, update comments

* fix final test

---------

Co-authored-by: Justin Tieri <[email protected]>
Co-authored-by: Andrew Gouin <[email protected]>

* Remove unnecessary makefile

---------

Co-authored-by: Reece Williams <[email protected]>
Co-authored-by: Justin Tieri <[email protected]>
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.

3 participants