Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ERC: Store, Table-Based Introspectable Storage #711

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alvrs
Copy link

@alvrs alvrs commented Nov 8, 2024

This standard introduces a flexible on-chain storage pattern that organizes data into structured tables with schemas, similar to a traditional database. This approach allows new tables to be added at runtime without impacting existing contracts, thereby simplifying upgrades and extensions. By providing a unified interface for data access, the standard enables any contract or off-chain service to read stored data without the need for custom getter functions. Additionally, by standardizing event emissions for state changes it enables automatic, schema-aware indexing.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Nov 8, 2024

File ERCS/erc-xxxx.md

Requires 1 more reviewers from @axic, @g11tech, @SamWilsn, @xinbenlv

@alvrs alvrs marked this pull request as ready for review November 8, 2024 16:53
Copy link

github-actions bot commented Nov 8, 2024

The commit 9135fe4 (as a parent of ad10834) contains errors.
Please inspect the Run Summary for details.

---
eip: <to be assigned>
title: Store, Table-Based Introspectable Storage

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

@@ -0,0 +1,499 @@
---
eip: <to be assigned>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
eip: <to be assigned>
eip: 7813

Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.

Please also update the filename.


description: On-chain tables for automatic indexing and introspectable state
authors: alvarius <[email protected]>, dk1a <[email protected]>, frolic <[email protected]>, ludens <[email protected]>, vdrg <[email protected]>, yonada
discussions-to: https://ethereum-magicians.org/t/erc-xxxx-store-table-based-introspectable-storage/21628
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
discussions-to: https://ethereum-magicians.org/t/erc-xxxx-store-table-based-introspectable-storage/21628
discussions-to: https://ethereum-magicians.org/t/erc-7813-store-table-based-introspectable-storage/21628

Added assigned number to Eth Magicians title

@@ -0,0 +1,499 @@
---
eip: <to be assigned>
title: Store, Table-Based Introspectable Storage
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
title: Store, Table-Based Introspectable Storage
title: Table-Based Introspectable Storage

Maybe simplify the title

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants