Ganache v7 is out! Read more about it here: https://trufflesuite.com/blog/introducing-ganache-7/
eggplantzzz on add-signing-method
make after an afterEach in test (compare)
eggplantzzz on add-signing-method
add a test for signTypedData Merge branch 'add-signing-metho… (compare)
eggplantzzz on update-migrate-sig
simplify test helper method for… (compare)
cds-amal on develop
upgrade to web3@1.7.4 decoder: cleanup compitible-nat… decoder: use instamine strict m… and 1 more (compare)
cds-amal on web3-1.7.3
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)
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.
at Object._extract (/Users/fox/.nvm/versions/node/v14.18.1/lib/node_modules/truffle/build/webpack:/packages/contract/lib/reason.js:29:1)
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