-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
389 additions
and
183 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## SPL Token 2022 Program Tests | ||
|
||
All of the end-to-end tests for spl-token-2022 exist in this directory. | ||
|
||
### Requirements | ||
|
||
These tests require other built on-chain programs, including: | ||
|
||
* spl-instruction-padding | ||
* spl-transfer-hook-example | ||
* spl-transfer-hook-example-downgrade | ||
* spl-transfer-hook-example-fail | ||
* spl-transfer-hook-example-success | ||
* spl-transfer-hook-example-swap | ||
* spl-transfer-hook-example-swap-with-fee | ||
|
||
Built versions of these programs exist in `tests/fixtures`, and may be | ||
regenerated from the following places in this repo: | ||
|
||
* instruction-padding/program | ||
* token/transfer-hook/example | ||
* token/program-2022-test/transfer-hook-test-programs/downgrade | ||
* token/program-2022-test/transfer-hook-test-programs/fail | ||
* token/program-2022-test/transfer-hook-test-programs/success | ||
* token/program-2022-test/transfer-hook-test-programs/swap | ||
* token/program-2022-test/transfer-hook-test-programs/swap-with-fee |
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.9 KB
token/program-2022-test/tests/fixtures/spl_transfer_hook_example_downgrade.so
Binary file not shown.
Binary file added
BIN
+18.3 KB
token/program-2022-test/tests/fixtures/spl_transfer_hook_example_fail.so
Binary file not shown.
Binary file added
BIN
+17.3 KB
token/program-2022-test/tests/fixtures/spl_transfer_hook_example_success.so
Binary file not shown.
Binary file added
BIN
+68.3 KB
token/program-2022-test/tests/fixtures/spl_transfer_hook_example_swap.so
Binary file not shown.
Binary file added
BIN
+71 KB
token/program-2022-test/tests/fixtures/spl_transfer_hook_example_swap_with_fee.so
Binary file not shown.
Oops, something went wrong.