Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:29
    eggplantzzz synchronize #5224
  • 15:29

    eggplantzzz on add-signing-method

    make after an afterEach in test (compare)

  • 15:19
    eggplantzzz synchronize #5224
  • 15:19

    eggplantzzz on add-signing-method

    add a test for signTypedData Merge branch 'add-signing-metho… (compare)

  • 14:13
    eggplantzzz synchronize #5240
  • 14:12

    eggplantzzz on update-migrate-sig

    simplify test helper method for… (compare)

  • 09:35

    cds-amal on develop

    upgrade to web3@1.7.4 decoder: cleanup compitible-nat… decoder: use instamine strict m… and 1 more (compare)

  • 09:35

    cds-amal on web3-1.7.3

    (compare)

  • 09:35
    cds-amal closed #5177
  • 05:53
    haltman-at opened #5244
  • 03:49
    cds-amal synchronize #5177
  • 03:49

    cds-amal on web3-1.7.3

    upgrade to web3@1.7.4 decoder: cleanup compitible-nat… decoder: use instamine strict m… (compare)

  • 02:38
    sukanyaparashar closed #5243
  • 02:22
    haltman-at commented #5240
  • 02:03
    sukanyaparashar opened #5243
  • 01:59

    sukanyaparashar on add-url-to-console

    Fix bug in truffle console comm… (compare)

  • Jun 28 23:06

    cliffoo on dashboard-packages

    WIP bump (compare)

  • Jun 28 23:03

    cliffoo on dashboard-packages

    dashboard-message-bus-common: I… (compare)

  • Jun 28 22:04

    sukanyaparashar on add-url-to-console

    (compare)

  • Jun 28 22:04

    sukanyaparashar on develop

    Add --url option to truffle con… Add url option in the usage sec… Add integration test for consol… and 20 more (compare)

atang08
@atang08
hello
conflicted...do i stick with truffle or do i start a new project with hard hat.
Ryan Martin
@fintech_martin_twitter
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
@d_avantgarde_twitter
hello

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
@hughes-ch
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?
CryptoBabies.com
@_cryptobabies_twitter
@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: {
url: POLYGON_MAINNET_RPC_URL,
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.
CryptoBabies.com
@_cryptobabies_twitter
oh, this is the truffle room, sorry to throw you under the bus.. just sharing my experience ;)
Suraj Nair
@suraj_rtistiq_gitlab

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,
message: 'ESOCKETTIMEDOUT',
data: { originalError: { code: 'ESOCKETTIMEDOUT', connect: false } },
stack: 'Error: ESOCKETTIMEDOUT\n'
I can see the transaction in polygonscan, but the migration is not getting saved.

Benedict
@githubBenedict
hello
Benedict
@githubBenedict
nice site @_cryptobabies_twitter
CryptoBabies.com
@cryptobabies
@XMASdaycoin thanks ;)
Watson Ladd
@wbl
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
Benedict
@githubBenedict
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
:(
Can anyone help?
Duke Crypto
@DukeCrypter_twitter
hi guys, does anyone here knows how to fix this error? "Unable to generate Contract ByteCode and ABI" - BSC
Smarty
@kritical0613
Hello!
mpoletiek
@mpoletiek:matrix.org
[m]
Hi!
Ghost
@ghost~61ccdced6da03739848d43aa
hi
Everyone.
zekeluo
@zekeluo
Hey, help me
I have question
hot to use improt keyword to import http link. example lmprot import "https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/token/ERC20/IERC20.sol"
Can anyone help?
zekeluo
@zekeluo
Can anyone help?
swkim109
@swkim109
@zekeluo Why don't you just install OZ Contracts using npm or yarn?
zekeluo
@zekeluo
I know use install , but i want try colud import http or https into contracts
do u know @swkim109
image.png
image.png
I see this document supports HTTPS, but I don't know how to use it
can anyone help ?
thank so much
swkim109
@swkim109
@zekeluo It works in Remix.
Ben Fox
@nullfox
Hi all, it's my first time using truffle. I have a contract that correctly compiled into the build folder, whenever I try to deploy it to my local running ganache, I get the following:
Deploying 'FMan'
TypeError: Cannot read property 'return' of null
at Object._extract (/Users/fox/.nvm/versions/node/v14.18.1/lib/node_modules/truffle/build/webpack:/packages/contract/lib/reason.js:29:1)
I've searched github and can't find anything about it and I'm struggling to figure out where I've gone wrong here
Lucas Delbel
@ldelbel

Hey guys, it's my first time too. I need some help to understand the problem here. I'm trying to deploy an ERC20 contract, but it has a liquidity pool and some Uniswap instantiating happening in the constructor, which is preventing the migration to succeed. I'm doing it on ropsten using infura, and used the ropsten version of uniswap factory address and all.

constructor () {

        _rOwned[owner()] = _rTotal;

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x9c83dCE8CA20E9aAF9D3efc003b2ea62aBC08351);
         // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;

        //exclude owner and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[MarketingWallet] = true;
        _isExcluded[Dead] = true;

        emit Transfer(address(0),owner() , _tTotal);
    }

It works fine without those lines, but when I add them, it shouts this error:

Error: while migrating TESTCOIN: Returned error: base fee exceeds gas limit

henry
@HenryzhuDev_twitter
Hey guys.when I verify my contracts in mainnet.But I get a reported error. "Cannot read properties of undefined (reading 'address')"
can anyone help ?thank so much