contracts

package
v0.0.0-...-13c66b6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package contracts implements the E2E tests for the contracts module.

Index

Constants

This section is empty.

Variables

View Source
var Runtime = scenario.NewRuntimeScenario("test-runtime-simple-contracts", []scenario.RunTestFunction{
	BasicTest,
	ParametersTest,
})

Runtime is the contracts module test.

Functions

func BasicTest

func BasicTest(ctx context.Context, env *scenario.Env) error

BasicTest does a simple upload/instantiate/call contract test.

func ParametersTest

func ParametersTest(ctx context.Context, env *scenario.Env) error

ParametersTest tests the parameters methods.

Types

type HelloInitiate

type HelloInitiate struct {
	InitialCounter uint64 `json:"initial_counter"`
}

Jump to

Keyboard shortcuts

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