Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: tests for nine more proxies #2467

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xthedance
Copy link
Contributor

@0xthedance 0xthedance commented Jan 13, 2025

What I did

This PR adds to #760 tests for the following proxies:

Clones
CWIA
OldCWIA
SoladyPush0
SoladyCWIA
SudoswapCWIA
SplitsCWIA
Sequence
Vyper

The tests for the following proxies failed: SoladyCWIA, SplitsCWIA,Vyper and OldCWIA. The pattern that the function get_proxy_info tries to identify can not be found in the proxy bytecode after compilation. I am unsure whether the issue lies in the compilation (perhaps optimizations are altering the bytecode) or if I am using the wrong proxy for the test. Something weird happens with two of them ( Vyper and SoladyCWIA),they are identified as Minimal proxies.

Regarding the other proxies (VyperBeta, and ZeroAge), I cannot find the test code for these proxies. Could you assist me with that?

fixes: #760

Copy link
Member

@antazoey antazoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is coming along! Some of your tests may be slightly off, but let us know if you discover actual bugs too along the way.

split = Clones.clone(_implementation);
emit Target(split);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure all files end in a newline ◡̈

Suggested change
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems incorrect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: finish testing proxies
3 participants