extract

package
v0.10.3-remove-results Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: AGPL-3.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "execution-state-extract",
	Short: "Reads WAL files and generates the checkpoint containing state commitment for given block hash",
	Run:   run,
}

Functions

func ReadMegamappings added in v0.10.1

func ReadMegamappings(filename string) (map[string]delta.Mapping, error)

func RecalculateMappings added in v0.10.1

func RecalculateMappings(mappings map[string]delta.Mapping) (map[string]delta.Mapping, error)

RecalculateMappings regenerates some possibly wrong mappings Due to some errors generate mappings could be wrong. Sometimes the hashes key was calculated correctly using empty `Controller` part, but the resulting mappings has a `Controller` duplicated from `Owner` field. Having the input we can re-hash and check if values matches and fix the eventual problems

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL