Skip to content

Flat Storage - #399

Merged
frol merged 29 commits into
masterfrom
flat_storage
Mar 21, 2023
Merged

Flat Storage#399
frol merged 29 commits into
masterfrom
flat_storage

Conversation

@mzhangmzz

@mzhangmzz mzhangmzz commented Sep 29, 2022

Copy link
Copy Markdown
Contributor

Proposal of Flat Storage to improve state storage reads, which aims to make state storage more stable and make fees more predictable, and sketch the plan for future improvements.

@render

render Bot commented Sep 29, 2022

Copy link
Copy Markdown

@frol frol added WG-protocol Protocol Standards Work Group should be accountable S-draft/needs-author-revision A NEP in the DRAFT stage that needs an author revision. labels Sep 30, 2022

@akhi3030 akhi3030 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial feedback. In general, looks very good to me.

Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Comment thread neps/nep-0399.md Outdated
Since one value ref takes 40 bytes, limit of total size of changed value refs in a block
is then 3.2 MiB.

To sum it up, we will have < 54 MiB for one block, and ~1.1 GiB for 20 blocks.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.