Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3207: E2e testing: Minting/burning r=piotr-iohk a=piotr-iohk - [x] e2e tests fpr policy keys endpoints - [x] e2e tests for minting/burning ### Comments Can be merged after: #3199 Some tests are currently `pending` due to issues with mint/burn. ``` Minting and Burning Can mint and then burn Can mint and burn with metadata Can mint and burn in the same tx (PENDING: TODO MINT: Mint and burn fails in single tx) Cannot mint and burn the same asset in single tx (PENDING: TODO MINT: Mint and burn fails in single tx) Cannot burn if I don't have it Cannot burn with wrong policy_script or more than I have Mint to foreign wallet / Cannot burn if I don't have keys (PENDING: TODO MINT: It doesn't mint to foreign wallet!) Cannot mint if I make too big transaction Mint/Burn quantities Cannot mint -9223372036854775808 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot burn -9223372036854775808 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot mint -1 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot burn -1 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot mint 0 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot burn 0 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot mint 9223372036854775808 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Cannot burn 9223372036854775808 assets (PENDING: TODO MINT: Mint burn quantities edge cases) Mint/Burn asset_name Cannot mint if my asset name is too long (PENDING: TODO MINT: asset name too long throws 'Something went wrong' on construct) Cannot mint if my asset name is invalid hex (PENDING: TODO MINT: asset name too long throws 'Something went wrong' on construct) Mint/Burn invalid policy script Cannot mint if my policy script is invalid: cosigner#1 Cannot mint if my policy script is invalid: {"all"=>["cosigner#0", "cosigner#1"]} Cannot mint if my policy script is invalid: {"any"=>["cosigner#0", "cosigner#0"]} Cannot mint if my policy script is invalid: {"some"=>{"at_least"=>2, "from"=>["cosigner#0"]}} Cannot mint if my policy script is invalid: {"some"=>["cosigner#0"]} ``` <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-1574 Co-authored-by: Piotr Stachyra <[email protected]>
- Loading branch information