testutils

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestBlockInfo

func GetTestBlockInfo(t *testing.T) (consensus.BlockInfo, *p2pconsensus.BlockInfo)

func StripCompilerFields

func StripCompilerFields(t *testing.T, transaction *consensus.Transaction)

StripCompilerFields strips the some fields related to compiler in the compiled class. It's due to the difference between the expected compiler version and the actual compiler version.

Types

Jump to

Keyboard shortcuts

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