Skip to content

Instantly share code, notes, and snippets.

@milancermak
Created November 6, 2023 11:03
Show Gist options
  • Save milancermak/907cb8999fbc36653528e22662087cfc to your computer and use it in GitHub Desktop.
Save milancermak/907cb8999fbc36653528e22662087cfc to your computer and use it in GitHub Desktop.
Error: data did not match any variant of untagged enum JsonRpcResponse
Contract deployment transaction: 0x04d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb
Waiting for transaction 0x04d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb to confirm...
[2023-11-06T11:01:03Z TRACE starknet_providers::jsonrpc::transports::http] Sending request via JSON-RPC: {"id":1,"jsonrpc":"2.0","method":"starknet_getTransactionReceipt","params":["0x4d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb"]}
[2023-11-06T11:01:04Z TRACE starknet_providers::jsonrpc::transports::http] Response from JSON-RPC: {"jsonrpc":"2.0","error":{"code":25,"message":"Transaction hash not found"},"id":1}
Transaction not confirmed yet...
[2023-11-06T11:01:09Z TRACE starknet_providers::jsonrpc::transports::http] Sending request via JSON-RPC: {"id":1,"jsonrpc":"2.0","method":"starknet_getTransactionReceipt","params":["0x4d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb"]}
[2023-11-06T11:01:09Z TRACE starknet_providers::jsonrpc::transports::http] Response from JSON-RPC: {"jsonrpc":"2.0","error":{"code":25,"message":"Transaction hash not found"},"id":1}
Transaction not confirmed yet...
[2023-11-06T11:01:14Z TRACE starknet_providers::jsonrpc::transports::http] Sending request via JSON-RPC: {"id":1,"jsonrpc":"2.0","method":"starknet_getTransactionReceipt","params":["0x4d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb"]}
[2023-11-06T11:01:14Z TRACE starknet_providers::jsonrpc::transports::http] Response from JSON-RPC: {"jsonrpc":"2.0","result":{"type":"INVOKE","transaction_hash":"0x4d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb","actual_fee":"0x75249652e74","messages_sent":[],"events":[{"from_address":"0x429fc649706f39ba0f168607a6f240b187aa6662fb4cdbd2807558242711022","keys":["0x158b29553da9a45d73f98b50820e7388fb391c8729ccfe82d1819dbdb0035f0","0x1390fd803c110ac71730ece1decfc34eb1d0088e295d4f1b125dda1e0c5b9ff"],"data":["0x0","0x1d0138c9ef9a89c178faa85af539664cae02e981693e472f6bb27efe8d644c5"]},{"from_address":"0x41a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf","keys":["0x26b160f10156dea0639bec90696772c640b9706a47f5b8c52ea1abe5858b34d"],"data":["0x429fc649706f39ba0f168607a6f240b187aa6662fb4cdbd2807558242711022","0x1d0138c9ef9a89c178faa85af539664cae02e981693e472f6bb27efe8d644c5","0x1","0x1924e7923020267aa40398a87521545050b328d686a32b26c044c57ba368ce7","0x1","0x1d0138c9ef9a89c178faa85af539664cae02e981693e472f6bb27efe8d644c5","0x3554e789b9a12d41e64d32d9a841ae78a8b83d633fc12a310eb30641781e240"]},{"from_address":"0x1d0138c9ef9a89c178faa85af539664cae02e981693e472f6bb27efe8d644c5","keys":["0x1dcde06aabdbca2f80aa51392b345d7549d7757aa855f7e37f5d335ac8243b1","0x4d3bf3a7a1649828fdccd06b2c9ca5ab64afdac096d4efecaea0601ff73fcbb"],"data":["0x1","0x1","0x429fc649706f39ba0f168607a6f240b187aa6662fb4cdbd2807558242711022"]},{"from_address":"0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7","keys":["0x99cd8bde557814842a3121e8ddfd433a539b8c9f14bf31ebf108d12e6196e9"],"data":["0x1d0138c9ef9a89c178faa85af539664cae02e981693e472f6bb27efe8d644c5","0x1176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8","0x75249652e74","0x0"]}]},"id":1}
Error: data did not match any variant of untagged enum JsonRpcResponse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment