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
dbb8721b
Unverified
Commit
dbb8721b
authored
Nov 15, 2022
by
Maurelian
Committed by
GitHub
Nov 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specs: Fix long line (#4006)
parent
69fe6f4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
cli.ts
packages/migration-data/bin/cli.ts
+4
-1
overview.md
specs/overview.md
+2
-2
No files found.
packages/migration-data/bin/cli.ts
View file @
dbb8721b
...
@@ -37,7 +37,10 @@ program
...
@@ -37,7 +37,10 @@ program
}
}
}
}
fs
.
writeFileSync
(
'
./data/evm-addresses.json
'
,
JSON
.
stringify
(
addrs
,
null
,
2
))
fs
.
writeFileSync
(
'
./data/evm-addresses.json
'
,
JSON
.
stringify
(
addrs
,
null
,
2
)
)
fs
.
writeFileSync
(
'
./data/evm-messages.json
'
,
JSON
.
stringify
(
msgs
,
null
,
2
))
fs
.
writeFileSync
(
'
./data/evm-messages.json
'
,
JSON
.
stringify
(
msgs
,
null
,
2
))
})
})
...
...
specs/overview.md
View file @
dbb8721b
...
@@ -136,8 +136,8 @@ Optimism's block derivation function is designed such that it:
...
@@ -136,8 +136,8 @@ Optimism's block derivation function is designed such that it:
The rollup chain is subdivided into epochs. There is a 1:1 correspondence between L1 block numbers and epoch numbers.
The rollup chain is subdivided into epochs. There is a 1:1 correspondence between L1 block numbers and epoch numbers.
For L1 block number
`n`
, there is a corresponding rollup epoch
`n`
which can only be derived after a _sequencing window_
worth of block has
For L1 block number
`n`
, there is a corresponding rollup epoch
`n`
which can only be derived after a _sequencing window_
passed, i.e. after L1 block number
`n + SEQUENCING_WINDOW_SIZE`
is added to the L1 chain.
worth of blocks has
passed, i.e. after L1 block number
`n + SEQUENCING_WINDOW_SIZE`
is added to the L1 chain.
Each epoch contains at least one block. Every block in the epoch contains an L1 info transaction which contains
Each epoch contains at least one block. Every block in the epoch contains an L1 info transaction which contains
contextual information about L1 such as the block hash and timestamp. The first block in the epoch also contains all
contextual information about L1 such as the block hash and timestamp. The first block in the epoch also contains all
...
...
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