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
Unable to deploy contract #2773
Comments
Could you add the thrown error message and did you configure the transaction confirmation workflow as described in the documentation? |
throw error linked above https://gist.githubusercontent.com/industral/0aa368b8a5348613b07c3e27ff9bfdec/raw/a6f79bb1adb7af36efb530460993300145a05381/gistfile1.txt
Not sure what you mean. Code also provided above https://gist.github.com/industral/16760065d5492c11107a462a1c3cdad3 |
The given error doesn't look like a normal Web3.js error. Did you also test it with geth and parity?
|
Settings transactionConfirmationBlocks to 1 fixed problem. By default it was 24. console.log(web3.eth.transactionConfirmationBlocks); const web3 = new Web3(provider, null, {
transactionConfirmationBlocks: 1
}); I guess that should be 1, as 24 blocks at ~15sec it's about 5 minute minimum of waiting. Also should be better documented. Thanks @nivida for help! |
Great! Yes, this should be better documented and also added to the |
Description
Unable to deploy contract.
Was working on beta-34, error with beta-50, not working at all with beta-53.
Expected behavior
should deploy contract.
Actual behavior
Steps to reproduce the behavior
Inbox.sol
test.js
Versions
ABI
The text was updated successfully, but these errors were encountered: