update the gmp precompile as it now accepts a v2 user versioned action#742
Merged
update the gmp precompile as it now accepts a v2 user versioned action#742
Conversation
Contributor
|
Hi @eshaben , I've updated my example code in my repository, which changes the way that the types are handled (the "right" way, using package defined objects). It includes support for the fee in the payload and it also includes support for encoding with MultiLocation V3, which is important for future proofing the code. This is all in typescript, so let me know if you need a javascript version. |
Contributor
Author
|
@themacexpert made some changes here, so although you already approved i would appreciate it if you could take a look at the changes! thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
As of Runtime 2500, a new fee mechanism has been added for the GMP precompile, which is implemented in the V2 VersionedUserAction. This PR updates the GMP precompile page and snippet for creating a V2 payload.
Checklist
moonbeam-docs-cnrepo, I have created a ticket for the translations in JiraAfter Translation Requirements