Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 02:29
    sukanyaparashar synchronize #5330
  • 02:29

    sukanyaparashar on truffle-call

    Adhere Encoder.ProviderAdapter … Implement prototype `truffle ca… Add options array (compare)

  • 02:22
    sukanyaparashar synchronize #5330
  • 02:22

    sukanyaparashar on truffle-call

    Add options array (compare)

  • 02:13
    haltman-at opened #5466
  • 02:01
    haltman-at commented #5465
  • 01:57
    cds-amal commented #5465
  • 01:55
    haltman-at unlabeled #5465
  • 01:55
    haltman-at labeled #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at review_requested #5465
  • 01:51
    haltman-at opened #5465
  • 01:51

    haltman-at on abi-to-abi

    Update README for signature and… (compare)

  • 01:32

    haltman-at on abi-to-abi

    Move signature/selector computa… Add tests of signature computat… (compare)

  • 00:01

    gnidan on add-from-to-global-options


  • 00:01

    sukanyaparashar on develop

    Add --from to global command op… Modify the from option descript… Merge pull request #5451 from t… (compare)

Evan C Pease
The dry run shows gas fees that are well within what's in the wallet
but the deploy fails with insufficient funds
didn't find any sensible answers on initial google searches
any ideas?
Hi guys, I have a problem with a React Truffle Box. I deploy the contracts, the site runs I get a transaction but the gas is not set and no matter if I decline or change gas the number that should change does not
Wong Tao Zhe
Hi I'm a new developer here. I got a transaction exited with an error (status 0) when running truffle migrate --network rinkeby to upgrade my smart contract.
Any idea what's the issue? Thanks in advance
Priyanshu Rajput

Hi, I am having an issue while deploying my smart contract, When I use the command "truffle compile" on my terminal, it gives me error which is "cannot find module babel-register" Can someone please help me? Thanks

Same issue. Please help


Hello, I am new to blockchain and am trying to walk through the PetShop tutorial. I have deployed Hyperedger Besu on an AWS machine and am trying to migrate my contracts over there,
https://github.com/dappuniversity/nft but it keep failing. The output error is :Error: Deployment Failed

"Migrations" -- Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu..1_initial_migration.js

Deploying 'Migrations'

Error: Deployment Failed

"Migrations" -- Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu..

at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Migration._deploy (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:70:1)
at Migration._load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:56:1)
at Migration.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:217:1)
Does anyone has any problems with avalanche deployments? I am having the same issue as the person here trufflesuite/truffle#4028 but updating the truffle hd provider doesn't work in my case
<< everyone is optimistic about the rise and fall of the cryptos. personally, you can all agree with me that the bitcoin price is going to exceed its current value to $71,415 in February 2022, panelists have also predicted the bitcoin price to skyrocket to an average of $249,578 by the year 2024 which could also influence the price of altcoins. it's never too late to buy and hold of Ethereum/Bitcoin now is the right time. I personally have sustained over $567,000 since last year still now copying advance trade signals and indicating stop lost and manage risk following a mentorship and a blockchain specialist https://declanbrock.com/ his pattern are very lucrative with full of complex.
Eladio Robles

I just Tried to deploy Sushiswap fork in Harmony it shows the following error:
Error: Returned error: intrinsic gas too low

I just tried to modify the Gas limit and Gas Price but remains the same error

Lucas Vazquez
Hi! When I use truffle console it automatically loads contracts from the current directory, is there a command to load contracts on other directories?
Eladio Robles
Hi Lucas,
truffle console and then truffle migrate —network xxx
hi how can help me? when i try truffle compile , i get Error: ENOENT: no such file or directory, open '.secret'
truffle compile
Error: ENOENT: no such file or directory, open '.secret'
Hi all. I'm following a tutorial that inside a test validates a BigNumber instance using Chai. I can console log both variables console.log(decimals); and console.log(web3.utils.toBN(_decimals)); which results in the exact same string: BN { negative: 0, words: [ 18, <1 empty item> ], length: 1, red: null } and BN { negative: 0, words: [ 18, <1 empty item> ], length: 1, red: null }. However when I add the following check: decimals.should.be.bignumber.equal(web3.utils.toBN(_decimals)); the following exception is thrown: AssertionError: expected <BN: 12> to be an instance of string, number or BigNumber. Can anyone explain what I'm missing here?
Sandi Gec
Hi! I have an issue. Is it possible to integrate @truffle/contract library in Angular 13 project? At the moment I get the following error when I try to include "var contract = require("@truffle/contract");" into an component (*.ts file):
"BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it."
Rashi Abramson
Is ganache ui supported anymore? I saw the last commit was in 2020
@roshkins I think it is working in progress... in 2.6.0?
Hello, I am having trouble with running 'truffle test' in the terminal on my contract. When I run a test I keep receiving the error "TypeError: pollInstance.createPoll is not a function." I am unsure of how to fix this given that I declared my artifacts variable at the beginning of the test file and I declared a deployment of my "PollFactory" contract before each test. Does anyone know how to deal with this error?
Aaron Boyd

Hi all, getting this error during migrations rlp: value size exceeds available input length.

Is this a contract size issue? Network is Celo (Baklava testnet). Same migrations works perfectly fine on Celo (Alfajores testnet).

Hi, i have an issue with truffle compile command, when i run it the build folder is created but it is empty, there is no abi inside. I tried to reinstall truffle but it doesnt help. Does anyone have same problem?
Hi Everyone.
I want to study blockchain.
Hi all
conflicted...do i stick with truffle or do i start a new project with hard hat.
Ryan Martin
hello all, i have been a accounting major for the past 3 years and only have till summer to graduate. How much progress on blockchain development is possible within a 6 month time frame?
Christian Peters

I'm trying to deploy to polygon with a config that is used to work. I'm already willing to pay a high fee, but nothing works.

matic: {
      provider: () => new HDWalletProvider({
        mnemonic: {
          phrase: process.env.MNEMONIC
        providerOrUrl: 'https://rpc-mainnet.maticvigil.com/v1/<ny',
      network_id: 137,
      confirmations: 2,
      timeoutBlocks: 2000,
      gas: 10000000,
      gasPrice: 150000000000,
      networkCheckTimeout: 10000000,

Is there something wrong here?

Chris Hughes
Hey everyone. I hope this is a quick question. I'm working on a personal project to use an ERC20 token to pay gas prices. I'm trying to use OpenGSN (find it here: https://opengsn.org/). OpenGSN works by wrapping the web3 provider, so I'll need to update the provider in truffle-config.js for my network. The problem is that the function OpenGSN provides to create a provider is asynchronous (returns a Promise). Does truffle-config.js support Promises for the provider setting?
@d_avantgarde_twitter have you tried using Infura or alchemy instead of maticvigil ?
I had the same issues with truffle... I'd recommend switching to hardhat
the hardhat config for polygon is dirt simple...
polygon: {
accounts: [PRIVATE_KEY],
saveDeployments: true,
RPC_URL pointing at Alchemy API in my case..
works great!
depoyed to Eth, rinkeby, kovan, polygon and mumbai with hardhat.. i really struggled with truffle.
oh, this is the truffle room, sorry to throw you under the bus.. just sharing my experience ;)
Suraj Nair

Hello all,

I am trying to deploy my contract to Polygon mainnet. But getting this error
Saving migration to chain.Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
code: -32603,
data: { originalError: { code: 'ESOCKETTIMEDOUT', connect: false } },
stack: 'Error: ESOCKETTIMEDOUT\n'
I can see the transaction in polygonscan, but the migration is not getting saved.

nice site @_cryptobabies_twitter
@XMASdaycoin thanks ;)
Watson Ladd
So I don't understand the decision to have truffle test require a separate migration step. Looking at the examples it seems that truffle has all the information it needs to deploy the contracts used by the test to local developer instance. I particularly don't understand how is supposed to work with constructors. Does my migration for testing need to call all constructors as would be used in the test
hello im having an issue downloading and installing ganache, terminal is outputting that electron-webpack does not exist despite installing it from https://github.com/electron-userland/electron-webpack-quick-start
any thoughts?
mpoletiek:matrix.org @mpoletiek:matrix.org waves