I'm trying to deploy 3 contract in 2_deploy_contract (I deploy all 3) but after the first is deployed I get the following error : The contract code couldn't be stored, please check your gas amount.

  • 1
    Please post your contract and deployment code. Commented Feb 22, 2018 at 21:19

1 Answer 1


This is a general error might not be a gas amount issue. For me it happened when inheriting an interface and not implementing all functions in the interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.