---
title: "Comment by Green Monster on \"The 2018 guide to writing (and testing) real world crowdsale contracts\" | Hashnode"
description: "Also, for anyone else trying out this tutorial but are using the latest version of zeppelin-solidity, I have found the following changes helpful. (1) In Hashnod"
url: "https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a72a8459cc7099e7dbf35ec"
---

[Discussion](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9)

Comment [The 2018 guide to writing (and testing) real world crowdsale contracts](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9)

[Green Monster](https://hashnode.com/@GMCC)

[Feb 1, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a72a8459cc7099e7dbf35ec)

Also, for anyone else trying out this tutorial but are using the latest version of zeppelin-solidity, I have found the following changes helpful.

(1) In HashnodeToken.sol change the filepath to include the ERC20 folder

import 'zeppelin-solidity/contracts/token/ERC20/MintableToken.sol';

(2) If you are unable to deploy the contract because of a gas issue, try updating the gas amount in truffle.js to reflect the limit in ganache. "gas: 6721974"

Hope this helps someone!

[Geo](https://hashnode.com/@gravyplaya)

[Jun 4, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a72a8459cc7099e7dbf35ec#reply-5b150d51e722fbf03d0be223)

I still get the gas error when setting "gas: 6721974". It seems no matter what i try it will not work. Perhaps the error is misleading but I cant track down the cause.

[Gael Durand](https://hashnode.com/@gael)

[Aug 1, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a72a8459cc7099e7dbf35ec#reply-5b6213a19ed4e2bf786dd69d)

I've got the same problem as Geo. Any solution?
