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

eth storage miner part 0 changes #144

Open
wants to merge 6 commits into
base: tm_w3q
Choose a base branch
from
Open

Conversation

ping-ke
Copy link

@ping-ke ping-ke commented May 4, 2023

related design is added to the following doc:
design: https://docs.google.com/document/d/1ePI2Bqj069ffKV9eTYbRHCtX5ljyxH3P1BKtU3SGgWU/edit#
test doc: https://docs.google.com/document/d/1KQetleuZ5F41qFISXmnsDZp0Ppf2rQ9hX4woTtuYvJo/edit
full change with the review before: #131

part 0 contains the following changes:

  1. add fill empty to storage sync
  2. add check encode data for empty KV to storage console
  3. update storage to support Merkle root calculation

cmd/sstorage/main.go Show resolved Hide resolved
core/blockchain.go Show resolved Hide resolved
core/blockchain.go Outdated Show resolved Hide resolved
core/genesis.go Outdated Show resolved Hide resolved
core/vm/contracts.go Outdated Show resolved Hide resolved
@@ -0,0 +1,129 @@
package sstorage
Copy link

Choose a reason for hiding this comment

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

We need to add some tests for the merklelib. It can be done in future, but we need to track it.

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

Successfully merging this pull request may close these issues.

2 participants