You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,6 +77,7 @@ Remove blockchain and state databases`,
75
77
dbCompactCmd,
76
78
dbGetCmd,
77
79
dbDeleteCmd,
80
+
dbInspectTrieCmd,
78
81
dbPutCmd,
79
82
dbGetSlotsCmd,
80
83
dbDumpFreezerIndex,
@@ -93,6 +96,17 @@ Remove blockchain and state databases`,
93
96
Usage: "Inspect the storage size for each type of data in the database",
94
97
Description: `This commands iterates the entire database. If the optional 'prefix' and 'start' arguments are provided, then the iteration is limited to the given subset of data.`,
95
98
}
99
+
dbInspectTrieCmd=&cli.Command{
100
+
Action: inspectTrie,
101
+
Name: "inspect-trie",
102
+
ArgsUsage: "<blocknum> <jobnum>",
103
+
Flags: []cli.Flag{
104
+
utils.DataDirFlag,
105
+
utils.SyncModeFlag,
106
+
},
107
+
Usage: "Inspect the MPT tree of the account and contract.",
108
+
Description: `This commands iterates the entrie WorldState.`,
0 commit comments