-
-
Notifications
You must be signed in to change notification settings - Fork 50
Description
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