DeFiCh / metachain

DFIP 2111-B: VOC: Ethereum Virtual Machine (EVM) Support
https://docs.defimetachain.org
MIT License
22 stars 4 forks source link

RPCs required for EVM Compatibility #172

Open fuxingloh opened 2 years ago

fuxingloh commented 2 years ago

packages/testsuite-web3-rpc should contain a list of tests for ensuring EVM Compatibility. The definition of EVM Compatibility should be researched. There are a few tests included, however, more is required.

DieHard073055 commented 1 year ago

The list of RPCs to test:

fuxingloh commented 1 year ago

The list of RPCs to test:

@weiyuan95 can you review this list of RPCs?

weiyuan95 commented 1 year ago

Looking at https://github.com/paritytech/frontier/tree/master/ts-tests/tests , it looks like Substrate already has pretty good OOTB testing for compatibility for their EVM pallet, and they use web3 and ethers to test as well, which is essentially the 2 major EVM clients.

We can implement the same test logic on our end and use those tests as a 'snapshot' to guard against any potential regression we might introduce.

DieHard073055 commented 1 year ago

Theres quiet a few tests at frontier, should I pick a subset of them which is more meaningful to us? And do you have any suggestions of what those tests should be?

weiyuan95 commented 1 year ago

TBH, everything looks important/comes from EVM except for

DieHard073055 commented 1 year ago

Prasana mentioned that its important to make sure all the calls used by metamask works.