-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:rpcpool/digital-asset-rpc-infrastru…
…cture into triton-build
- Loading branch information
Showing
26 changed files
with
479 additions
and
92 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
Binary file added
BIN
+288 Bytes
...ests/data/accounts/mpl_core_autograph_plugin/Hz4MSHgevYkpwF3cerDLuPJLQE3GZ5yDWu7vqmQGpRMU
Binary file not shown.
Binary file added
BIN
+328 Bytes
...nts/mpl_core_autograph_plugin_with_signature/4MCuZ5WNCgFnb7YJ2exj34qsLscmwd23WcoLBXBkaB7d
Binary file not shown.
Binary file added
BIN
+288 Bytes
...a/accounts/mpl_core_verified_creators_plugin/AGyjcG9mBfYJFMZiJVkXr4iX7re6vkQ1Fw5grukA6Hiu
Binary file not shown.
Binary file added
BIN
+320 Bytes
...core_verified_creators_plugin_with_signature/4iVX1oZj6nLAMerjXFw3UeGD4QU7BEaCscsWqD3zEH37
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
74 changes: 74 additions & 0 deletions
74
...gration_tests/snapshots/integration_tests__mpl_core_tests__mpl_core_autograph_plugin.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,74 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/mpl_core_tests.rs | ||
assertion_line: 487 | ||
expression: response | ||
--- | ||
{ | ||
"interface": "MplCoreAsset", | ||
"id": "Hz4MSHgevYkpwF3cerDLuPJLQE3GZ5yDWu7vqmQGpRMU", | ||
"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": "APrZTeVysBJqAznfLXS71NAzjr2fCVTSF1A66MeErzM7" | ||
}, | ||
"supply": null, | ||
"mutable": true, | ||
"burnt": false, | ||
"plugins": { | ||
"autograph": { | ||
"data": { | ||
"signatures": [] | ||
}, | ||
"index": 0, | ||
"offset": 119, | ||
"authority": { | ||
"type": "Owner", | ||
"address": null | ||
} | ||
} | ||
}, | ||
"mpl_core_info": { | ||
"plugins_json_version": 1 | ||
}, | ||
"external_plugins": [] | ||
} |
79 changes: 79 additions & 0 deletions
79
...napshots/integration_tests__mpl_core_tests__mpl_core_autograph_plugin_with_signature.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,79 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/mpl_core_tests.rs | ||
assertion_line: 516 | ||
expression: response | ||
--- | ||
{ | ||
"interface": "MplCoreAsset", | ||
"id": "4MCuZ5WNCgFnb7YJ2exj34qsLscmwd23WcoLBXBkaB7d", | ||
"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": "ACxrDWeCPic6voU6a8vyadpL8nSW15Un5vT76LDpxD4N" | ||
}, | ||
"supply": null, | ||
"mutable": true, | ||
"burnt": false, | ||
"plugins": { | ||
"autograph": { | ||
"data": { | ||
"signatures": [ | ||
{ | ||
"address": "APrZTeVysBJqAznfLXS71NAzjr2fCVTSF1A66MeErzM7", | ||
"message": "hi" | ||
} | ||
] | ||
}, | ||
"index": 0, | ||
"offset": 119, | ||
"authority": { | ||
"type": "Owner", | ||
"address": null | ||
} | ||
} | ||
}, | ||
"mpl_core_info": { | ||
"plugins_json_version": 1 | ||
}, | ||
"external_plugins": [] | ||
} |
74 changes: 74 additions & 0 deletions
74
...tests/snapshots/integration_tests__mpl_core_tests__mpl_core_verified_creators_plugin.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,74 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/mpl_core_tests.rs | ||
assertion_line: 545 | ||
expression: response | ||
--- | ||
{ | ||
"interface": "MplCoreAsset", | ||
"id": "AGyjcG9mBfYJFMZiJVkXr4iX7re6vkQ1Fw5grukA6Hiu", | ||
"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": "APrZTeVysBJqAznfLXS71NAzjr2fCVTSF1A66MeErzM7" | ||
}, | ||
"supply": null, | ||
"mutable": true, | ||
"burnt": false, | ||
"plugins": { | ||
"verified_creators": { | ||
"data": { | ||
"signatures": [] | ||
}, | ||
"index": 0, | ||
"offset": 119, | ||
"authority": { | ||
"type": "UpdateAuthority", | ||
"address": null | ||
} | ||
} | ||
}, | ||
"mpl_core_info": { | ||
"plugins_json_version": 1 | ||
}, | ||
"external_plugins": [] | ||
} |
Oops, something went wrong.