Closed AuroraLantean closed 5 months ago
Hey @AuroraLantean!
Thank you for reporting this! I will pass this on to the team!
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.
Describe the bug
MetaMask cannot connect properly to my local Foundry Anvil network My setup: Solidity compiler 0.8.22 Foundry nightly-a839414d0bcf069bf2d226260f259c4f4dc4047d
I could not call the following function in my NftSales contract with MetaMask connecting to Foundry Anvil via RPC 8545! But RemixIDE + injectedProvider MetaMask + Foundry Anvil OR Hardhat Live Node works perfectly.
My Contract:
When I called that function in my NextJs13.5.4 + ethers.js 6.8.0, I got
Internal JSON RPC Error
, but everything went fine with RemixIDE + FoundryProvider + Local Foundry Anvil. So something went wrong in the RPC...After following the notes about how to connect Metamask to a local network https://docs.metamask.io/wallet/how-to/get-started-building/run-devnet/ Here are the setting for Anvil:
It seems to have something to do with the returned array of uint256....
Expected behavior
no error
Screenshots/Recordings
No response
Steps to reproduce
Deploy my little simplified contract above by RemixIDE + injectedProvider MetaMask + Foundry Anvil Then deploy those:
Parameters to deploy SalesContract:
priceInWeiEth = 1e15; priceInWeiToken = 100e6
Error messages or log output
Error from the MetaMask
Version
MetaMask Version 11.2.0
Build type
None
Browser
Firefox
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response