Documentation ¶
Index ¶
- Variables
- func AssertExpectedAndActual(a expectedAndActualAssertion, expected, actual interface{}) error
- func BuildStandardTransferDeploy(namedArgs types.Args) (*types.Deploy, error)
- func CreateComplexValue(typeName string, innerTypes []string, strValues []string) (*clvalue.CLValue, error)
- func CreateExpectError(attribute string, actual any, expected any) error
- func CreateValue(typeName string, strValue string) (*clvalue.CLValue, error)
- func ExpectEqual(t *testing.T, attribute string, actual any, expected any) error
- func GetAccountHash(publicKey string, blockHash string) (string, error)
- func GetAuctionInfoByHash(hash string) (string, error)
- func GetByJsonPath(jsonStr string, path string) (string, error)
- func GetChainName() string
- func GetConfigChainName() string
- func GetEraSummary(blockHash string) (rpc.ChainGetEraSummaryResult, error)
- func GetLatestBlock() (casper.Block, error)
- func GetNodeByJsonPath(jsonStr string, path string) (*jsonquery.Node, error)
- func GetNodeStatus(nodeId int) (casper.InfoGetStatusResult, error)
- func GetRPCClient() casper.RPCClient
- func GetRpcError(err interface{}) rpc.RpcError
- func GetSpeculativeClient() *rpc.SpeculativeClient
- func GetSseClient() *sse.Client
- func GetStateAccountInfo(publicKey string, blockHash string) (string, error)
- func GetStateRootHash(nodeId int) (string, error)
- func GetUserKeyAssetPath(networkId int, userId int, keyFilename string) string
- func QueryBalance(purseIdentifierName string, identifier string) (string, error)
- func ReadConfig()
- func StateGetBalance(stateRootHash string, purseUref string) (big.Int, error)
- func TestFeatures(t *testing.T, featureName string, ...)
- func WaitForBlockAdded(deployHash string, timeoutSeconds int) (sse.BlockAddedEvent, error)
- func WaitForDeploy(deployHash string, timeoutSeconds int) (casper.InfoGetDeployResult, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Pass error = nil NotImplementError = fmt.Errorf("Not Implemented.") )
View Source
var CasperT *testing.T
Functions ¶
func AssertExpectedAndActual ¶
func AssertExpectedAndActual(a expectedAndActualAssertion, expected, actual interface{}) error
func CreateComplexValue ¶
func GetAuctionInfoByHash ¶
func GetChainName ¶
func GetChainName() string
func GetConfigChainName ¶
func GetConfigChainName() string
func GetEraSummary ¶
func GetEraSummary(blockHash string) (rpc.ChainGetEraSummaryResult, error)
func GetLatestBlock ¶
func GetNodeByJsonPath ¶
func GetNodeStatus ¶
func GetNodeStatus(nodeId int) (casper.InfoGetStatusResult, error)
func GetRPCClient ¶
func GetRpcError ¶
func GetSpeculativeClient ¶
func GetSpeculativeClient() *rpc.SpeculativeClient
func GetSseClient ¶
func GetStateAccountInfo ¶
func GetStateRootHash ¶
func GetUserKeyAssetPath ¶
func QueryBalance ¶
func ReadConfig ¶
func ReadConfig()
func StateGetBalance ¶
func TestFeatures ¶
func TestFeatures(t *testing.T, featureName string, scenarioInitializer func(*godog.ScenarioContext))
func WaitForBlockAdded ¶
func WaitForBlockAdded(deployHash string, timeoutSeconds int) (sse.BlockAddedEvent, error)
func WaitForDeploy ¶
func WaitForDeploy(deployHash string, timeoutSeconds int) (casper.InfoGetDeployResult, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.