token

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const None = 0

Variables

This section is empty.

Functions

func AllNames

func AllNames(refs ...*NodeReference) []string

func CleanupBuildArtifacts added in v0.27.0

func CleanupBuildArtifacts()

CleanupBuildArtifacts deletes the binaries that FSC's build server keeps across the networks started by the current process. Call it from the AfterSuite of every suite that starts a network; TearDown no longer removes them.

func NewReplicationOptions

func NewReplicationOptions(factor int, names ...string) (*ReplicationOptions, *ReplicaSelector)

func NoReplication

func NoReplication() (*ReplicationOptions, *ReplicaSelector)

func RunnerDebug

func RunnerDebug(current string) string

RunnerDebug returns the passed string if RUNNER_DEBUG is not set to "1", otherwise it returns "debug"

Types

type NodeReference

type NodeReference struct {
	// contains filtered or unexported fields
}

func (*NodeReference) AllNames

func (r *NodeReference) AllNames() []string

func (*NodeReference) Id

func (r *NodeReference) Id() string

func (*NodeReference) ReplicaName

func (r *NodeReference) ReplicaName() string

func (*NodeReference) String

func (r *NodeReference) String() string

type ReplicaSelector

type ReplicaSelector map[string]int

func (*ReplicaSelector) All

func (s *ReplicaSelector) All(names ...string) []string

func (*ReplicaSelector) Get

func (s *ReplicaSelector) Get(name string) *NodeReference

type ReplicationOptions

type ReplicationOptions struct {
	*integration.ReplicationOptions
}

type ReplicationOpts

type ReplicationOpts interface {
	For(name string) []node.Option
}

type TestSuite

type TestSuite struct {
	II *integration.Infrastructure
	// contains filtered or unexported fields
}

func NewLocalTestSuite

func NewLocalTestSuite(startPort func() int, topologies []api.Topology) *TestSuite

NewLocalTestSuite returns a new test suite that stores configuration data in `./testdata` and does not remove it when the test is done.

func NewTestSuite

func NewTestSuite(startPort func() int, topologies []api.Topology) *TestSuite

func (*TestSuite) Setup

func (s *TestSuite) Setup()

func (*TestSuite) TearDown

func (s *TestSuite) TearDown()

Directories

Path Synopsis
sdk/evmdlog
Package evmdlog composes the Token SDK with the EVM network driver and the zkatdlog token driver, mirroring fdlog (fabric) and fxdlog (fabricx).
Package evmdlog composes the Token SDK with the EVM network driver and the zkatdlog token driver, mirroring fdlog (fabric) and fxdlog (fabricx).
sdk/evmfabtoken
Package evmfabtoken composes the Token SDK with the EVM network driver and the fabtoken token driver, mirroring ffabtoken (fabric).
Package evmfabtoken composes the Token SDK with the EVM network driver and the fabtoken token driver, mirroring ffabtoken (fabric).
dvp
nft

Jump to

Keyboard shortcuts

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