Skip to content

papermoonio/eth-transfer-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETH Transfer Compatibility Test

Test compatibility of Substrate Revive (revm) with standard EVM regarding ETH transfer behavior.

Quick Start

# Install dependencies
npm install

# Run tests on standard EVM
npx hardhat test

# Run tests on Revive
npx hardhat test --network local

Test Architecture

Contracts

  • Sender: Provides 3 transfer methods (transfer, send, call)
  • DoNothingReceiver: Empty receive()
  • SimpleReceiver: receive() that emits events
  • ComplexReceiver: receive() that performs SSTORE

Test Matrix

Transfer Method EOA DoNothingReceiver SimpleReceiver ComplexReceiver
transfer() ✔️ (expected to fail)
send() ⚠️ (false) ⚠️ (false) ✔️ (expected to fail)
call()

Total: 12 test cases

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors