openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

Crowdsale Token Error

Open parsparab opened this issue 9 years ago • 4 comments

I'm getting this error in remix solidity browser, not able to deploy the crowdsale contract. creation of browser/Crowdsale.sol:Crowdsale errored: Gas required exceeds limit: 3000000. An important gas estimation might also be the sign of a problem in the contract code. Please check loops and be sure you did not sent value to a non payable function (that's also the reason of strong gas estimation).

parsparab avatar Nov 20 '17 17:11 parsparab

did you fix it ?

steven0610 avatar Dec 28 '17 09:12 steven0610

@parsparab please provide any information that would help us figure out what's going wrong. You can't expect anyone to help from such a general description of the problem and error message.

Provide us with

  • contract code that you're trying to deploy
  • which remix settings are you using?
  • which chain are you deploying to?
  • as much information as possible.

I'll reopen the issue when we have more information.

shrugs avatar Dec 31 '17 14:12 shrugs

Ya, i have solved it by changing the gas price.

parsparab avatar Jan 07 '18 14:01 parsparab

@parsparab Hi have this problem, when trying to send ether to the contract, contract is already deploy, using address contract to interact and send ether. please could you help me

pascalfossouo avatar Jan 18 '18 18:01 pascalfossouo