1

I have a complex smart contract which I want to deploy in test net (then main net).

When I deploy the contract in rinkeby using remix (enabled optimization) It only cost round 3 millions gas.

but When I use truffle to deploy it in rinkeby (also enabled optimization), It takes way more gas for that smart contract (around 5.2 millions).

I am talking about gas used to deploy contract. not gas sent by truffle.

If truffle naturally takes more gas to deploy contract, what is the reason people use it to deploy contracts?

1 Answer 1

0

Btw you can now open a ticket with truffle support: https://www.trufflesuite.com/community https://trufflesuite.zendesk.com/hc/en-us/requests/new

1
  • so no one ever had this problem before?
    – Amin
    Feb 3, 2021 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.