Skip to content

improve eth_call tests to have more real-world scenarios #151

@haardikk21

Description

@haardikk21

our eth_call tests are fairly basic right now, simply incrementing a counter contract

in the real world the use cases are usually a bit more complex, and have led to tests not being able to catch issues that come up post-deploy

at the very least, we should have tests for:

  • basic ERC-20 functionality
  • ERC-20 with a TransparentProxy wrapper (e.g. USDC token)

the proxy contract with it's delegatecall behavior has some edge cases that broke this behavior on mainnet today. tests can be the exact same between both with the exception of the to field

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions