Refactor to use statediff plugin #1
Labels
No Label
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/ipld-eth-state-snapshot#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactor-use-plugin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: Refactor to use statediff pluginto WIP: Refactor to use statediff plugin357585b1c0
toc6170f063c
WIP: Refactor to use statediff pluginto Refactor to use statediff pluginRefactor to use statediff pluginto WIP: Refactor to use statediff pluginStill need to refactor the per-iterator metrics for this
@ -87,3 +100,2 @@
stateSnapshotCmd.PersistentFlags().String(snapshot.LVL_DB_PATH_CLI, "", "path to primary datastore")
stateSnapshotCmd.PersistentFlags().String(snapshot.ANCIENT_DB_PATH_CLI, "", "path to ancient datastore")
stateSnapshotCmd.PersistentFlags().String(snapshot.LEVELDB_PATH_CLI, "", "path to primary datastore")
Can you make sure these match eth-statediff-service and any changes are documented? We will need to change all the code that uses these (eg, chain-chunker) to make sure we use the right env.
I mainly changed them to match eth-statediff-service so we're good there, but yes I'll review if anything needs an update including deployments. I'll mention it in Git and the readme, but I'm not actually sure if there's a better changelog-type place to document it.
@ -1,264 +1,619 @@
package fixture
var Block1_StateNodeLeafKeys = []string{
"0x291b6bbca879d684337ee5e2bca5d18cfb2d3b7a97c8187e703309564280295e",
Did the data change?
No, it's just sorted. I'll add a comment.
We may need a new test, similar to what we talked about in #11, which compares before / after output.
Is this basically good to go?
WIP: Refactor to use statediff pluginto Refactor to use statediff plugina0a620a09d
to7f32e9f699
b0900a90e2
to674c7e75f3
Compliance test is added to CI.
Looks great.
@ -0,0 +101,4 @@
working-directory: ./ipld-eth-state-snapshot
run: go build -o ../snapshot-current .
- name: Checkout canonical version
This is a thing of beauty.