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

Error while deploying contract on quorum dev quickstart #74

Open
thegoatfund opened this issue May 23, 2023 · 0 comments
Open

Error while deploying contract on quorum dev quickstart #74

thegoatfund opened this issue May 23, 2023 · 0 comments

Comments

@thegoatfund
Copy link

thegoatfund commented May 23, 2023

Issue_title

Error (Error processing transaction request: invalid chain id for signer) faced while deploying a contract on a network using the quorum-dev-quickstart from my application. (application uses web3j and web3j-quorum)

Issue_description

I am developing an integration from my application (using web3j and web3j-quorum) to GoQuorum and have spun up a network using the quorum dev quickstart toolkit.
For deploying a contract (HumanStandardToken.sol in this example https://github.com/web3labs/erc20-rest-service/blob/master/src/main/java/io/blk/erc20/ContractService.java) on the network through my code, i have used the account and its private key mentioned in the view istanbul-standard-genesis.json (since the documentation says that the network uses IBFT). I have also used the chainid from the same file (1337).
I use the RawTransactionManager and instantiate it with (quorum, Credentials.create(privateKey),(byte)1337).
When I call the deploy method of the SmartContractWrapper generated earlier, I get an error "Error processing transaction request: invalid chain id for signer". Can you please help understand what could be the possible reasons for this error. please let me know if you need any more information.

Issue_context

Versions: org.web3j/core 4.1.0
org.web3j/quorum 4.8.4
Java 8

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

1 participant