Ganache v7 is out! Read more about it here: https://trufflesuite.com/blog/introducing-ganache-7/
haltman-at on abi-to-abi
Update README for signature and… (compare)
haltman-at on abi-to-abi
Move signature/selector computa… Add tests of signature computat… (compare)
gnidan on add-from-to-global-options
sukanyaparashar on develop
Add --from to global command op… Modify the from option descript… Merge pull request #5451 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.