Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 18:13
    cds-amal commented #3780
  • 17:34
    rchrdw commented #3780
  • 16:49
    cds-amal commented #3780
  • 16:45
    cds-amal commented #3780
  • 13:44
    InfectedIsm commented #3780
  • 11:40
    cds-amal commented #3780
  • 07:20
    InfectedIsm commented #3780
  • 00:09
    cds-amal commented #3780
  • Aug 13 23:55
    cds-amal synchronize #5313
  • Aug 13 23:55

    cds-amal on ci-cache

    ci: cache lerna bootstrap resul… wip: ignore yarncheck wip: mocha report and 2 more (compare)

  • Aug 13 20:23
    InfectedIsm commented #3780
  • Aug 13 15:38
    eltociear opened #5435
  • Aug 13 03:46
    gnidan review_requested #5420
  • Aug 13 03:44
    gnidan edited #5420
  • Aug 13 03:43
    gnidan commented #5420
  • Aug 13 03:42
    gnidan review_requested #5420
  • Aug 13 03:42
    gnidan review_requested #5420
  • Aug 13 03:42
    gnidan review_requested #5420
  • Aug 13 03:42
    gnidan review_requested #5420
  • Aug 13 03:40
    gnidan opened #5434
Muhammet Cihat Kılıç
I'm getting an error on the truffle installation. Can you please help?
Muhammet Cihat Kılıç
I'm getting an error on the truffle installation. Can you please help?
Philip Jonsén
Can I ask a quick question, I work with GitLabs, CircleCI and GitHub as a developer and security operator. But I have access to thousands of cryptoprojects where I also have priviledges that i shouldnt have with projects I never worked with before. But i have, lots of grants and stuff. How come I can have so much influence? Is it because my smart contracts and the DAO's? They are old from 2015-16.
Mubashir Hussain
Error: Cannot find module 'babel-runtime/core-js/object/entries'
Require stack:
  • /usr/local/lib/node_modules/truffle/node_modules/reselect-tree/index.js
  • /usr/local/lib/node_modules/truffle/node_modules/@truffle/debugger/dist/debugger.js
  • /usr/local/lib/node_modules/truffle/build/cli.bundled.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/external "babel-runtime/core-js/object/entries":1:1)
    at webpack_require (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/webpack/bootstrap e958f07978aa008e523d:19:1)
    at Object.<anonymous> (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/index.js:87:16)
    at webpack_require (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/webpack/bootstrap e958f07978aa008e523d:19:1)
    at /usr/local/lib/node_modules/truffle/node_modules/reselect-tree/webpack/bootstrap e958f07978aa008e523d:62:1
    at /usr/local/lib/node_modules/truffle/node_modules/reselect-tree/index.js:76:10
    at webpackUniversalModuleDefinition (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/webpack/universalModuleDefinition:3:1)
    at Object.<anonymous> (/usr/local/lib/node_modules/truffle/node_modules/reselect-tree/webpack/universalModuleDefinition:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
i git this error
i dont not know hoe to solve this
Mubashir Hussain
exited with an error (status 0).
Please check that the transaction:
 - satisfies all conditions set by Solidity `require` statements.
 - does not trigger a Solidity `revert` statement.
Tiger Wang (王豫)
Hello - In my smart contract it emits event with data, e.g. emit Log(123). However in Truffle js when looking at result.logs[0].event there is only event name. How do I obtain the event data 123? Thanks!
Tiger Wang (王豫)
Should I use result.logs[0].args[0]?
Hello, I am trying to run truffle test and get the following error. The deployment runs fine when deploying on live test net. I only get the error in test and truffle develop. Also, the test deployment was working before, and I do not think any of the test code changed. I even reverted to a previously working commit to be sure. I can also get the deployment to work if I remove some of the contract deployments, so I increased the gas limit but I still get the same error. It must have to do with my the settings for the local deployments, but I cannot figure out what the change.
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:379:1
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at module.exports (/home/smeee/just_cause/migrations/2_deploy_contracts.js:32:3)
at Migration._deploy (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:72:1)
at Migration._load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:54:1)
at Migration.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:202:1)
at Object.runMigrations (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:152:1)
at Object.runFrom (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:117:1)
at Object.runAll (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:121:1)
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:86:1)
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/testing/Test.js:114:1)
at startGanacheAndRunTests (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/test/run.js:49:1)
at Object.module.exports [as run] (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/test/run.js:106:1)
at Command.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/command.js:189:1)'
hey all, have been struggling to deploy to Ropsten using truffle migrate for the last 3 hours - is anyone else experiencing issues with ropsten in particular? The contract deployment will always timeout at the initial migration
anuja verma

Hi! I am using Ganache to test out real smart contracts and protocols like minting a NFT, Uniswap , AAve etc. When I run a transaction to mint a NFT I am able to see NFT in my wallet connected to Ganache, but when I do a Uniswap swap I do not see the swapped token in my wallet. The transaction was successful and Eth got deducted but I don't see the token (for ex Dai) that I swapped for Eth. Is there something I am doing wrong?

Here is the debug trace

CALL address 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, gas 6696889, value 200000000000000000, payload d0e30db0
CALL address 0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9, gas 6663204, value 0, payload e8eda9df000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000ce8646f859769e8be39103f2fe14641502ec36d30000000000000000000000000000000000000000000000000000000000000000
DELEGATECALL address 0xc6845a5c768bf8d7681249f8927877efda425baf, gas 6556508, payload e8eda9df000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000ce8646f859769e8be39103f2fe14641502ec36d30000000000000000000000000000000000000000000000000000000000000000
DELEGATECALL address 0xf5543cdd5f551635e13ebe07e47d01d0fc9cbbd5, gas 6445852, payload 0eca322b4cb5a02f592bd29403ce60c982c7f5174b16842da4fff5cfd025d6836dc48d4b00000000000000000000000000000000000000000000000002c68af0bb140000
STATICCALL address 0xf63b34710400cad3e044cffdcab00a0f32e33ecf, gas 6436009, payload b1bf962d
DELEGATECALL address 0xddde1fa049209bc24b69d5fa316a56efec918d79, gas 6332881, payload b1bf962d
RETURN: 000000000000000000000000000000000000000000005c56cd3725d693df1415
RETURN: 000000000000000000000000000000000000000000005c56cd3725d693df1415
STATICCALL address 0x4e977830ba4bd783c0bb7f15d3e243f73ff57121, gas 6406629, payload 79774338
DELEGATECALL address 0xa558ea1a875f8b576f0728d32c39f62158e49b92, gas 6303952, payload 79774338
RETURN: 0000000000000000000000000000000000000000000000102fd6f1b3ffc7187a0000000000000000000000000000000000000000000000103005d97e16fa5c34000000000000000000000000000000000000000000262e32dc3533a3b969ae6b00000000000000000000000000000000000000000000000000000000627d6bf8
RETURN: 0000000000000000000000000000000000000000000000102fd6f1b3ffc7187a0000000000000000000000000000000000000000000000103005d97e16fa5c34000000000000000000000000000000000000000000262e32dc3533a3b969ae6b00000000000000000000000000000000000000000000000000000000627d6bf8
CALL address 0x030ba81f1c18d280636f32af80b9aad02cf0854e, gas 6385329, value 0, payload 7df5bd3b0000000000000000000000000000000000000000000000000004d8e49050c95d000000000000000000000000000000000000000003422fe111e9efa9202a2f0b
DELEGATECALL address 0x541dcd3f00bcd1a683cc73e1b2a8693b602201f4, gas 6282987, payload 7df5bd3b0000000000000000000000000000000000000000000000000004d8e49050c95d000000000000000000000000000000000000000003422fe111e9efa9202a2f0b
CALL address 0xd784927ff2f95ba542bfc824c8a8a98f3495f6b5, gas 6168206, value 0, payload 31873e2e000000000000000000000000464c71f6c2f760dda6093dcb91c24c39e5d6e18c00000000000000000000000000000000000000000000fdf26cd315339f1a1a070000000000000000000000000000000000000000000000085d593d262b2bbb1f
DELEGATECALL address 0x83d055d382f25e6793099713505c68a5c7535a35, gas 6069251, payload 31873e2e000000000000000000000000464c71f6c2f760dda6093dcb91c24c39e5d6e18c00000000000000000000000000000000000000000000fdf26cd315339f1a1a070000000000000000000000000000000000000000000000085d593d262b2bbb1f
STATICCALL address 0x4e977830ba4bd783c0bb7f15d3e243f73ff57121, gas 6331984, payload f731e9be
DELEGATECALL address 0xa558ea1a875f8b576f0728d32c39f62158e49b92, gas 6232479, payload f731e9be
RETURN: 0000000000000000000000000000000000000000000000103005d97e16fa5c34000000000000000000000000000000000000000000262e32dc3533a3b969ae6b
RETURN: 00000000000000000000000

Johnson Ikechukwu
Hi guys, tried deploying a contract and i am getting this error "at listOnTimeout (node:internal/timers:559:17)\n at processTimers (node:internal/timers:502:7)', 'name': 'Error'}}", any solution?
Screenshot 2022-05-12 at 08.32.31.png
Screenshot 2022-05-12 at 08.32.38.png
guys, i have a funded rinkeby account, but when trying to deploy to rinkeby I am getting this '0 funds' error. Has anyone experienced this?
nvm, was using wrong api endpoint
Hitesh Gupta

Does anyone know how to fix this issue?I am on MAC OS Monterey machine and the truffle installation doesn't work for me.

I have literally tried this solution but it doesn't work
https://github.com/trufflesuite/truffle/discussions/5118 npm install truffle -g
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/truffle
npm ERR! dest /usr/local/lib/node_modules/.truffle-ojTgnptm
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/truffle' -> '/usr/local/lib/node_modules/.truffle-ojTgnptm'
npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/truffle' -> '/usr/local/lib/node_modules/.truffle-ojTgnptm'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/local/lib/node_modules/truffle',
npm ERR! dest: '/usr/local/lib/node_modules/.truffle-ojTgnptm'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hitesh/.npm/_logs/2022-05-28T00_04_36_611Z-debug.log

Hitesh Gupta
Sergiu Iacob
Hi everyone! I am trying to make truffle use a custom compiler (I've done some modifications to solc). Can somebody help me?
Basically instead of solc I'd like truffle to use my-solc
hello friend i suddenly got this problem in VISUAL CODE .
npm install -g truffle
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/truffle
npm ERR! dest /usr/local/lib/node_modules/.truffle-ojTgnptm
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/lib/node_modules/truffle' -> '/usr/local/lib/node_modules/.truffle-ojTgnptm'
anybody know?why do openzeppelin remove payable?
eip20 function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes data) external payable; has payable but openzepplin remove it
hello, i was wondering if anyone has a solution for trufflesuite/truffle#1461 i see that it's closed but folks are still encountering random "Could not connect to your Ethereum client" errors
1 reply
Muhammad Soffatur Rohman
Muhammad Soffatur Rohman
how to make install truffle version 5.1.67 with solc version ^0.8.0 ?
2 replies
Dina Tarek
I am trying to use web3.py and open truffle dashboard through it ,Truffle_dashboard_url = ""
web3 = Web3(Web3.HTTPProvider(Truffle_dashboard_url ))
print(web3.isConnected()) , it raise an error 404 client error url not found , although that the url works fine through cmd
Ignacio Loyola
Hello guys, anyone can help me please? Im new in programming world. Wanted to install truffle, but I got ERROR, I have look for info in google, youtube, but nothing can help me :(
Nishaad Navkal
Hi, I'm trying to use truffle test to test my contracts, i get a message that it's using network 'test', it compiles my contracts but then doesn't run the tests at all. there is no test network defined in my truffle-config.js, but when i did this before it would generate a ganache instance and run my tests on that. Not sure why that isn't happening anymore. here is my truffle-config:
how can I get my test accounts privateKeys in truffle test?
Hi, I just updated to the latest ganache version and now the message in require clause does not show when transaction reverts at the line (tested with require(false, "test error message"). May I know why / how to fix it?

Hi, I just updated to the latest ganache version and now the message in require clause does not show when transaction reverts at the line (tested with require(false, "test error message"). May I know why / how to fix it?

Oh just found it is printed on ganache side.

Emily 💻 EthShanghai

Hihi! Love that there are questions being asked here - but Truffle is deprecating Gitter chat support in consolidating our various support channels over to GitHub Discussions!
Please direct Truffle questions to: https://github.com/orgs/trufflesuite/discussions
And Ganache questions to: https://github.com/trufflesuite/ganache/discussions

Read more about the decision on our blog: https://trufflesuite.com/blog/truffle-community-updates-introducing-github-discussions/

Nitin Jagtiani
Hello, I am trying to deploy a smart contract using truffle but how to deploy a smart contract on multiple networks and keep the contract address the same in all the networks? Please help me with this situation, if there is any way to do so.
Base rule for that is: use the same NEW account as the deployer on all the networks. More detailed description is: When you use the same account nonce on the same account address, you get the same contract address.
Tero Pulkkinen
Are you the people who is going to purchase my nft?
Never depend on a single income to get financial freedom. I can teach you how you can earn from $5,000 to $6,000 weekly,without sending money to me or anyone, but you will pay me 10% commission when you receive your profit. if you are interested, ask me how via Whatsapp
+1 (570) 801-0862
We're looking for engineers to join our Discord: https://discord.gg/5SUs8QTJ8a — to help incoming startups and users
Mahima Thacker
Hey guys I am getting an error during truffle testing that is Returned error: VM Exception while processing transaction: out of gas. Any help!
Deployed a contract with Truffle develop : clearly it is deployed at address shown? yet get no code at address error. It's been a pain with truffle sometimes.. is hardhat a better choice?
is truffle a dead project?