When I run the mock contract “RefundablePostDeliveryCrowdsaleImpl” in Remix, I get the following error:
“Creation of RefundablePostDeliveryCrowdsaleImpl errored: transaction execution failed”
Surprisingly the other contract “RefundableCrowdsaleImpl”, which is almost exactly the same, works just fine.
Does anyone face this issue as well?
Environment
OpenZeppelin: 2.2.0
Remix (online)
Code to reproduce bug
contract RefundablePostDeliveryCrowdsaleImpl is RefundablePostDeliveryCrowdsale {
constructor (
uint256 openingTime,
uint256 closingTime,
uint256 rate,
address payable wallet,
IERC20 token,
uint256 goal
)
public
Crowdsale(rate, wallet, token)
TimedCrowdsale(openingTime, closingTime)
RefundableCrowdsale(goal)
{
// solhint-disable-previous-line no-empty-blocks
}
}
Thank you!