neonevm/neon-evm

Refactoring EVM python tests for py.test

Closed this issue · 1 comments

Rewrite neon-evm python tests for py.test based on neonlabsorg/neon-tests#31

Remove:

  1. test_acc_storage_states.py
  2. test_event.py
  3. test_rw_block.py
  4. test_transaction.py

Move to proxy:

  1. test_block_hashes.py
  2. test_delete_account.py
  3. test_deploy.py
  4. test_eth_token.py
  5. test_nested_call.py
  6. test_solidity_precompiles.py

Remaining tests rewrite:

  1. Use py.test for run tests
  2. Remove copy-paste
  3. Rewrite tests for using new transactions (remove begin/continue instructions)
  4. Fix ci/cd scripts and build

New tests:

  1. 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
  1. Tests for Deposit (neon tokens from solana to neon-evm) - another task
  • deposit neon/spl tokens
  • can't deposit more than exist
  1. Solidity events - in another issue (when new events and logs will be realized)

┆Issue is synchronized with this Jira Task by Unito

Take into account changes from neonevm/neon-support#29 (in this issue will new log parser)