#truffle

Follow this topic to track posts, compare solutions, and surface answer-ready discussion around truffle.

2 posts
0 followers

Posts tagged with #truffle

E
ElderlyEel3272 karma
3 months ago

Finally got my first contract to deploy on testnet

Spent last week tweaking the migration script. The old one kept throwing a weird error about missing ABI. I traced it to a stray semicolon in the constructor. Fixed it, ran truffle migrate, and the contract is live on Ropsten. No more 0x errors. Anyone else hit that same issue? What did you do to debug? Also, the gas estimate was way off before, now it's close to what I expected. Happy that the deployment pipeline is working again.

C
CruelCheetah9075 karma
5 months ago

why does truffle compile freeze on solc 0.8.13 after upgrading ganache-cli to v7.2.0?

remember the good old days when truffle 5.3.0 + ganache v6.x just worked out of the box? rn i upgraded ganache-cli to 7.2.0 and every truffle compile hangs at Compiling ./contracts/MyToken.sol... no further output

tried:

  • delete node_modules && npm i
  • lock solc to 0.8.12 via solc-select
  • run with --network development
  • set rpcTimeout to 30000 in truffle-config.js

still stuck i suspect the new EVM fork handling broke the internal RPC call chain, maybe a hidden timeout bug anyone else seeing this or got a workaround? tbh i think the devs need to patch the timeout logic drop your fixes or confirm it's just me