-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
How to add accounts when using Quorum with Web3 1.0? #325
Comments
Code deploying the samples: Main Account:
Newly created account:
|
Update: I got so far as to figure out you can add the wallet to the Contract constructor, which then results in a |
@RobTS Thanks for the update. We'll be working on upgrading Quorum to geth 1.8.2 soon and it should resolve the most recent issue you encountered. |
@jpmsam Good news, you are upgrading Quorum to geth 1.8.2. when do you plan to release it? Thank you. |
You can follow PR #392 . |
Quorum is now on the 1.8.x geth version, so this should now be fully supported. |
System information
Geth version: 1.7.2-stable
OS & Version: OSX with Vagrant container
Branch, Commit Hash or Release: Latest version of Quorum-examples
Expected behaviour
As one way to dig deeper into Quorum and the related tools, I'm trying to set up an ERC20 token on the 7nodes example. I can build it and deploy it using Web3.js, but only using one of the main accounts (from
web3.eth.getAccounts()
).When I try to deploy it using an account created and added to the wallet using the below snippet, I get various errors such as "The contract code couldn't be stored, please check your gas limit." and, when I try a second time, "nonce too low". I tried many things to get it to work, but I am out of ideas at this point. I checked for the account balance, but it seems like both have no funds.
Can anyone point me to how I can further track down the issue?
Steps to reproduce the behaviour
web3.eth.getAccounts()
accounts.Backtrace
The text was updated successfully, but these errors were encountered: