Skip to content
New issue

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

Ganache V 7.0.0 + ,rpc error "Unhandled Exception: RPCError: got code -32700 #71

Closed
Neo-vortex opened this issue Oct 29, 2022 · 3 comments

Comments

@Neo-vortex
Copy link

This issue is also present on simolus3#240

full error :
rpc error "Unhandled Exception: RPCError: got code -32700 with msg "Invalid signature v value"

steps to reproduce :
sign any contract transaction and try to send the transaction
expected : it should be ok
result : it fails with rpc error "Unhandled Exception: RPCError: got code -32700 with msg "Invalid signature v value"

@Neo-vortex
Copy link
Author

I solved the problem by manually optaning the chain_id and supply it while sending the transaction.

@TomasWard1
Copy link

Thank you, you are a lifesaver.
Here is the code that you are referring to:

BigInt cId = await _client.getChainId();
    await _client.sendTransaction(_credentials,
        Transaction.callContract(contract: _contract, function: _addPerson, parameters: [_credentials.address]),chainId: cId.toInt());

@Uday-kiran9147
Copy link

Thank you @Neo-vortex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants