You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kept receiving the error "UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit" when trying to deploy the Inbox contract with node.
Following the instructions and installing 0.0.3 resolved the issue for me.
The text was updated successfully, but these errors were encountered:
scasplte2
changed the title
HDWalletProvider issue with node
Unable to store contract code caused by an HDWalletProvider issue with node deployment
May 31, 2018
The other workaround to this issue (with HDWalletProvider 0.0.5) is to explicitly specify the contract bytecode is in hexadecimal format by prefixing the bytecode string with "0x". For example:
Kept receiving the error "UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit" when trying to deploy the Inbox contract with node.
Seems there is some sort of issue with the HDWalletProvider 0.0.5, as documented here
https://stackoverflow.com/questions/50201353/unhandledpromiserejectionwarning-error-the-contract-code-couldnt-be-stored-p
Following the instructions and installing 0.0.3 resolved the issue for me.
The text was updated successfully, but these errors were encountered: