-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: e2e base #5
Conversation
SAF-24 Create Base for E2E test
We need to create a common base contract to have as a setup for our e2e tests |
solidity/test/TestConstants.sol
Outdated
|
||
contract TestConstants { | ||
address public constant GNOSIS_SAFE_PROXY_FACTORY = 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2; | ||
address public constant GNOSIS_SAFE_SINGLETON = 0x3E5c63644E683549055b9Be8653de26E0B4CD36E; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like the L2 singleton address the L1 one is the address below
0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552
solidity/test/e2e/Common.sol
Outdated
function setUp() public { | ||
StorageMirror public storageMirror; | ||
UpdateStorageMirrorGuard public updateStorageMirrorGuard; | ||
SafeProxy public safe; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would save the safe as an ISafe
and cast the proxy into it when you deploy it, as the proxy doesnt have any functions and only uses fallbacks, will be annoying to test with it without this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
🤖 Linear
Closes SAF-24