neonevm / neon-compatibility

GNU General Public License v3.0
4 stars 3 forks source link

Basic integration tests for transactions and accounts #254

Closed gigimon closed 2 years ago

gigimon commented 2 years ago

Realize tests from https://docs.google.com/spreadsheets/d/1Z7fMsIMZ9ZnXelS1cCr1JdPyj9cY43vcB4f1gUB_kKw/edit#gid=0 from section: Basic test cases for eth network compatibility

All tests must be in neon-tests repo and must be connected to GHA workflow


The list of tests is from test plan lines 2-34 and from this list those that are filtered out NN Test case Status Comment
1. Create account and get balance +
2. Check tokens in wallet
2.1 - neon +
2.2 - spl waiting for MS
2.3 - erc20 in progress
3. Send neon from one account to another +
4. Send erc20 token from one account to another in progress
5. Send spl wrapped account from one account to another waiting for MS
6. Send more than exist on account
6.1 - neon +
6.2 - spl (with different precision) waiting for MS
6.3 - erc20 in progress
7. Send zero
7.1 - neon +
7.2 - spl waiting for MS
7.3 - erc20 in progress
8. Send negative sum from account
8.1 - neon +
8.2 - spl waiting for MS
8.3 - erc20 in progress
9. Verify faucet work (request drop for several accounts)
9.1 - single request +
9.2 - double request +
10. Interact with simple contract
11. Deploy erc20 contract with tokens and mint this token
12. Verify implemented rpc calls work in progress
12.1. eth_getBlockByHash +
12.2. eth_getBlockByNumber +
12.11. eth_blockNumber +
12.12. eth_call in progress
12.13. eth_estimateGas in progress
12.14. eth_gasPrice +
12.22. eth_getLogs +
12.30. eth_getBalance +
12.32. eth_getTransactionCount +
12.33. eth_getCode +
12.35. eth_sendRawTransaction +
12.36. eth_getTransactionByHash +
12.39. eth_getTransactionReceipt +
12.40. eht_getStorageAt
12.61. web3_clientVersion +
12.63. net_version +
13. Speed up transaction by increase gas
14. Cancel transaction when gasprice setted very small for tx no detailed info for now
15. Send token to an invalid address +
16. Send token to a non-existing address +
17. Move tokens from solana to neon waiting for MS
18. Move tokens from neon to solana waiting for MS
19. Create TX like NeonSwap (thus leveraging airdropper) and swap token waiting for MS
Tests added after the task has started NN Test case Status Comment
20. .
21. .