finality

package
v1.0.0-preupgrade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package finality parses CCIP finality settings for the demo CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parsed

type Parsed struct {
	EVM      protocol.Finality
	Receiver core.FinalityConfig
	Label    string
}

Parsed holds the EVM extraArgs finality and matching Canton receiver config.

func Parse

func Parse(s string) (Parsed, error)

Parse parses --finality values:

  • finality — wait for full source-chain finality (slowest, default)
  • safe — wait for Ethereum safe head
  • N — wait for N block confirmations (1–65535; 1 is fastest)

Jump to

Keyboard shortcuts

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