寻求帮助以解决以下错误。我正在尝试在 Matic 测试网上铸造一个 ERC721 nft。我正在使用安全帽并尝试了以下 tesntnet 网络,这些网络给了我同样的错误:
https://matic-mumbai.chainstacklabs.com
我能够在 Matic 测试网上成功部署我的 ERC721 智能合约。但是当我尝试铸造 NFT 时,我遇到了以下错误:
(node:53836) UnhandledPromiseRejectionWarning: Error: Network doesn't support eip-1559
at /Users/gravitywaves/Projects/mynft2/node_modules/web3-eth-accounts/lib/index.js:323:35
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:53836) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:53836) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.