Ganache v7 is out! Read more about it here: https://trufflesuite.com/blog/introducing-ganache-7/
eggplantzzz on bump-inquirer
eggplantzzz on bump-inquirer
bump inquirer to 9.1.0 downgrade inquirer to 8.2.4 (compare)
eggplantzzz on bump-inquirer
add node types to box (compare)
fainashalts on compiler-plugin-system
Remove compiler interface for n… (compare)
fainashalts on compiler-plugin-system
add command handling for '--ver… filter out inputOptions after t… Merge pull request #5395 from t… and 1 more (compare)
haltman-at on ether-gnose
haltman-at on develop
Add gnosis network to etherscan… Merge pull request #5469 from t… (compare)
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
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)
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.