You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anvil seems to be missing a pretty key feature that Hardhat supports that makes it hard to replace Hardhat with Anvil. This is the method eth_signTypedData_v4. Without this we can't test a lot of flows that require message signing that we were able to do using Hardhat, at least using the provided dev accounts.
How to repro:
Run anvil anvil --fork-url="https://eth-mainnet.alchemyapi.io/v2/XXXXXXX" --fork-block-number=15187941 --port=8545 --block-time=5 --chain-id=1
Notice that {"jsonrpc":"2.0","id":"1","error":{"code":-32601,"message":"Method not found"}}% is returned.
If I run the same using Hardhat, I get the following response: {"jsonrpc":"2.0","id":"1","result":"0xedb0fa55ac67e3ca52b6bd6ee3576b193731adc2aff42151f67826932fa9f6191261ebdecc2c650204ff7625752b033293fb67ef5cfca78e16de359200040b761b"}%
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Anvil
Describe the feature you would like
Anvil
seems to be missing a pretty key feature that Hardhat supports that makes it hard to replace Hardhat with Anvil. This is the methodeth_signTypedData_v4
. Without this we can't test a lot of flows that require message signing that we were able to do using Hardhat, at least using the provided dev accounts.How to repro:
anvil --fork-url="https://eth-mainnet.alchemyapi.io/v2/XXXXXXX" --fork-block-number=15187941 --port=8545 --block-time=5 --chain-id=1
{"jsonrpc":"2.0","id":"1","error":{"code":-32601,"message":"Method not found"}}%
is returned.If I run the same using Hardhat, I get the following response:
{"jsonrpc":"2.0","id":"1","result":"0xedb0fa55ac67e3ca52b6bd6ee3576b193731adc2aff42151f67826932fa9f6191261ebdecc2c650204ff7625752b033293fb67ef5cfca78e16de359200040b761b"}%
Additional context
No response
The text was updated successfully, but these errors were encountered: