Flutter-Blockchain
Flutter-Blockchain copied to clipboard
Unhandled Exception: RPCError: got code -32700
Get following error after submit the name.
E/flutter (18800): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: RPCError: got code -32700 with msg "Invalid signature v value".
E/flutter (18800): #0 JsonRPC.call (package:web3dart/json_rpc.dart:64:7)
E/flutter (18800): <asynchronous suspension>
E/flutter (18800): #1 Web3Client._makeRPCCall (package:web3dart/src/core/client.dart:53:20)
E/flutter (18800): <asynchronous suspension>
E/flutter (18800): #2 ContractLinking.setName (package:flutter_blockchain/contract_linking.dart:99:5)
E/flutter (18800): <asynchronous suspension>
E/flutter (18800):
Stack trace
Error: Invalid signature v value
at _ecdsaRecover (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:16048)
at t.ecdsaRecover (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:16575)
at t.computeFromAddress (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:16828)
at t.computeIntrinsicsLegacyTx (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:17120)
at LegacyTransaction.computeIntrinsics (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:206579)
at new LegacyTransaction (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:203994)
at Function.fromTxData (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:204701)
at Function._fromData (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:207436)
at Function.fromString (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:209622)
at EthereumApi.eth_sendRawTransaction (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache/dist/node/1.js:2:88181)
Truffle v5.10.0 (core: 5.10.0) Ganache v7.8.0 Solidity - 0.8.20 (solc-js) Node v18.16.0 Web3.js v1.10.0