package
23.1.6+incompatible
Repository: https://github.com/zeta-chain/node.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
EnsureNoCctxMinedByInboundHash ensures no cctx is mined by inbound hash.
No description provided by the author
Matches adds a filter to WaitCctxByInboundHash that checks cctxs match provided callback.
MatchReverted is the WaitOpts that matches reverted CCTX.
MatchStatus is the WaitOpts that matches CCTX with the given status.
MustHaveCalledExampleContract checks if the contract has been called correctly.
MustHaveCalledExampleContractWithMsg checks if the contract has been called correctly with correct amount and msg.
MustWaitForTxReceipt waits until a broadcasted tx to be mined and return its receipt.
RequireCCTXStatus checks if the cctx status is equal to the expected status.
RequiredTxFailed checks if the receipt status is failed.
RequireTxSuccessful checks if the receipt status is successful.
ScriptPKToAddress is a hex string for P2WPKH script.
TestingFromContext extracts require.TestingT from the context or panics.
TraceTx traces the tx and returns the trace result.
WaitCctxAbortedByInboundHash waits until cctx is aborted by inbound hash.
WaitCctxByInboundHash waits until cctx appears by inbound hash.
WaitCctxMinedByInboundHash waits until cctx is mined; returns the cctxIndex (the last one).
WaitCCTXMinedByIndex waits until cctx is mined; returns the cctxIndex.
WaitCctxRevertedByInboundHash waits until cctx is reverted by inbound hash.
WaitCctxsMinedByInboundHash waits until cctx is mined; returns the cctxIndex (the last one).
WaitForBlockHeight waits until the block height reaches the given height.
WithTesting allows to store a testing.T instance in the context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrHashRevertFoo is the keccak256 hash of custom error "Foo()" on reverter contract.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author