We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I started up a local environment and a local node, to test myself the minting nft process. I do the mint process in this API call:
cat mint.json | http POST http://localhost:8082/v2/nfts/registries/0xdec5b5b781ea1bbe418703af962e8a209966b69f/mint content-type:application/json authorization:0x120dECF60D265914bfcD1f80259496eB31516E99
The output after the call is this:
{ "deposit_address": "0x89b0a86583c4444acfd71b463e0d3c55ae1412a5", "document_id": "0xe8a804ef6988d307646f5582ca324177b76199f6ea444cf0e7381595ab2ba363", "header": { "job_id": "0xb639f6ce3f2e7bf17a8ffe5e3d03cfeff59ab95b65b9b33ccdff98ebd5209187" }, "registry_address": "0xdec5b5b781ea1bbe418703af962e8a209966b69f", "token_id": "0xcb6a14678d03cb52ef7541dceeac3f7568896f995039fa0be08daf8ff8e8e5bb" }
My mint.json file is as follows:
{ "asset_manager_address": "0x72a4a87df477d4ef205c4b5f8ded88d8650d43a4", "deposit_address": "0x89B0a86583C4444Acfd71b463E0d3c55Ae1412a5", "document_id": "0xe8a804ef6988d307646f5582ca324177b76199f6ea444cf0e7381595ab2ba363", "proof_fields": [ "cd_tree.attributes[0xbbaa573c53fa357a3b53624eb6deab5f4c758f299cffc2b0b6162400e3ec13ee].key_label", "cd_tree.attributes[0xcd35852d8705a28d4f83ba46f02ebdf46daf03638b40da74b9371d715976e6dd].key_label", "cd_tree.attributes[0xe5588a8a267ed4c32962568afe216d4ba70ae60576a611e3ca557b84f1724e29].key_label", "cd_tree.attributes[0xe24e7917d4fcaf79095539ac23af9f6d5c80ea8b0d95c9cd860152bff8fdab17].key_label", "cd_tree.attributes[0xac202291526632eb043339a7e504ac9782636839c37374e96829f650f4a9f1ae].key_label", "signatures_tree.signatures[0x120decf60d265914bfcd1f80259496eb31516e99000000000000000000000000e69b5061bcffc1b0be7bdbff00165ad1f041a544]" ] }
My local relevant address are these:
bridgeAddr 0x05B0C7468E6B102AdbBF3D5f5DbB6Ac6F239b15D erc20Addr 0x49Ad85ea90df0B8E851eC4822aBFb3dC64D56F78 erc721Addr 0x89379b360641AFc726A00Ec5FA8ee52127e91b26 genericAddr 0x05e933ad7Ec2ba48632c80983F3aC02586845Dff assetManager 0x72a4a87df477d4ef205c4b5f8ded88d8650d43a4 genericNFT 0xdec5b5b781ea1bbe418703af962e8a209966b69f identityFactory 0xC0cCB2b33C71aa77570208c75086CEc1c6C14036
When I query the job id, using this request
http http://localhost:8082/v2/jobs/0xb639f6ce3f2e7bf17a8ffe5e3d03cfeff59ab95b65b9b33ccdff98ebd5209187 content-type:application/json authorization:0x120dECF60D265914bfcD1f80259496eB31516E99
The last task throws me this output:
{ "args": [ "0x120dECF60D265914bfcD1f80259496eB31516E99", "0xcb6a14678d03cb52ef7541dceeac3f7568896f995039fa0be08daf8ff8e8e5bb", { "AssetManagerAddress": "0x72a4a87df477d4ef205c4b5f8ded88d8650d43a4", "DepositAddress": "0x89b0a86583c4444acfd71b463e0d3c55ae1412a5", "DocumentID": "6KgE72mI0wdkb1WCyjJBd7dhmfbqREzw5zgVlasro2M=", "GrantNFTReadAccess": false, "ProofFields": [ "cd_tree.attributes[0xbbaa573c53fa357a3b53624eb6deab5f4c758f299cffc2b0b6162400e3ec13ee].key_label", "cd_tree.attributes[0xcd35852d8705a28d4f83ba46f02ebdf46daf03638b40da74b9371d715976e6dd].key_label", "cd_tree.attributes[0xe5588a8a267ed4c32962568afe216d4ba70ae60576a611e3ca557b84f1724e29].key_label", "cd_tree.attributes[0xe24e7917d4fcaf79095539ac23af9f6d5c80ea8b0d95c9cd860152bff8fdab17].key_label", "cd_tree.attributes[0xac202291526632eb043339a7e504ac9782636839c37374e96829f650f4a9f1ae].key_label", "signatures_tree.signatures[0x120decf60d265914bfcd1f80259496eb31516e99000000000000000000000000e69b5061bcffc1b0be7bdbff00165ad1f041a544]" ], "RegistryAddress": "0xdec5b5b781ea1bbe418703af962e8a209966b69f", "SubmitNFTReadAccessProof": false, "SubmitTokenProof": true } ], "delay": "2021-09-01T15:39:46.179982061Z", "error": "transaction failed: &{0 [] 0 93247 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [] 0xad07a56755ba3d89aa7c4df449bf403afc9b38076be6c59a9e62238cc0670528 0x0000000000000000000000000000000000000000 93247 0xa20a274cad6b7d4da88b11fa48c6a73caa6f62e3c6c97a749ffbf0adf74f2ec8 13071 0}", "result": null, "runnerFuncs": "wait_mint_nft", "tries": 5 }
"error": "transaction failed: &{0 [] 0 93247 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [] 0xad07a56755ba3d89aa7c4df449bf403afc9b38076be6c59a9e62238cc0670528 0x0000000000000000000000000000000000000000 93247 0xa20a274cad6b7d4da88b11fa48c6a73caa6f62e3c6c97a749ffbf0adf74f2ec8 13071 0}"
How can I fix this, or find the bug related to the transaction? I tried to debug, and it looks like this is the line with the problem
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I started up a local environment and a local node, to test myself the minting nft process. I do the mint process in this API call:
cat mint.json | http POST http://localhost:8082/v2/nfts/registries/0xdec5b5b781ea1bbe418703af962e8a209966b69f/mint content-type:application/json authorization:0x120dECF60D265914bfcD1f80259496eB31516E99
The output after the call is this:
My mint.json file is as follows:
My local relevant address are these:
When I query the job id, using this request
The last task throws me this output:
"error": "transaction failed: &{0 [] 0 93247 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [] 0xad07a56755ba3d89aa7c4df449bf403afc9b38076be6c59a9e62238cc0670528 0x0000000000000000000000000000000000000000 93247 0xa20a274cad6b7d4da88b11fa48c6a73caa6f62e3c6c97a749ffbf0adf74f2ec8 13071 0}"
How can I fix this, or find the bug related to the transaction? I tried to debug, and it looks like this is the line with the problem
The text was updated successfully, but these errors were encountered: