migration

package
v1.0.0-M8 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateCadence1

func MigrateCadence1(
	store *sqlite.Store,
	stagedContracts []migrations.StagedContract,
	rwf reporters.ReportWriterFactory,
	logger zerolog.Logger,
) error

func NewConsoleLogger

func NewConsoleLogger() zerolog.Logger

func WritePayloadsToSnapshot

func WritePayloadsToSnapshot(
	store *sqlite.Store,
	payloads []*ledger.Payload,
	payloadInfoSet map[flow.RegisterID]util.PayloadMetaInfo,
) error

Types

type NOOPReportWriterFactory

type NOOPReportWriterFactory struct{}

func (*NOOPReportWriterFactory) ReportWriter

type NOOPWriter

type NOOPWriter struct{}

func (*NOOPWriter) Close

func (r *NOOPWriter) Close()

func (*NOOPWriter) Write

func (*NOOPWriter) Write(_ any)

Jump to

Keyboard shortcuts

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