Ganache v7 is out! Read more about it here: https://trufflesuite.com/blog/introducing-ganache-7/
cds-amal on ci-cache
ci: cache lerna bootstrap resul… wip: ignore yarncheck wip: mocha report and 2 more (compare)
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
RETURN:
RETURN:
STATICCALL address 0x4e977830ba4bd783c0bb7f15d3e243f73ff57121, gas 6331984, payload f731e9be
DELEGATECALL address 0xa558ea1a875f8b576f0728d32c39f62158e49b92, gas 6232479, payload f731e9be
RETURN: 0000000000000000000000000000000000000000000000103005d97e16fa5c34000000000000000000000000000000000000000000262e32dc3533a3b969ae6b
RETURN: 00000000000000000000000
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
solc
I'd like truffle to use my-solc
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/
no code at address
error. It's been a pain with truffle sometimes.. is hardhat a better choice?