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? Commented Feb 3, 2021 at 8:10

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.