I'm looking to deploy dApp onto Polygon's Matic Mumbai test network, but I keep getting errors. Contracts deploy well on all Ethereum networks and I've made sure to have some MATIC (just in case even though it's not asking for any). Here's what I get:
Compiling your contracts...
=============================
all good no issues. then starts migration as per usual:
Starting migrations...
======================
> Network name: 'matic'
> Network id: 80001
> Block gas limit: 20000000 (0x1312d00)
1_initial_migration.js
======================
Deploying 'Migrations'
----------------------
Error: *** Deployment Failed ***
"Migrations" -- only replay-protected (EIP-155) transactions allowed over RPC.
in terminal i'm following their "how to" guide verbatim:
Truffle:
matic: {
provider: () =>
new HDWalletProvider(mnemonic, `https://rpc-mumbai.matic.today`),
network_id: 80001,
confirmations: 2,
timeoutBlocks: 200,
skipDryRun: true,
},
and terminal:
truffle migrate --network matic
Any ideas of what I'm doing wrong and how to fix the issue? Thank you.