-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mpl-core crate and indexing for
AppData
external plugin (met…
…aplex-foundation#202) * Update docker build * Add initial AppData tests * Update mpl-core version * Add LinkedAppData and DataSection tests and results * Transform DataAuthority and LinkedAppData parent key * Update test results * Update to mpl-core beta crate
- Loading branch information
Showing
25 changed files
with
1,084 additions
and
15 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
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
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 added
BIN
+320 Bytes
...with_binary_data_and_owner_is_data_authority/6tqX4RuPCoD9dVKEJ51jykwBwjKh6runcHJSuSHpDPJU
Binary file not shown.
Binary file added
BIN
+336 Bytes
..._data_and_update_authority_is_data_authority/39XrhcVGuyq4HwTarxMCwDEMFtPBY5Nctxrvpvpdpe3g
Binary file not shown.
Binary file added
BIN
+368 Bytes
..._msg_pack_data_and_address_is_data_authority/2pY3t29uxpBotbmKbCsQNjYfML5DBoBshDgB7hpHu3XA
Binary file not shown.
Binary file added
BIN
+352 Bytes
...get_asset_with_data_section_with_binary_data/BVjK8uvqUuH5YU6ThX6A7gznx2xi8BxshawbuFe1Y5Vr
Binary file not shown.
Binary file added
BIN
+344 Bytes
...e_get_asset_with_data_section_with_json_data/9vqNxe6M6t7PYo1gXrY18hVgDvCpouHSZ6vdDEFbybeA
Binary file not shown.
Binary file added
BIN
+336 Bytes
...t_asset_with_data_section_with_msg_pack_data/EuXEcqHhF9jPxV9CKB5hjHC2TRo3xprdgk5vJTc9qRaY
Binary file not shown.
Binary file added
BIN
+304 Bytes
...th_binary_data_and_address_is_data_authority/41thppJ4z9HnBNbFMLnztXS7seqBptYV1jG8UhxR4vK8
Binary file not shown.
Binary file added
BIN
+272 Bytes
...a_with_json_data_and_owner_is_data_authority/2aUn89GKuSjfYTeCH6GL1Y6CiUYqjvcgZehFGDJbhNeW
Binary file not shown.
Binary file added
BIN
+272 Bytes
..._data_and_update_authority_is_data_authority/53q1PCBy5KgzZfoHu6bnLWQFVmJtKyceP8DqNMhXWUaA
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
82 changes: 82 additions & 0 deletions
82
...tests__mpl_core_get_asset_with_app_data_with_binary_data_and_owner_is_data_authority.snap
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,82 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/mpl_core_tests.rs | ||
assertion_line: 603 | ||
expression: response | ||
--- | ||
{ | ||
"interface": "MplCoreAsset", | ||
"id": "6tqX4RuPCoD9dVKEJ51jykwBwjKh6runcHJSuSHpDPJU", | ||
"content": { | ||
"$schema": "https://schema.metaplex.com/nft1.0.json", | ||
"json_uri": "https://example.com/asset", | ||
"files": [], | ||
"metadata": { | ||
"name": "Test Asset", | ||
"symbol": "" | ||
}, | ||
"links": {} | ||
}, | ||
"authorities": [ | ||
{ | ||
"address": "APrZTeVysBJqAznfLXS71NAzjr2fCVTSF1A66MeErzM7", | ||
"scopes": [ | ||
"full" | ||
] | ||
} | ||
], | ||
"compression": { | ||
"eligible": false, | ||
"compressed": false, | ||
"data_hash": "", | ||
"creator_hash": "", | ||
"asset_hash": "", | ||
"tree": "", | ||
"seq": 0, | ||
"leaf_id": 0 | ||
}, | ||
"grouping": [], | ||
"royalty": { | ||
"royalty_model": "creators", | ||
"target": null, | ||
"percent": 0.0, | ||
"basis_points": 0, | ||
"primary_sale_happened": false, | ||
"locked": false | ||
}, | ||
"creators": [], | ||
"ownership": { | ||
"frozen": false, | ||
"delegated": false, | ||
"delegate": null, | ||
"ownership_model": "single", | ||
"owner": "HKwwF4sPVYFPgqEgxth4GZRZjJ9o4E3wA8eu2QM5Vt3H" | ||
}, | ||
"supply": null, | ||
"mutable": true, | ||
"burnt": false, | ||
"plugins": {}, | ||
"mpl_core_info": { | ||
"plugins_json_version": 1 | ||
}, | ||
"external_plugins": [ | ||
{ | ||
"data": "SGVsbG8sIHdvcmxkIQ==", | ||
"type": "AppData", | ||
"index": 0, | ||
"offset": 119, | ||
"data_len": 13, | ||
"authority": { | ||
"type": "UpdateAuthority", | ||
"address": null | ||
}, | ||
"data_offset": 122, | ||
"adapter_config": { | ||
"schema": "Binary", | ||
"data_authority": { | ||
"type": "Owner", | ||
"address": null | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.