subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

EVM e2e tests

Open gztensor opened this issue 4 months ago • 0 comments

Currently here: https://github.com/gztensor/subtensor-js-tests

Tests:

  • [x] Connection can be established
  • [x] Block number can be read
  • [x] Can deploy a smart contract
  • [ ] Verification of ed25519 works
  • [ ] Staking precompile: Can add stake
  • [ ] Staking precompile: Staker receives rewards
  • [ ] Staking precompile: Can remove stake
  • [ ] Can remove stake: Can accrue staking rewards
  • [x] Transfer from substrate to EVM
  • [x] Transfer between two EVM accounts
  • [x] Transfer from EVM to substrate using precompile
  • [x] Transfer from EVM to substrate using evm::withdraw
  • [x] Transfer value using evm::call
  • [ ] Forward value in smart contract
  • [ ] Transfer full balance
  • [x] Transfer more than owned balance should fail
  • [ ] Transfer more than u64::max in substrate equivalent should receive error response
  • [x] Gas price should be 10 GWei
  • [ ] max_fee_per_gas and max_priority_fee_per_gas do not affect transaction fee

gztensor avatar Oct 11 '24 13:10 gztensor