---
title: "Comment by David Alvarado on \"The 2018 guide to writing (and testing) real world crowdsale contracts\" | Hashnode"
description: "Does anyone else have an issue calling the &quot;finish()&quot; function? When I try to invoke it I get a &quot;gas limit too high&quot; error.. no matter what"
url: "https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a8dba55dbacfbab306e6f77"
---

[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)

[David Alvarado](https://hashnode.com/@madebydiesel)

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

Does anyone else have an issue calling the "finish()" function? When I try to invoke it I get a "gas limit too high" error.. no matter what I try to set it at it won't accept, it fails... have tried using Mist to access the contract after it's deployed to Ropsen

[Martin Blanco](https://hashnode.com/@kaptincho)

[Mar 2, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a8dba55dbacfbab306e6f77#reply-5a99990ee96b069606051b65)

finish() call need 3 parameter address: "teamFund, ecosystemFund, bountyFund"

> `function finish(address _teamFund, address _ecosystemFund, address _bountyFund) public onlyOwner {`

[David Alvarado](https://hashnode.com/@madebydiesel)

[Mar 2, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a8dba55dbacfbab306e6f77#reply-5a999957e96b069606051b69)

Yes.. I've included those when calling the function, but it fails do to Gas limit no matter what I set it at

[Tony](https://hashnode.com/@Tonytl)

[Mar 13, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5a8dba55dbacfbab306e6f77#reply-5aa7695c9026e896356a880d)

You have to use the creator account/address, in order to call the function
