-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Bubblegum script testing and add
unverify_creator
and `update_m…
…etadata` test scenarios using devnet txs (metaplex-foundation#165)
- Loading branch information
Showing
39 changed files
with
484 additions
and
85 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
12 changes: 12 additions & 0 deletions
12
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_delegate_transfer_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x5aed3f1d3faf9f5f4664f98055d25627d59d0351ee8f0802ebbb33ccd8220d67 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 226274127 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
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
12 changes: 12 additions & 0 deletions
12
...legum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x4302561a2799244936a3b020569bf90f58cd9b406af4cd084a82a2cf6415a8f0 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 224494461 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
28 changes: 0 additions & 28 deletions
28
...um_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_reverse.txt
This file was deleted.
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
12 changes: 12 additions & 0 deletions
12
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x4582ef313005487b924213937300a3c5cef8502646c8c182a2a9e1188adb196b | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 224069842 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
28 changes: 0 additions & 28 deletions
28
...txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_reverse.txt
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...orwarder/bubblegum_tests/test_scenario_data/mint_set_and_verify_collection_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x1679ec700d2cf85da62294237cedf6b7c57ea3a28940ec152c3c6a65c271f9a3 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 232170413 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
12 changes: 12 additions & 0 deletions
12
.../bubblegum_tests/test_scenario_data/mint_to_collection_unverify_collection_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x18e8b7e61a39441667dc71c6c44b0a7966612af1428740bb00dcce262ba00673 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 232178646 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
12 changes: 12 additions & 0 deletions
12
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_burn_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \x75d2c89f62f8a50ed994309655bbd27de2c5f0b3da4cf8c329320016b47aa3d1 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 221559431 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
12 changes: 12 additions & 0 deletions
12
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_transfer_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \xca35c69cd4d5bb853a93e4e76526be26cf5951982653cf653d9dddac5e5ac797 | ||
chain_data_mutability | immutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 224501105 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
2 changes: 2 additions & 0 deletions
2
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator.scenario
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,2 @@ | ||
9p6KdujGH7QrHf83kU72QFj7RopnBAa9kgJTqR23uf5dcBbRz12guig8bBjnhAF9qymjG8ukLG3Khgyus7Hj2PJ | ||
3zxBpoudkNtmnHEDLg5jyfHuRJhFz6HiUxa1g8pqLUyboYCbmGRqAq1h85SDpESETxdtPo17BPDtTQS2YHqQKaao |
28 changes: 28 additions & 0 deletions
28
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset.txt
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,28 @@ | ||
-[ RECORD 1 ]-------------+------------------------------------------------------------------- | ||
id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 | ||
alt_id | | ||
specification_version | v1 | ||
specification_asset_class | NFT | ||
owner | \xdc53343c46e5d7a1bd08f4780285621202f66b596f984e940a5eb423ac560fed | ||
owner_type | single | ||
delegate | | ||
frozen | f | ||
supply | 1 | ||
supply_mint | | ||
compressed | t | ||
compressible | f | ||
seq | 2 | ||
tree_id | \x20fbd4120c7aa919cd7eeb145c35cbec14742170df1361e0c1504c278ecf0dbb | ||
leaf | \x162ee13e1c60c989dd3834618aece0a3a7f6b24b4815bb7f8eb8a186dd11867d | ||
nonce | 0 | ||
royalty_target_type | creators | ||
royalty_target | | ||
royalty_amount | 0 | ||
asset_data | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 | ||
burnt | f | ||
slot_updated | 275704003 | ||
data_hash | BVPXiaGg74xazp8NvjtE6ypLeMsSwSt6Cvc7V2FJvmXd | ||
creator_hash | 6CTqFz9shqciWHtCeeS2kQwtctm6mZbkUjFtPpP51VvW | ||
owner_delegate_seq | 2 | ||
leaf_seq | 2 | ||
base_info_seq | 1 |
8 changes: 8 additions & 0 deletions
8
...txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_creators.txt
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,8 @@ | ||
-[ RECORD 1 ]+------------------------------------------------------------------- | ||
asset_id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 | ||
creator | \xdc53343c46e5d7a1bd08f4780285621202f66b596f984e940a5eb423ac560fed | ||
share | 100 | ||
verified | f | ||
seq | 2 | ||
slot_updated | 275704005 | ||
position | 0 |
12 changes: 12 additions & 0 deletions
12
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_data.txt
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,12 @@ | ||
-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- | ||
id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 | ||
chain_data_mutability | mutable | ||
chain_data | {"name": "test", "symbol": "TST", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} | ||
metadata_url | https://metaplex.com | ||
metadata_mutability | mutable | ||
metadata | "processing" | ||
slot_updated | 275704003 | ||
reindex | t | ||
raw_name | \x74657374 | ||
raw_symbol | \x545354 | ||
base_info_seq | 1 |
8 changes: 8 additions & 0 deletions
8
...txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_grouping.txt
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,8 @@ | ||
-[ RECORD 1 ]--+------------------------------------------------------------------- | ||
asset_id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 | ||
group_key | collection | ||
group_value | | ||
seq | | ||
slot_updated | 275704003 | ||
verified | f | ||
group_info_seq | 1 |
7 changes: 7 additions & 0 deletions
7
tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_cl_items.txt
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,7 @@ | ||
tree | node_idx | leaf_idx | seq | level | hash | ||
--------------------------------------------------------------------+----------+----------+-----+-------+-------------------------------------------------------------------- | ||
\x20fbd4120c7aa919cd7eeb145c35cbec14742170df1361e0c1504c278ecf0dbb | 8 | 0 | 2 | 0 | \x162ee13e1c60c989dd3834618aece0a3a7f6b24b4815bb7f8eb8a186dd11867d | ||
\x20fbd4120c7aa919cd7eeb145c35cbec14742170df1361e0c1504c278ecf0dbb | 4 | | 2 | 1 | \xab9b631b333d83a92c4c943113ea0dc9d26e7eb7b056a762eb7dbeeb5a40ee53 | ||
\x20fbd4120c7aa919cd7eeb145c35cbec14742170df1361e0c1504c278ecf0dbb | 2 | | 2 | 2 | \x7c1e4d6f2b2aa08d4d19b688c43352ecf568029805ca0feeea1cafea967747e8 | ||
\x20fbd4120c7aa919cd7eeb145c35cbec14742170df1361e0c1504c278ecf0dbb | 1 | | 2 | 3 | \x9f9b18c1be658a116eb083b5d58365bc9519e1a8c0e7b79c235c65588dff707d | ||
(4 rows) |
2 changes: 2 additions & 0 deletions
2
.../bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2.scenario
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,2 @@ | ||
2DP84v6Pi3e4v5i7KSvzmK4Ufbzof3TAiEqDbm9gg8jZpBRF9f1Cy6x54kvZoHPX9k1XfqbsG1FTv2KVP9fvNrN6 | ||
3bsL5zmLKvhN9Je4snTKxjFSpmXEEg2cvMHm2rCNgaEYkNXBqJTA4N7QmvBSWPiNUQPtzJSYzpQYX92NowV3L7vN |
Oops, something went wrong.