diff --git a/tools/txn_forwarder/bubblegum_tests/run-bubblegum-sequences.sh b/tools/txn_forwarder/bubblegum_tests/run-bubblegum-sequences.sh index 137158455..a141bd519 100755 --- a/tools/txn_forwarder/bubblegum_tests/run-bubblegum-sequences.sh +++ b/tools/txn_forwarder/bubblegum_tests/run-bubblegum-sequences.sh @@ -1,11 +1,14 @@ #!/bin/bash # Pass `reverse` to run scenarios in reverse. -if [ "$1" = "reverse" ]; then - REVERSE="true" -else - REVERSE="false" -fi +case $1 in + "reverse"|"--reverse"|"-r") + REVERSE="true" + ;; + *) + REVERSE="false" + ;; +esac SCENARIOS=("mint_transfer_burn.scenario" \ "mint_redeem_decompress.scenario" @@ -13,10 +16,14 @@ SCENARIOS=("mint_transfer_burn.scenario" \ "mint_transfer_transfer.scenario" \ "mint_delegate_transfer.scenario" \ "mint_verify_creator.scenario" \ +"mint_unverify_creator.scenario" \ "mint_verify_collection.scenario" \ "mint_verify_collection_unverify_collection.scenario" \ "mint_set_and_verify_collection.scenario" \ -"mint_to_collection_unverify_collection.scenario" +"mint_to_collection_unverify_collection.scenario" \ +"mint_verify_creator_unverify_creator_update_metadata.scenario" \ +"mint_update_metadata_creator_position_3_to_2.scenario" \ +"mint_update_metadata_remove_all_creators.scenario" ) TEST_SCENARIO_DATA_DIR="test_scenario_data" @@ -59,13 +66,6 @@ CHECK_DATABASE() { # If successful, prints contents of file on stdout and returns 0, otherwise returns 1. READ_IN_EXPECTED_DATA() { local BASE_NAME=$(basename "$1" .scenario) - if [ "$REVERSE" = "true" ]; then - local EXPECTED_DATA_FILE_BW="$TEST_SCENARIO_DATA_DIR/${BASE_NAME}_"$2"_reverse.txt" - if [ -f "$EXPECTED_DATA_FILE_BW" ]; then - cat "$EXPECTED_DATA_FILE_BW" - return 0 - fi - fi local EXPECTED_DATA_FILE="$TEST_SCENARIO_DATA_DIR/${BASE_NAME}_"$2".txt" if [ -f "$EXPECTED_DATA_FILE" ]; then @@ -90,6 +90,7 @@ STATUS=0 for i in ${!SCENARIOS[@]}; do # Read in the expected database data for this scenario. EXPECTED_ASSET_VALUE=$(READ_IN_EXPECTED_DATA "${SCENARIOS[$i]}" "asset") || { STATUS=1; continue; } + EXPECTED_ASSET_DATA_VALUE=$(READ_IN_EXPECTED_DATA "${SCENARIOS[$i]}" "asset_data") || { STATUS=1; continue; } EXPECTED_ASSET_CREATORS=$(READ_IN_EXPECTED_DATA "${SCENARIOS[$i]}" "asset_creators") || { STATUS=1; continue; } EXPECTED_ASSET_GROUPING=$(READ_IN_EXPECTED_DATA "${SCENARIOS[$i]}" "asset_grouping") || { STATUS=1; continue; } EXPECTED_CL_ITEMS=$(READ_IN_EXPECTED_DATA "${SCENARIOS[$i]}" "cl_items") || { STATUS=1; continue; } @@ -116,6 +117,9 @@ for i in ${!SCENARIOS[@]}; do ASSET_SQL="SELECT * FROM asset WHERE id = '$ASSET_ID';" CHECK_DATABASE "$ASSET_SQL" "-x" "(0 rows)" "initial asset table state" || STATUS=1 + ASSET_DATA_SQL="SELECT * FROM asset_data WHERE id = '$ASSET_ID';" + CHECK_DATABASE "$ASSET_DATA_SQL" "-x" "(0 rows)" "initial asset table state" || STATUS=1 + ASSET_CREATORS_SQL="SELECT asset_id, creator, share, verified, seq, slot_updated, position \ FROM asset_creators \ WHERE asset_id = '$ASSET_ID' \ @@ -134,6 +138,12 @@ for i in ${!SCENARIOS[@]}; do # in order to enforce order. Just calling the `txn_forwarder` with the file results in random ordering. readarray -t TXS < "$TEST_SCENARIO_DATA_DIR/${SCENARIOS[$i]}" + if [ ${#TXS[@]} = 0 ]; then + echo $(RED "No scenarios found for ${SCENARIOS[$i]}!") + STATUS=1 + continue + fi + # Reverse transactions if necessary. if [ "$REVERSE" = "true" ]; then REVERSED_TXS=() @@ -157,6 +167,7 @@ for i in ${!SCENARIOS[@]}; do # Asset should now be in the database and all fields match (except `created_at` in `asset`` table). CHECK_DATABASE "$ASSET_SQL" "-x" "$EXPECTED_ASSET_VALUE" "asset table" || STATUS=1 + CHECK_DATABASE "$ASSET_DATA_SQL" "-x" "$EXPECTED_ASSET_DATA_VALUE" "asset_data table" || STATUS=1 CHECK_DATABASE "$ASSET_CREATORS_SQL" "-x" "$EXPECTED_ASSET_CREATORS" "asset_creators table" || STATUS=1 CHECK_DATABASE "$ASSET_GROUPING_SQL" "-x" "$EXPECTED_ASSET_GROUPING" "asset_grouping table" || STATUS=1 CHECK_DATABASE "$CL_ITEMS_SQL" "" "$EXPECTED_CL_ITEMS" "cl_items table" || STATUS=1 diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_delegate_transfer_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_delegate_transfer_asset_data.txt new file mode 100644 index 000000000..d6f59b9fe --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_delegate_transfer_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset.txt index 339fcbb80..52789acd2 100644 --- a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset.txt +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset.txt @@ -8,12 +8,12 @@ owner_type | single delegate | frozen | f supply | 1 -supply_mint | \x4302561a2799244936a3b020569bf90f58cd9b406af4cd084a82a2cf6415a8f0 -compressed | f +supply_mint | +compressed | t compressible | f -seq | 0 -tree_id | -leaf | +seq | 4 +tree_id | \xf8bf1069ff226eb41797417535cc5510ec75ffd006155dbda2371b5fee88bf7d +leaf | \x0000000000000000000000000000000000000000000000000000000000000000 nonce | 0 royalty_target_type | creators royalty_target | @@ -21,8 +21,8 @@ royalty_amount | 0 asset_data | \x4302561a2799244936a3b020569bf90f58cd9b406af4cd084a82a2cf6415a8f0 burnt | f slot_updated | 224494461 -data_hash | -creator_hash | +data_hash | 11111111111111111111111111111111 +creator_hash | 11111111111111111111111111111111 owner_delegate_seq | 3 -leaf_seq | +leaf_seq | 4 base_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_data.txt new file mode 100644 index 000000000..00870eacc --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_reverse.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_reverse.txt deleted file mode 100644 index d0b1eaaef..000000000 --- a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_cancel_redeem_redeem_decompress_asset_reverse.txt +++ /dev/null @@ -1,28 +0,0 @@ --[ RECORD 1 ]-------------+------------------------------------------------------------------- -id | \x4302561a2799244936a3b020569bf90f58cd9b406af4cd084a82a2cf6415a8f0 -alt_id | -specification_version | -specification_asset_class | -owner | -owner_type | single -delegate | -frozen | f -supply | 1 -supply_mint | \x4302561a2799244936a3b020569bf90f58cd9b406af4cd084a82a2cf6415a8f0 -compressed | f -compressible | f -seq | 0 -tree_id | -leaf | -nonce | 0 -royalty_target_type | creators -royalty_target | -royalty_amount | 0 -asset_data | -burnt | f -slot_updated | -data_hash | -creator_hash | -owner_delegate_seq | -leaf_seq | -base_info_seq | \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset.txt index 3218c44f8..02a6ff31e 100644 --- a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset.txt +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset.txt @@ -8,12 +8,12 @@ owner_type | single delegate | frozen | f supply | 1 -supply_mint | \x4582ef313005487b924213937300a3c5cef8502646c8c182a2a9e1188adb196b -compressed | f +supply_mint | +compressed | t compressible | f -seq | 0 -tree_id | -leaf | +seq | 2 +tree_id | \x85de015db25b997c2c2dc80baa680016bf82c1d748a1c69361a54daee5c4e561 +leaf | \x0000000000000000000000000000000000000000000000000000000000000000 nonce | 0 royalty_target_type | creators royalty_target | @@ -21,8 +21,8 @@ royalty_amount | 0 asset_data | \x4582ef313005487b924213937300a3c5cef8502646c8c182a2a9e1188adb196b burnt | f slot_updated | 224069842 -data_hash | -creator_hash | +data_hash | 11111111111111111111111111111111 +creator_hash | 11111111111111111111111111111111 owner_delegate_seq | 1 -leaf_seq | +leaf_seq | 2 base_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_data.txt new file mode 100644 index 000000000..fad0c4bc5 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_reverse.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_reverse.txt deleted file mode 100644 index 0b7b6deef..000000000 --- a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_redeem_decompress_asset_reverse.txt +++ /dev/null @@ -1,28 +0,0 @@ --[ RECORD 1 ]-------------+------------------------------------------------------------------- -id | \x4582ef313005487b924213937300a3c5cef8502646c8c182a2a9e1188adb196b -alt_id | -specification_version | -specification_asset_class | -owner | -owner_type | single -delegate | -frozen | f -supply | 1 -supply_mint | \x4582ef313005487b924213937300a3c5cef8502646c8c182a2a9e1188adb196b -compressed | f -compressible | f -seq | 0 -tree_id | -leaf | -nonce | 0 -royalty_target_type | creators -royalty_target | -royalty_amount | 0 -asset_data | -burnt | f -slot_updated | -data_hash | -creator_hash | -owner_delegate_seq | -leaf_seq | -base_info_seq | \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_set_and_verify_collection_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_set_and_verify_collection_asset_data.txt new file mode 100644 index 000000000..630166259 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_set_and_verify_collection_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_to_collection_unverify_collection_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_to_collection_unverify_collection_asset_data.txt new file mode 100644 index 000000000..d8f71e95b --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_to_collection_unverify_collection_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_burn_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_burn_asset_data.txt new file mode 100644 index 000000000..d82c4071b --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_burn_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_transfer_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_transfer_asset_data.txt new file mode 100644 index 000000000..54119c7a0 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_transfer_transfer_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator.scenario b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator.scenario new file mode 100644 index 000000000..549d20cc7 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator.scenario @@ -0,0 +1,2 @@ +9p6KdujGH7QrHf83kU72QFj7RopnBAa9kgJTqR23uf5dcBbRz12guig8bBjnhAF9qymjG8ukLG3Khgyus7Hj2PJ +3zxBpoudkNtmnHEDLg5jyfHuRJhFz6HiUxa1g8pqLUyboYCbmGRqAq1h85SDpESETxdtPo17BPDtTQS2YHqQKaao diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset.txt new file mode 100644 index 000000000..09d2071e6 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_creators.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_creators.txt new file mode 100644 index 000000000..c1c9f5498 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_creators.txt @@ -0,0 +1,8 @@ +-[ RECORD 1 ]+------------------------------------------------------------------- +asset_id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 +creator | \xdc53343c46e5d7a1bd08f4780285621202f66b596f984e940a5eb423ac560fed +share | 100 +verified | f +seq | 2 +slot_updated | 275704005 +position | 0 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_data.txt new file mode 100644 index 000000000..4bd03a131 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_data.txt @@ -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 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_grouping.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_grouping.txt new file mode 100644 index 000000000..5c1bb9f0d --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_asset_grouping.txt @@ -0,0 +1,8 @@ +-[ RECORD 1 ]--+------------------------------------------------------------------- +asset_id | \xdee18b450d1a279ad5ab41f17c2daccbf827f82113c32f08573872ef05869cb8 +group_key | collection +group_value | +seq | +slot_updated | 275704003 +verified | f +group_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_cl_items.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_cl_items.txt new file mode 100644 index 000000000..2f7f2b3a4 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_unverify_creator_cl_items.txt @@ -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) \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2.scenario b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2.scenario new file mode 100644 index 000000000..a4ab85b4d --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2.scenario @@ -0,0 +1,2 @@ +2DP84v6Pi3e4v5i7KSvzmK4Ufbzof3TAiEqDbm9gg8jZpBRF9f1Cy6x54kvZoHPX9k1XfqbsG1FTv2KVP9fvNrN6 +3bsL5zmLKvhN9Je4snTKxjFSpmXEEg2cvMHm2rCNgaEYkNXBqJTA4N7QmvBSWPiNUQPtzJSYzpQYX92NowV3L7vN diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset.txt new file mode 100644 index 000000000..f27ab7bfc --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset.txt @@ -0,0 +1,28 @@ +-[ RECORD 1 ]-------------+------------------------------------------------------------------- +id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +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 | \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb +leaf | \x33b0cb3f14cc038d6736b52ce2a75eaa40a226bc1d582fca701a1146c55964e4 +nonce | 0 +royalty_target_type | creators +royalty_target | +royalty_amount | 0 +asset_data | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +burnt | f +slot_updated | 273252293 +data_hash | 3TV3EEhP7QrfHJ1GnsuqVo3mTbPsLMgtmqV3tLnh3HQq +creator_hash | 2gYtfk9rgoFMgepLuQkMiPAmXnmG7kFh9VgMDPPcHMjY +owner_delegate_seq | 1 +leaf_seq | 2 +base_info_seq | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_creators.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_creators.txt new file mode 100644 index 000000000..e38540959 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_creators.txt @@ -0,0 +1,24 @@ +-[ RECORD 1 ]+------------------------------------------------------------------- +asset_id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +creator | \xdc53343c46e5d7a1bd08f4780285621202f66b596f984e940a5eb423ac560fed +share | 50 +verified | t +seq | 2 +slot_updated | 273252293 +position | 0 +-[ RECORD 2 ]+------------------------------------------------------------------- +asset_id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +creator | \x22bf65940c430032a3b25503d8bc294ea1ec5b212ef32b85209eb9ab95ac5c5c +share | 50 +verified | f +seq | 2 +slot_updated | 273252293 +position | 1 +-[ RECORD 3 ]+------------------------------------------------------------------- +asset_id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +creator | \x22bf65940c430032a3b25503d8bc294ea1ec5b212ef32b85209eb9ab95ac5c5c +share | 10 +verified | f +seq | 1 +slot_updated | 273252291 +position | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_data.txt new file mode 100644 index 000000000..3cf241b6b --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- +id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +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 | 273252293 +reindex | t +raw_name | \x74657374 +raw_symbol | \x545354 +base_info_seq | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_grouping.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_grouping.txt new file mode 100644 index 000000000..00cf15ae3 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_asset_grouping.txt @@ -0,0 +1,8 @@ +-[ RECORD 1 ]--+------------------------------------------------------------------- +asset_id | \xd4f2620a226cb8bd6889d7c27d7164d3bd7f38ab7f39ca9276e237aa68b40ef3 +group_key | collection +group_value | +seq | +slot_updated | 273252291 +verified | f +group_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_cl_items.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_cl_items.txt new file mode 100644 index 000000000..465fa6fe9 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_creator_position_3_to_2_cl_items.txt @@ -0,0 +1,18 @@ + tree | node_idx | leaf_idx | seq | level | hash +--------------------------------------------------------------------+----------+----------+-----+-------+-------------------------------------------------------------------- + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 16384 | 0 | 2 | 0 | \x33b0cb3f14cc038d6736b52ce2a75eaa40a226bc1d582fca701a1146c55964e4 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 8192 | | 2 | 1 | \x7e04723facf5f22bee485d88d46c7fce264d9fa1290449387f2433930dae1bac + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 4096 | | 2 | 2 | \xbb5f6cb872b1cbadea352f554bded2ae5c23b52d663efffdad04f2e45c07cd79 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 2048 | | 2 | 3 | \x2c338ceb11c4d5163884e12ecb54514cd626509783d1354cbf858002ca4a1b27 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 1024 | | 2 | 4 | \x9589e789e63888766e00f7923995c76be1255a69f57d367055c03696578bafc4 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 512 | | 2 | 5 | \xfe4e10c18d814b3a5c208ad45799c250fb04243e0efbd2a57aa16c4a5c18940b + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 256 | | 2 | 6 | \xf50c1cd3c817e4c9c56a9c7fd4bb783ee1f2cf29a641032697394a1887a6e4f1 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 128 | | 2 | 7 | \xc563316a6d26a42af587e60689555432034137c89a4d7c65dd5e8d0ae36a27ed + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 64 | | 2 | 8 | \xaa5dc3302a1834cdb8461dfc3846685eec866d24b07754bb744bf15d6a67f599 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 32 | | 2 | 9 | \x2185f4f94e3d98e8af0ba3403a76f83f19bd97523c9fc183fc06f5260c341636 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 16 | | 2 | 10 | \xc1afe453c633e9b0b7b47bfcfdf080bb0824cd551da061075b54c5023718104a + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 8 | | 2 | 11 | \x75487e95677f481128e0f6911a3f17cdb8ba12f49ed4c4eb99b76b2192aae193 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 4 | | 2 | 12 | \x8ce6dc73978ed82b4765b3903c37ba6c1c7ddfcf39f4bded0bb67916095541e1 + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 2 | | 2 | 13 | \x940b97aff3da16c196f35e35ba6f007a597db410cb069c9f2d08aa569ca0075e + \xcff81c634587e81175fc4510b6f52ce369df67dc422fa98e74498567031facfb | 1 | | 2 | 14 | \xe2990abc12137e921a034b4715b8a735ff785560b5640665bd358a9dc4051ae8 +(15 rows) \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators.scenario b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators.scenario new file mode 100644 index 000000000..f55add76d --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators.scenario @@ -0,0 +1,2 @@ +2qMQrXfRE7pdnjwobWeqDkEhsv6MYmv3JdgvNxTVaL1VrMCZ4JYkUnu7jiJb2etX3W9WyQgSxktUgn9skxCeqTo5 +41YW187sn6Z2dXfqz6zSbnPtQoE826cCSgTLnMLKa9rH1xrCqAXBQNwKnzjGc9wjU5RtMCqKhy2eMN2TjuYC8veB diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset.txt new file mode 100644 index 000000000..7ed1c8cb2 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset.txt @@ -0,0 +1,28 @@ +-[ RECORD 1 ]-------------+------------------------------------------------------------------- +id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +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 | \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 +leaf | \xac5fe4199386939d6e16980c6631f5aee3d4e785d8e8c81f7f4b24375dc09715 +nonce | 0 +royalty_target_type | creators +royalty_target | +royalty_amount | 0 +asset_data | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +burnt | f +slot_updated | 274904443 +data_hash | FsRoJdPqF4xJczL35QG1aQQG7g7DBZK1VF9Qs8zexssc +creator_hash | EKDHSGbrGztomDfuiV4iqiZ6LschDJPsFiXjZ83f92Md +owner_delegate_seq | 1 +leaf_seq | 2 +base_info_seq | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_creators.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_creators.txt new file mode 100644 index 000000000..203687136 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_creators.txt @@ -0,0 +1,24 @@ +-[ RECORD 1 ]+------------------------------------------------------------------- +asset_id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +creator | \x +share | 100 +verified | f +seq | 2 +slot_updated | 274904443 +position | 0 +-[ RECORD 2 ]+------------------------------------------------------------------- +asset_id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +creator | \x7e634ab53f7e263e20369a9318cce576f6dc4290bf288a65fcb99cfa2d993a88 +share | 40 +verified | f +seq | 1 +slot_updated | 274904440 +position | 1 +-[ RECORD 3 ]+------------------------------------------------------------------- +asset_id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +creator | \x78a7b5d0375ecc3a5f98d835a0e675784f5b1886e23c22f04faea4b0f7043791 +share | 10 +verified | f +seq | 1 +slot_updated | 274904440 +position | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_data.txt new file mode 100644 index 000000000..20859c476 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- +id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +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 | 274904443 +reindex | t +raw_name | \x74657374 +raw_symbol | \x545354 +base_info_seq | 2 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_grouping.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_grouping.txt new file mode 100644 index 000000000..5903334ea --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_asset_grouping.txt @@ -0,0 +1,8 @@ +-[ RECORD 1 ]--+------------------------------------------------------------------- +asset_id | \xe96440d0b5eeaf5aba535fe1648286f62e2f75708b818e627ad80e3552bc48d4 +group_key | collection +group_value | +seq | +slot_updated | 274904440 +verified | f +group_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_cl_items.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_cl_items.txt new file mode 100644 index 000000000..ae2bcb76c --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_update_metadata_remove_all_creators_cl_items.txt @@ -0,0 +1,18 @@ + tree | node_idx | leaf_idx | seq | level | hash +--------------------------------------------------------------------+----------+----------+-----+-------+-------------------------------------------------------------------- + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 16384 | 0 | 2 | 0 | \xac5fe4199386939d6e16980c6631f5aee3d4e785d8e8c81f7f4b24375dc09715 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 8192 | | 2 | 1 | \x59455e151faf43e219713d6d0a97e3d8cad631bef65c3437bfad73b5c94581e0 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 4096 | | 2 | 2 | \xaf856cf80d154acdaf9ef596b0d57ff53c0f6df4dbaccce6571c7911ec88e262 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 2048 | | 2 | 3 | \x2f4af1825c48ffa7cc418d7cbcfd9d6228f6f744f879597948c94754438a0db5 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 1024 | | 2 | 4 | \x301b97ffd07abdf59a9c2c29847821ec6aa8981b8b26429627869a46dc516e25 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 512 | | 2 | 5 | \xd479cd8efcaf55a3f381978780b1accdde610b584635c8e53ffa64da404e741c + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 256 | | 2 | 6 | \x7fea2b305fb21162e64aec4b834e5b1a23afc911704cc06cea0dc616b7c57932 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 128 | | 2 | 7 | \x88b96c2074211e85ea063942f552a5f43f2c4856608188576831a7b98603eb80 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 64 | | 2 | 8 | \x279e2b4e6601c9c4baddb2c619bab1899acfa0888314e6f1a8796d9b62fb71b6 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 32 | | 2 | 9 | \x861985b58c06e8d0b5725b442704c137498d29bca3d58765e8003e1a11f64059 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 16 | | 2 | 10 | \x07712d64c86f15926dc50ad10cb857919c38fca1042c649814e32ca1408382e8 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 8 | | 2 | 11 | \xeec6fa1d9125a6f679da3f6dcffadedeabd33cbe3876930b683e0d180194b8d8 + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 4 | | 2 | 12 | \x6cd990d504943ba416b838dc651d042642e3a1f8f1dca9cc49e39e349675253b + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 2 | | 2 | 13 | \x525f2e36c1a4b62b3a679f133b98d8f78fc7c5266274650ffccae242b423a62c + \x6dd5c87d569f34297b3aa21974489e3cd2d37199b41bd7b1a3bf8a84a9ce6223 | 1 | | 2 | 14 | \xc30a1a1b72112405ba29ebdea48f7befe5d0f39400b3fef14757a850da394aa4 +(15 rows) \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_asset_data.txt new file mode 100644 index 000000000..2b18ec640 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- +id | \x03b8abdca02da73970dd4e2ba783224108acff30f31db83c40d5638ce67fc102 +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 | 227661765 +reindex | t +raw_name | \x74657374 +raw_symbol | \x545354 +base_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_unverify_collection_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_unverify_collection_asset_data.txt new file mode 100644 index 000000000..80727f38d --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_collection_unverify_collection_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- +id | \x9f2817615e1440416649df6d4c4f5d71895a754e75ddf59ae01307e758f6a964 +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 | 232161591 +reindex | t +raw_name | \x74657374 +raw_symbol | \x545354 +base_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_asset_data.txt new file mode 100644 index 000000000..c3252dba1 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+----------------------------------------------------------------------------------------------------------------------- +id | \x482e7bf66656da08580e3e68051fc47817a836103ed90c67a12d71a2e40ce6da +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 | 226295481 +reindex | t +raw_name | \x74657374 +raw_symbol | \x545354 +base_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata.scenario b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata.scenario new file mode 100644 index 000000000..93699d840 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata.scenario @@ -0,0 +1,4 @@ +4431WTy69bV42BFveigKuhLBNk2JMMjANkjSL3FS6XRepeFWHzacrFJSi3nUvoT8gXNc78TG8CrhZjirkqpJfkmb +58SFGqM9FUMzsdDk5iHMrWcZs8M6isqSyNsWAYZs97HDRX6RdcyXncTtaSP6ygTEahy6KhBM2MKYZX1YZ6SZ3etV +MpbdbKsktcw4pMXCjDvqzYESQ8nGNcc55tbCYsbEB4kWZFEXLyoho7LVvskiMKPAcgWrRnUuTePGy6sFbtPnVrs +5DkVTkETyTQc7K1QdYHWraE1nMehHKjp5Lvjo5tZA26jR7m6wyPM7pLkB3JAdLfKDViSZdsUVgW4NZmHpYrcbAdx diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset.txt new file mode 100644 index 000000000..4a78f9acd --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset.txt @@ -0,0 +1,28 @@ +-[ RECORD 1 ]-------------+------------------------------------------------------------------- +id | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +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 | 4 +tree_id | \x04c910e5dd9d3e356fb8433ff386861b334f8a9295ff4bfb9e7dd68103c09b4a +leaf | \x9f938da6701da7f8a528d95457c260a2cbb5928159d517eee14c5bbce7cacc8b +nonce | 0 +royalty_target_type | creators +royalty_target | +royalty_amount | 0 +asset_data | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +burnt | f +slot_updated | 275334061 +data_hash | EqhuEA64Vpu9uyYDwtt6t7oZ8HE9o2nSVDCfseZPKA8e +creator_hash | BWqKwAqmKVrCQeD3ryPDZsNDffvfE5ttnPyphwpYBDmq +owner_delegate_seq | 3 +leaf_seq | 4 +base_info_seq | 4 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_creators.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_creators.txt new file mode 100644 index 000000000..ed21c3839 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_creators.txt @@ -0,0 +1,16 @@ +-[ RECORD 1 ]+------------------------------------------------------------------- +asset_id | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +creator | \xdc53343c46e5d7a1bd08f4780285621202f66b596f984e940a5eb423ac560fed +share | 55 +verified | t +seq | 4 +slot_updated | 275334061 +position | 0 +-[ RECORD 2 ]+------------------------------------------------------------------- +asset_id | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +creator | \xfca997d6bc87574b21398fe24a0f27688bf914cd7a043c9f7cc1004fd59c2ae5 +share | 45 +verified | f +seq | 4 +slot_updated | 275334061 +position | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_data.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_data.txt new file mode 100644 index 000000000..06fcbb48e --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_data.txt @@ -0,0 +1,12 @@ +-[ RECORD 1 ]---------+-------------------------------------------------------------------------------------------------------------------------------- +id | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +chain_data_mutability | mutable +chain_data | {"name": "NewName", "symbol": "NewSymbol", "edition_nonce": 0, "token_standard": "NonFungible", "primary_sale_happened": false} +metadata_url | https://foobar.com +metadata_mutability | mutable +metadata | "processing" +slot_updated | 275334061 +reindex | t +raw_name | \x4e65774e616d65 +raw_symbol | \x4e657753796d626f6c +base_info_seq | 4 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_grouping.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_grouping.txt new file mode 100644 index 000000000..55fc83196 --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_asset_grouping.txt @@ -0,0 +1,8 @@ +-[ RECORD 1 ]--+------------------------------------------------------------------- +asset_id | \x5954e9d4e0c6d3b06c8c749b2a341a52550b43439a8d9c301e3c1f42ad09f103 +group_key | collection +group_value | +seq | +slot_updated | 275334050 +verified | f +group_info_seq | 1 \ No newline at end of file diff --git a/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_cl_items.txt b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_cl_items.txt new file mode 100644 index 000000000..ac06f803f --- /dev/null +++ b/tools/txn_forwarder/bubblegum_tests/test_scenario_data/mint_verify_creator_unverify_creator_update_metadata_cl_items.txt @@ -0,0 +1,7 @@ + tree | node_idx | leaf_idx | seq | level | hash +--------------------------------------------------------------------+----------+----------+-----+-------+-------------------------------------------------------------------- + \x04c910e5dd9d3e356fb8433ff386861b334f8a9295ff4bfb9e7dd68103c09b4a | 8 | 0 | 4 | 0 | \x9f938da6701da7f8a528d95457c260a2cbb5928159d517eee14c5bbce7cacc8b + \x04c910e5dd9d3e356fb8433ff386861b334f8a9295ff4bfb9e7dd68103c09b4a | 4 | | 4 | 1 | \xbc6e226f99131a84f5dcd76df5b9569a583d9c564038baf5aa6d945a0cd0e84c + \x04c910e5dd9d3e356fb8433ff386861b334f8a9295ff4bfb9e7dd68103c09b4a | 2 | | 4 | 2 | \xbb0e89009109da5a4268fdac696f6b4556c433a7271f55fbf819bbbb823c35d2 + \x04c910e5dd9d3e356fb8433ff386861b334f8a9295ff4bfb9e7dd68103c09b4a | 1 | | 4 | 3 | \x3df1b06fef92ec92ccdf5ec0b4553cff19be0346f3b76ab0ad5e944f5f05db7a +(4 rows) \ No newline at end of file