Ganache v7 is out! Read more about it here: https://trufflesuite.com/blog/introducing-ganache-7/
cds-amal on web3-1.7.3
upgrade to web3@1.7.4 decoder: cleanup compitible-nat… decoder: use instamine strict m… (compare)
sukanyaparashar on add-url-to-console
Fix bug in truffle console comm… (compare)
cliffoo on dashboard-packages
WIP bump (compare)
cliffoo on dashboard-packages
dashboard-message-bus-common: I… (compare)
sukanyaparashar on add-url-to-console
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)
eggplantzzz on update-migrate-sig
adjust calling of Migrate.run i… (compare)
cds-amal on awol
cds-amal on develop
add dependency-check script provider: add missing dep events: add missing deps and 13 more (compare)
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?
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?
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.