-
Notifications
You must be signed in to change notification settings - Fork 369
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
Soloseng/L2-Accounts-test #11268
Soloseng/L2-Accounts-test #11268
Conversation
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.
Looks good, just two changes following the Validators test PR.
@@ -80,13 +79,11 @@ contract AccountsTest is Test, TestConstants { | |||
event PaymentDelegationSet(address indexed beneficiary, uint256 fraction); | |||
|
|||
function setUp() public { | |||
deployCodeTo("Registry.sol", abi.encode(false), REGISTRY_ADDRESS); | |||
setupRegistry(); |
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.
Utils setUp
now sets up the registry, so can just use super.setUp()
.
setupRegistry(); | |
super.setUp(); |
@@ -200,7 +193,12 @@ contract AccountsTest is Test, TestConstants { | |||
); | |||
} | |||
} | |||
|
|||
contract TransitionToL2AfterL1 is AccountsTest { |
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.
Use the new WhenL2
pattern, see e.g. in Validators test.
Description
setup Accounts test for L2
Related issues