Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
586e6626
Unverified
Commit
586e6626
authored
Aug 09, 2024
by
Matt Solomon
Committed by
GitHub
Aug 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rationale to comment (#11429)
parent
b1dfa22a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
L2Genesis.s.sol
packages/contracts-bedrock/scripts/L2Genesis.s.sol
+4
-1
No files found.
packages/contracts-bedrock/scripts/L2Genesis.s.sol
View file @
586e6626
...
...
@@ -186,7 +186,10 @@ contract L2Genesis is Deployer {
/// The Proxy bytecode should be set. All proxied predeploys should have
/// the 1967 admin slot set to the ProxyAdmin predeploy. All defined predeploys
/// should have their implementations set.
/// Warning: the predeploy accounts have contract code, but 0 nonce value.
/// Warning: the predeploy accounts have contract code, but 0 nonce value, contrary
/// to the expected nonce of 1 per EIP-161. This is because the legacy go genesis
// script didn't set the nonce and we didn't want to change that behavior when
/// migrating genesis generation to Solidity.
function setPredeployProxies() public {
console.log("Setting Predeploy proxies");
bytes memory code = vm.getDeployedCode("Proxy.sol:Proxy");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment