basicchain

package
v0.124.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	RublesContractID         = int32(1)
	VerifyContractID         = int32(2)
	VerifyWithArgsContractID = int32(3)
	NNSContractID            = int32(4)
	NFSOContractID           = int32(5)
	StorageContractID        = int32(6)
)

Various contract IDs that were deployed to basic chain.

View Source
const (
	// RublesOldTestvalue is a value initially stored by `testkey` key inside Rubles contract.
	RublesOldTestvalue = "testvalue"
	// RublesNewTestvalue is an updated value of Rubles' storage item with `testkey` key.
	RublesNewTestvalue = "newtestvalue"
)

Variables

This section is empty.

Functions

func Init

func Init(t *testing.T, rootpath string, e *neotest.Executor)

Init pushes some predefined set of transactions into the given chain, it needs a path to the root project directory.

func InitSimple added in v0.99.4

func InitSimple(t *testing.T, rootpath string, e *neotest.Executor)

InitSimple initializes chain with simple contracts from 'examples' folder. It's not as complicated as chain got after Init and may be used for tests where chain with a small amount of data is needed and for historical functionality testing. Needs a path to the root directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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