-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant deploy this contract on Test Network - out of gas #169
Comments
did you try to deploy to some of the testnets? like kovan? to discard there is a specific issue with ganache. |
So the only way i was able to push contracts to the test net is to remove
contract size limitation.
Kindly yours,
Andrey Nikishaev
Areas ML/DS/CV/Soft Dev/BizDev/Growth Hacking/Customer Rel/IT
LinkedIn http://ua.linkedin.com/in/creotiv
GitHub http://github.com/creotiv
Slideshare https://www.slideshare.net/anikishaev/
Skype creotiv.in.ua
Mobile +380632410666
…On Wed, Nov 21, 2018 at 7:14 PM Gonzalo Balabasquer < ***@***.***> wrote:
did you try to deploy to some of the testnets? like kovan? to discard
there is a specific issue with ganache.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPRDe--4TizkXu0hCzFt5ShJb7lRWmlks5uxYoBgaJpZM4X8hSM>
.
|
did you compile the contract using |
No, will test it and reply
Kindly yours,
Andrey Nikishaev
Areas ML/DS/CV/Soft Dev/BizDev/Growth Hacking/Customer Rel/IT
LinkedIn http://ua.linkedin.com/in/creotiv
GitHub http://github.com/creotiv
Slideshare https://www.slideshare.net/anikishaev/
Skype creotiv.in.ua
Mobile +380632410666
…On Wed, Nov 21, 2018 at 7:35 PM Gonzalo Balabasquer < ***@***.***> wrote:
did you compile the contract using --optimize?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPRDQ3hxnmXQzMEgavMRxHH25EBp3Jrks5uxY7hgaJpZM4X8hSM>
.
|
optimize not helped, still exceeds block gas limit
Kindly yours,
Andrey Nikishaev
Areas ML/DS/CV/Soft Dev/BizDev/Growth Hacking/Customer Rel/IT
LinkedIn http://ua.linkedin.com/in/creotiv
GitHub http://github.com/creotiv
Slideshare https://www.slideshare.net/anikishaev/
Skype creotiv.in.ua
Mobile +380632410666
…On Thu, Nov 22, 2018 at 10:14 PM Андрей Никишаев ***@***.***> wrote:
No, will test it and reply
Kindly yours,
Andrey Nikishaev
Areas ML/DS/CV/Soft Dev/BizDev/Growth Hacking/Customer Rel/IT
LinkedIn http://ua.linkedin.com/in/creotiv
GitHub http://github.com/creotiv
Slideshare https://www.slideshare.net/anikishaev/
Skype creotiv.in.ua
Mobile +380632410666
On Wed, Nov 21, 2018 at 7:35 PM Gonzalo Balabasquer <
***@***.***> wrote:
> did you compile the contract using --optimize?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#169 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAPRDQ3hxnmXQzMEgavMRxHH25EBp3Jrks5uxY7hgaJpZM4X8hSM>
> .
>
|
Just made a test deploy to kovan. It succeed, 3.5 M gas used. |
Im using truffle compile with solc params:
solc: {
optimizer: {
enabled: true,
runs: 200
}
},
Kindly yours,
Andrey Nikishaev
Areas ML/DS/CV/Soft Dev/BizDev/Growth Hacking/Customer Rel/IT
LinkedIn http://ua.linkedin.com/in/creotiv
GitHub http://github.com/creotiv
Slideshare https://www.slideshare.net/anikishaev/
Skype creotiv.in.ua
Mobile +380632410666
…On Mon, Nov 26, 2018 at 5:17 PM Gonzalo Balabasquer < ***@***.***> wrote:
Just made a test deploy to kovan. It succeed, 3.5 M gas used.
You are probably doing something wrong with optimize param. I'm using
dapptools, but you could copy the code in Remix and try it there. Remember
to paste all the dependencies.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPRDUCq9EPhhGjVpPOjhfuLCms8fYnPks5uzAYFgaJpZM4X8hSM>
.
|
Yeah, that seems correct. Not sure why it is not working with Truffle, but if exceeds the block limit is because the optimisation of the tool is not being applied for some reason. |
Trying to deploy this contract to Genache test network, but getting out of gas every time. Even with higher limits it still not deploying. It seems like it have forever loop or something.
For deploy im using Truffle. Would be appreciate for help.
The text was updated successfully, but these errors were encountered: