forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: meta transaction FT transfer (near#8564)
This is the example used for NEP-366, an FT transfer paid by the relayer but the relayer gets a reward in FT. Adds `fungible_token.wasm` as a test contract, which is the example implementation of NEP-141 in the near-sdk-rs repository. We deploy this WASM, initialize the state to make an FT transfer possible and then execute a meta transaction as intended. This makes gas checks in meta transaction tests even more annoying but otherwise the existing test framework mostly just worked.
- Loading branch information
Showing
5 changed files
with
212 additions
and
18 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
Binary file not shown.
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