Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:13

    cliffoo on dash-decode

    dashboard: Extract bus client i… (compare)

  • 03:04

    cliffoo on dash-decode

    dashboard: State improvements -… (compare)

  • 02:53

    cliffoo on dash-decode

    dashboard: Simplify bus client … (compare)

  • 02:47

    cliffoo on dash-decode

    dashboard: Simplify bus client … (compare)

  • 02:21

    cliffoo on dash-decode

    dashboard: Add idb dep (compare)

  • 00:56

    cliffoo on dash-decode

    dashboard: Update @truffle/ deps dashboard: Add object-hash deps (compare)

  • 00:03

    cliffoo on dash-decode

    dashboard: Fix naming mistake (compare)

  • Oct 06 23:31
    davidmurdoch closed #2749
  • Oct 06 23:31
    davidmurdoch commented #2749
  • Oct 06 23:30
    davidmurdoch closed #5203
  • Oct 06 23:08
    cliffoo opened #5602
  • Oct 06 22:35

    haltman-at on panopticon-cli

    Add CLI startup code for debugg… Add fetchStorage integration to… (compare)

  • Oct 06 22:33
    davidmurdoch commented #5203
  • Oct 06 21:52

    cliffoo on dash-decode

    bus-client: Connect before publ… dashboard: WorkflowCompileResul… dashboard: Add @truffle/decoder… and 4 more (compare)

  • Oct 06 21:14
    thgaskell opened #5601
  • Oct 06 20:54

    cds-amal on private-affair

    (compare)

  • Oct 06 20:54

    cds-amal on develop

    hdwallet-provider: use Private … Merge pull request #5597 from t… (compare)

  • Oct 06 20:54
    cds-amal closed #5597
  • Oct 06 20:22

    eggplantzzz on develop

    bump lerna to ^5.5.1 bump lerna to ^5.6.1 Merge pull request #5537 from t… (compare)

  • Oct 06 20:22

    eggplantzzz on bump-lerna

    (compare)

Rayyan
@RayyanIqbalk_twitter
One reason I think there could be an issue though is the contract I'm importing from kickStarter.sol has multiple contracts inside of it.
i.e. it has Contract A {} Contact B is A {} so maybe truffle doesn't know which contract to deploy?
MichaelBrown0429
@MichaelBrown0429
Hello,guys
MichaelBrown0429
@MichaelBrown0429
@FreewayHeilig_twitter Before I also met similar occasion, everything not worked, so I reinstall npm. After that solved.
grimreaper619
@grimreaper619
Hey guys
I have an issue with truffle. So truffle is supposed to compile modified contracts only right (after first compile). Mine is compiling all contracts everytime, which is kinda annoying. Any idea how to solve this?
Marcelo Cozzani
@dmggcozzani
Hello everyone, any idea why when i try to compile my contracts using command - truffle compile it gives me this error
SyntaxError: Unexpected identifier
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
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)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Object.require (node:internal/modules/cjs/helpers:102:18)
at Function.load (C:\Users\admin\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\config\dist\index.js:159:1)
at Function.detect (C:\Users\admin\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\config\dist\index.js:148:1)
at Object.module.exports [as run] (C:\Users\admin\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\commands\compile\run.js:8:1)
at Command.run (C:\Users\admin\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\command.js:189:1)
Truffle v5.4.29 (core: 5.4.29)
Node v16.13.1
Thanks in advance
lanmower
@lanmower
hi there
lanmower
@lanmower
so I've got this issue trying to upgrade a contract on avax mainnet...
it just dumps out StatusError: Transaction: 0xdf6af378e6a655da9715edd865a47dcb20ad46d2aff7428cc59bf01a3bf6b1c2 exited with an error (status 0)
this happened after succeeding doing the same process on testnet
woas wondering if anyone could shed light on that
coin77
@coin77
How can I deploy multiple instances of the same contract?
2 replies
The second deployment replaces the first.
李婷婷 Lee Ting Ting
@tina1998612
hi >< Does anyone know how to debug "Fail - Unable to verify" when using truffle-verify plugin? Thanks! Most of my contracts were successfully verified while 3 of them failed. I tried --debug but still no cue. Thanks very much!
6 replies
mpoletiek
@mpoletiek:matrix.technomystics.com
[m]

Hello everyone! I'm following along with the truffle tutorial and after a few tweeks got everything working great! However, now I'm struggling to add a returnPet() function to my solidity smart contract. The transaction fails and somehow metamask knows this ahead of time because it warns me that it might fail before confirming ("let's try anyway"). I've posted on stackoverflow, but responses have been slow. I feel like I'm missing something fundamental and could really use some help figuring out where to look first.

https://stackoverflow.com/questions/70616917/building-on-truffle-tutorial-adding-return-pet-function-rpc-error

Thanks for reading.

mpoletiek
@mpoletiek:matrix.technomystics.com
[m]
Disregard. I figured it out 😁
livelaughhodl
@livelaughhodl:matrix.org
[m]
Hi, does anyone know why truffle compile cannot find suitable configuration file on Windows 10 terminal?
Tahsin
@t4style
Hello
can anyone help me ?
i trying to do deploy some contracts to truffle test network but i got many errors
Error: Contract error: contract binary not set. Can't deploy new instance.
This contract may be abstract, not implement an abstract parent's methods completely
or not invoke an inherited contract's constructor correctly
Liang Liang
@lsqproduction
🎊 🎉 Check it out. Ganache v7 is out!!!! Read more about all the sweet new features here 👉 https://trufflesuite.com/blog/introducing-ganache-7
1 reply
Charlton Davis
@charltondwiz
Hey guys, is there a way to "re-fork" a chain on ganache. I want to start a ganache server, but as new contracts get updated, the forked Blockchain is outdated. My goal is to re-fork every minute or so, so ganache is only 1 minute behind the live mainnet at all times. Anyone know how I can do this?
cow99
@cow99:matrix.org
[m]
Hello. I'm using latest ganache 7 programmatically with ethers. I'm trying to figure out how to mine instantaneously using a fork. I have tried 3 different providers to fork from. I'm trying to do a uniswap trade. It still seems to take no less than 9 seconds to complete. Any suggestions on what to try or is this not possible? Thanks
mpoletiek
@mpoletiek:matrix.technomystics.com
[m]
Hello all, I'm having some trouble installing ganache. Is it compatible with NodeJS 14.x?
1 reply
Unfortunately I'm using Gentoo and portage doesn't have anything older than NodeJS 12.19.1
My profile installed nodejs 14.17.6
OguzhanBayir
@OguzhanBayir
Ekran görüntüsü 2022-01-22 104557.png
1 reply
Hello everyone. My name is oguzhan. I am new to blockchain. This is how I get an error when installing truffle on blockchain. Can you help me?
vegetaxing
@vegetax4132_twitter
Hey guys, I've posted a question on ethereum stackexchange; if someone could help me.
Why I can't push items into this array?
https://ethereum.stackexchange.com/questions/119667/why-i-cant-push-items-into-this-array
1 reply
Alecharytoniuk
@alecharyt_twitter
heyyy im trying to compile a test with truffle but its pop up this message
TypeError: Error parsing C:/Windows/System32/truffle-project/contracts/Migrations.sol: Cannot read property 'addFunction' of undefined
at runWithReadCallback (C:\Users\schar\AppData\Roaming\npm\node_modules\truffle\build\webpack:~\solc\wrapper.js:37:1)
at Object.compileStandardWrapper (C:\Users\schar\AppData\Roaming\npm\node_modules\truffle\build\webpack:~\solc\wrapper.js:85:1)
at Object.parseImports (C:\Users\schar\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-compile\parser.js:47:1)
at Object.getImports (C:\Users\schar\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-compile\profiler.js:374:1)
at C:\Users\schar\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-compile\profiler.js:346:1
Truffle v5.0.5 (core: 5.0.5)
Node v16.3.0
Alexander Dan
@apdan510
Alechary, do you have a public repo to take a closer look at this compiling issue?
Wahas Ali Mughal
@wahas-mughal

Ekran görüntüsü 2022-01-22 104557.png

getting same error while installing truffle node version 16.13.1

tonmoyk988
@tonmoyk988
hello ...is there any problem with the truffle website ...in my case the truffle logo is occupying the most of the area of the screen .so i cant read the documentation well.any suggestion ?
Amit Kawad
@AmitKawad
How can i use ganache with https and not http
Levi W.
@lwillmeth

Hi all, new to truffle (v5.4.30) and when I run a test that initializes my contract, it fails with: "intrinsic gas too low".

It compiles fine, but I tried reducing my contract's constructor to only calling the ERC777 constructor, and still get this error.
I tried increasing truffle-config's networks.live.gas and gasPrice, but nothing changed.

The only google results are from a couple years ago, using older versions of truffle. I can run other tests, and this contract's constructor looks simple, so I'm not sure what's wrong here. Any ideas?

Levi W.
@lwillmeth

I'm still having trouble finding my problem, but using a fresh truffle init, I boiled it down to extending a contract from @openzeppelin/contracts
Here's a gist of my boiled-down contract and migration, any tips are much appreciated:
https://gist.github.com/lwillmeth/8050be839f6baa3e31dbc16500b63d1c

The error goes away if I copy the parent contract out of the library and into contracts/, so maybe this is a syntax mistake on my part? I'm not seeing it, and the contract compiles, but won't initialize.

Levi W.
@lwillmeth
It seems this only happens with @openzeppelin's ERC777 contract. I'm able to extend several of their other contracts without problem.
1 reply
MiAnClGr
@MiAnClGr
Hi guys, i'm having so much trouble installing the Truffle suite onto Windows 11, can anyone help?
trishulpani
@trishulpani_twitter
Hi All - having issue with running npm install truffle -g on Mac OS 12.1 with latest node and npm too. Getting the following error
ERR! note: '__uint128_t' declared here
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
npm ERR! typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
npm ERR!         ^
npm ERR! note: '__uint128_t' declared here
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.h:8:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/include/leveldb/status.h:16:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:505:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string_view:176:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__string:57:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:642:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring:61:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string.h:61:
npm ERR! In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
npm ERR! typedef __uint32_t      __darwin_wctype_t;
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_rsize_t.h:31:9: error: unknown type name '__darwin_size_t'
npm ERR! typedef __darwin_size_t        rsize_t;
npm ERR!         ^
npm ERR! fatal error: too many errors emitted, stopping now [-ferror-limit=]
npm ERR! 20 errors generated.
npm ERR! make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.2.0
npm ERR! gyp ERR! command "/usr/local/Cellar/node/17.4.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /usr/local/lib/node_modules/truffle/node_modules/ganache/node_modules/leveldown
npm ERR! gyp ERR! node -v v17.4.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
What can i check to get this resolved? Any help is much appreciated. Thanks!
Zachary Becker
@zrbecker
When writing tests using solidity, how do I access the addresses of the accounts that are setup automatically in ganache? In javascript, they are passed as an array to the test, is there something equivalent I can do in solidity?
trishulpani
@trishulpani_twitter

Hi All - having issue with running npm install truffle -g on Mac OS 12.1 with latest node and npm too. Getting the following error

ERR! note: '__uint128_t' declared here
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
npm ERR! typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
npm ERR!         ^
npm ERR! note: '__uint128_t' declared here
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.h:8:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/include/leveldb/status.h:16:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:505:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string_view:176:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__string:57:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:642:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring:61:
npm ERR! In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string.h:61:
npm ERR! In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
npm ERR! typedef __uint32_t      __darwin_wctype_t;

I was able to mitigate this issue by doing a combination of OS updates, XCode Command line tool updates, updating npm config set python to python3 after updating python using brew.

John Coggeshall
@coogle

Hello all,

Trying to get a basic set up running and I was following along setting up Truffle on Avalanche with these docs:

https://docs.avax.network/build/tutorials/smart-contracts/using-truffle-with-the-avalanche-c-chain/

But when I try to open the console, I get this error:

Error: ProviderSubprovider - specified provider does not have a sendAsync method

I feel like there is something just out of date in the docs, but I'm having a hard time nailing down exactly what's going wrong here.. Anyone able to point me in the right direction?

Truffle v5.4.31 (core: 5.4.31)
Solidity - 0.8.11 (solc-js)
Node v17.3.0
Web3.js v1.5.3