aleeusgr / potential-robot

minimal dApp testing suite
MIT License
3 stars 1 forks source link

nft minting #126

Closed aleeusgr closed 1 year ago

aleeusgr commented 1 year ago
aleeusgr commented 1 year ago
Details

![image](https://github.com/aleeusgr/potential-robot/assets/36756030/9d15a340-9269-4d05-8726-ce2b1db14d13)

aleeusgr commented 1 year ago
Details

```shell + { [10/918] + collateral: null, + collateralReturn: null, + fee: '0', + firstValidSlot: null, + inputs: [ + { + origOutput: { + address: { + bech32: 'addr_test1vz2a83z0d5gceyghfrjqpaqu2f98evk8q6swje2c5ddqmaca2vhfl', + hex: '6095d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7', + }, + datum: null, + refScript: null, + value: { + assets: {}, + lovelace: '20000000', + }, + }, + txId: '0000000000000000000000000000000000000000000000000000000000000000', + utxoIdx: '0', + }, + { + origOutput: { + address: { + bech32: 'addr_test1vz2a83z0d5gceyghfrjqpaqu2f98evk8q6swje2c5ddqmaca2vhfl', + hex: '6095d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7', + }, + datum: null, + refScript: null, + value: { + assets: {}, + lovelace: '5000000', + }, + }, + txId: '0000000000000000000000000000000000000000000000000000000000000001', + utxoIdx: '0', + }, + ], + lastValidSlot: null, + metadataHash: null, + minted: { + afef3b0817d62a979933662934a349bdd6026d12863ce1135b646797: { + '6e616d65': '5', + }, + }, + outputs: [ + { + address: { + bech32: 'addr_test1vz2a83z0d5gceyghfrjqpaqu2f98evk8q6swje2c5ddqmaca2vhfl', + hex: '6095d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7', + }, + datum: null, + refScript: null, + value: { + assets: { + afef3b0817d62a979933662934a349bdd6026d12863ce1135b646797: { + '6e616d65': '5', + }, + }, + lovelace: '2000000', + }, + }, + ], + refInputs: [], + scriptDataHash: '0000000000000000000000000000000000000000000000000000000000000000', + signers: null, + } ```

aleeusgr commented 1 year ago

oh shit. Oh, yesterday I discovered I was looking at a wrong error. My .trace() tells me that 22 (value_minted == Value::new(tt_assetclass, 1)).trace("TT1: ") && is falsy.

image