migration

package
v1.0.0-preview.39 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateCadence1

func MigrateCadence1(
	store *sqlite.Store,
	outputDir string,
	evmContractChange migrations.EVMContractChange,
	burnerContractChange migrations.BurnerContractChange,
	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