-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ethereum compatibility test #152
Comments
Investigating the difference between blockchainTest & stateTestThe DifferenceStateTest is testing the post state after single transaction is executed. On the other hand, BlockchainTest is testing the post state after multiple transactions and multiple blocks are executed. For details, let's take 7702 as an example. There are four blockchainTests for 7702.
Basically, they all are the scenario where something is executed as another tx after code is set in the same block. In the StateTest, the state of first tx can be created using the pre state but this isn’t that the state is created during executing the same block. Considering this perspective, they are different and they are testing the continuous state transition in the same block. BlockchainTest ListThis shows what tests exist on BlockchainTest in the bottom of this page. Kaia is skipping AppendixBlockchainTest ListClick mev3.0.0:
|
I will report the problem I encountered when running ETH blockchain testing on kaia. Blockchain test flow
How to adopt to kaiaThere are two solutions to this problem.
2. compare only state
|
In my opinion, option 2 is the better option. Option 1 is expected to require a large amount of code to be added for the block converter. It may be necessary to use something like a mock chain to create the desired data using data obtained from JSON data. Could you give me your opinion? @kaiachain/core @shiki-tak @tnasu @ulbqb @da1suk8 |
@Mdaiki0730 |
Problem
Kaia isn't tested about Ethereum compatibility.
TBU
Solution
Kaia can be tested using test cases of Etheruem such as
ethereum/tests
andethereum/execution-spec-test
TBU
Todo
ethereum/execution-spec-test
for new EIPsethereum/execution-spec-tests
#129ethereum/execution-spec-test
for new EIPs if it's neededethereum/execution-spec-test
for old EIPsethereum/execution-spec-test
for old EIPs if it's neededethereum/tests
ðereum/execution-spec-test
ethereum/tests
if it's neededsub tasks:
future work:
The text was updated successfully, but these errors were encountered: