tryethernal / ethernal

Ethernal is a block explorer for EVM-based chains. In a few seconds, spin up a fully-featured explorer for your L1/L2 rollup/testnet. Compatible with Optimism, ZK, Anvil, Hardhat, Geth...
https://www.tryethernal.com
Other
210 stars 50 forks source link

Read/write contract buttons are all disabled #385

Open jesobreira opened 1 day ago

jesobreira commented 1 day ago

I'm facing an issue that, on a Ganache network, chainId 1337, with Metamask set up to use Ganache as well, when I upload the ABI of a deployed contract, the buttons show all disabled.

Not sure if it is related but the only weird thing I see on the console is:

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)

However, if I run this on the console to enable all buttons:

document.querySelectorAll("#interactions button").forEach(button => button.classList.remove("v-btn--disabled") || (button.disabled = false));

Then they all work well, getting the right response from the blockchain...

antoinedc commented 1 day ago

Hey, Is it still greyed out if you refresh the page? I'm looking into this now

antoinedc commented 1 day ago

I'm having troubles reproducing it though. Do you think you could record a quick video of this, please? Or describe all the steps you are taking?