Refactoring EVM python tests for py.test
Closed this issue · 1 comments
gigimon commented
Rewrite neon-evm python tests for py.test based on neonlabsorg/neon-tests#31
Remove:
- test_acc_storage_states.py
- test_event.py
- test_rw_block.py
- test_transaction.py
Move to proxy:
- test_block_hashes.py
- test_delete_account.py
- test_deploy.py
- test_eth_token.py
- test_nested_call.py
- test_solidity_precompiles.py
Remaining tests rewrite:
- Use py.test for run tests
- Remove copy-paste
- Rewrite tests for using new transactions (remove begin/continue instructions)
- Fix ci/cd scripts and build
New tests:
- Tests for account block (using PartialCallOrContinue, ExecuteTrxFrom instructions):
- operator can write to account
- operator can't write if account blocked
- another operator can't write to blocked account
- operator can write after unlock
- Tests for Deposit (neon tokens from solana to neon-evm) - another task
- deposit neon/spl tokens
- can't deposit more than exist
- Solidity events - in another issue (when new events and logs will be realized)
gigimon commented
Take into account changes from neonevm/neon-support#29 (in this issue will new log parser)