Skip to content

Commit

Permalink
feat(core): adding pubdata to statekeeper and merkle tree (#259)
Browse files Browse the repository at this point in the history
# What ❔

Setting the ground for bigger boojum changes. Adding boojum related
fields to the data model and types. Extending state tree to have a
concept of `StateDiffs`.

## Why ❔

We want to reduce the size of the overall boojum merge, this sets the
basis for more extensive changes. These changes are all meant to be
non-intrusive.

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.

---------

Co-authored-by: “perekopskiy” <perekopskiy@dlit.dp.ua>
  • Loading branch information
koloz193 and perekopskiy committed Oct 26, 2023
1 parent d6c30ab commit 1659c84
Show file tree
Hide file tree
Showing 26 changed files with 3,893 additions and 3,117 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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,5 @@
ALTER TABLE l1_batches
DROP COLUMN IF EXISTS system_logs;

ALTER TABLE l1_batches
DROP COLUMN IF EXISTS compressed_state_diffs;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE l1_batches
ADD COLUMN IF NOT EXISTS system_logs BYTEA[]
NOT NULL DEFAULT '{}';

ALTER TABLE l1_batches
ADD COLUMN IF NOT EXISTS compressed_state_diffs BYTEA;
Loading

0 comments on commit 1659c84

Please sign in to comment.