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

UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit. #5

Closed
minji-o-j opened this issue May 30, 2020 · 2 comments
Labels
UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러

Comments

@minji-o-j
Copy link
Owner

(node:34588) UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit.
at Object.TransactionError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:93:21)
at Object.ContractCodeNotStoredError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:102:21)
at C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:394:40
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:34588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
(node:34588) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@minji-o-j minji-o-j changed the title Error: The contract code couldn't be stored, please check your gas limit. UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit. May 30, 2020
@minji-o-j
Copy link
Owner Author

"gas: 2000000" the solution.
가스를 크게하니 해결

@minji-o-j minji-o-j added the UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러 label Jun 18, 2020
@minji-o-j
Copy link
Owner Author

minji-o-j commented Jun 23, 2020

#4 참고

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UnhandledPromiseRejectionWarning solidity, javascript 중 생긴 에러
Projects
None yet
Development

No branches or pull requests

1 participant