Describe the bug A clear and concise description of what the bug is.
I am upgrading the CRA hedera template to use the hedera wallet connect signer, and whenever I try to complete a transaction, I get an error message. It occurs in the file walletConnectClient.tsx on line 71: const txResult = await transferHBARTransaction.executeWithSigner(this.signer);
ERROR:
Uncaught runtime errors:
×
ERROR
Error executing transaction or query:
{
"txError": {},
"queryError": {
"name": "Error",
"message": "(BUG) Query.fromBytes() not implemented for type getByKey",
"stack": "Error: (BUG) Query.fromBytes() not implemented for type getByKey\n at vr.fromBytes (http://localhost:3000/static/js/bundle.js:68098:28)\n at SA._tryExecuteQueryRequest (http://localhost:3000/static/js/bundle.js:96271:20)\n at SA.call (http://localhost:3000/static/js/bundle.js:96292:26)\n at async WalletConnectWallet.transferHBAR (http://localhost:3000/static/js/bundle.js:2111:22)\n at async onClick (http://localhost:3000/static/js/bundle.js:1440:26)"
}
}
Error: Error executing transaction or query:
{
"txError": {},
"queryError": {
"name": "Error",
"message": "(BUG) Query.fromBytes() not implemented for type getByKey",
"stack": "Error: (BUG) Query.fromBytes() not implemented for type getByKey\n at vr.fromBytes (http://localhost:3000/static/js/bundle.js:68098:28)\n at SA._tryExecuteQueryRequest (http://localhost:3000/static/js/bundle.js:96271:20)\n at SA.call (http://localhost:3000/static/js/bundle.js:96292:26)\n at async WalletConnectWallet.transferHBAR (http://localhost:3000/static/js/bundle.js:2111:22)\n at async onClick (http://localhost:3000/static/js/bundle.js:1440:26)"
}
}
at SA.call (http://localhost:3000/static/js/bundle.js:96294:13)
at async WalletConnectWallet.transferHBAR (http://localhost:3000/static/js/bundle.js:2111:22)
at async onClick (http://localhost:3000/static/js/bundle.js:1440:26)
I followed the documentation to use the signer, but to no avail. Hoping more can get uncovered 🙏
Describe the bug A clear and concise description of what the bug is.
I am upgrading the CRA hedera template to use the hedera wallet connect signer, and whenever I try to complete a transaction, I get an error message. It occurs in the file
walletConnectClient.tsx
on line 71:const txResult = await transferHBARTransaction.executeWithSigner(this.signer);
ERROR:
I followed the documentation to use the signer, but to no avail. Hoping more can get uncovered 🙏
To Reproduce Steps to reproduce the behavior:
npm i
npm run start
Expected behavior A clear and concise description of what you expected to happen.
I expect to be able to use the wallet connects signer to freeze and execute the transfer transaction to transfer 1 test HBAR.
Screenshots If applicable, add screenshots to help explain your problem.![image](https://github.com/hashgraph/hedera-wallet-connect/assets/18725916/88cf1cd5-035f-4711-93cd-bdab6b7e1a00)
Desktop (please complete the following information):
Additional context Add any other context about the problem here.