-
Notifications
You must be signed in to change notification settings - Fork 0
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: reverse extra args completion #158
Conversation
🦋 Changeset detectedLatest commit: 2c79cd5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
src/xchain/modules/folks-gmp.ts
Outdated
extraArgs: ReverseMessageExtraArgs | undefined, | ||
extraArgs: Partial<ReverseMessageExtraArgs> | undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there should be the option to pass extra args for the return gas limit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve #141 Resolve #156 Resolve: > Should subtract from msgValue the existing account's bridge router balanace for retry when a return message is needed > Should subtract from msgValue the existing account's bridge router balanace for reverse - Added completion of retry extraArgs when missing - Added check on retryable actions - Refactored actions types - Added utils to calc requires msg value
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @folks-finance/[email protected] ### Patch Changes - [#158](#158) [`deef6ce`](deef6ce) Thanks [@palace22](https://github.com/palace22)! - Added retry and reverse msg value estimation considering bridge router balance - [#163](#163) [`468f2d6`](468f2d6) Thanks [@palace22](https://github.com/palace22)! - Fixed retry and reverse message to send - [#158](#158) [`deef6ce`](deef6ce) Thanks [@palace22](https://github.com/palace22)! - Added reverse extra args completion with gas limit estimation - [#158](#158) [`deef6ce`](deef6ce) Thanks [@palace22](https://github.com/palace22)! - Updated SendTokenMessageData to not have the extraneous value folksTokenId - [#158](#158) [`deef6ce`](deef6ce) Thanks [@palace22](https://github.com/palace22)! - Added retry extra args completion with gas limit estimation Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Resolve #140
extraArgs
when missingSendTokenMessageData
to not containfolksTokenId
payload
anddata