-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
// Position of `FullTree::_height` in `MessageRoot`'s storage layout. | ||
/// Position of `chainCount` in `MessageRoot`'s storage layout. | ||
pub const CHAIN_COUNT_KEY: usize = 0; | ||
|
||
/// Position of `chainIndexToId` in `MessageRoot`'s storage layout. | ||
pub const CHAIN_INDEX_TO_ID_KEY: usize = 2; | ||
|
||
/// Position of `FullTree::_height` in `MessageRoot`'s storage layout. | ||
pub const AGG_TREE_HEIGHT_KEY: usize = 3; | ||
|
||
// Position of `FullTree::nodes` in `MessageRoot`'s storage layout. | ||
/// Position of `FullTree::nodes` in `MessageRoot`'s storage layout. | ||
pub const AGG_TREE_NODES_KEY: usize = 5; | ||
|
||
/// Position of `chainTree` in `MessageRoot`'s storage layout. | ||
pub const CHAIN_TREE_KEY: usize = 7; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE l1_batches | ||
DROP COLUMN batch_chain_merkle_path BYTEA; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE l1_batches | ||
ADD COLUMN batch_chain_merkle_path BYTEA; | ||
|
||
-- postgres doesn't allow dropping enum variant, so nothing is done in down.sql | ||
ALTER TYPE event_type ADD VALUE 'ChainBatchRoot'; |