Documentation
¶
Index ¶
- func CreateTestContext(t *testing.T) sdk.Context
- func GenerateCommit(t *testing.T, ctx sdk.Context) (abcitypes.ExtendedCommitInfo, app.BridgeVoteExtension, common.Address, ...)
- func GenerateProposer(t *testing.T) (pubKey ed25519.PublicKey, privKey ed25519.PrivateKey, consAddr sdk.ConsAddress, ...)
- func GenerateSignatures(t *testing.T) (sigA, sigB []byte, evmAddr common.Address)
- func SignCVE(veBz []byte, height, round int64, privKey ed25519.PrivateKey) (cmtproto.CanonicalVoteExtension, []byte, []byte, error)
- type OperatorAndEVM
- type OracleAttestations
- type TestAccount
- type ValsetSignatures
- type VoteExtTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCommit ¶
func GenerateCommit(t *testing.T, ctx sdk.Context) (abcitypes.ExtendedCommitInfo, app.BridgeVoteExtension, common.Address, sdk.AccAddress, sdk.ConsAddress, []byte)
func GenerateProposer ¶
func GenerateProposer(t *testing.T) (pubKey ed25519.PublicKey, privKey ed25519.PrivateKey, consAddr sdk.ConsAddress, accAddr sdk.AccAddress)
func GenerateSignatures ¶
Types ¶
type OperatorAndEVM ¶
type OracleAttestations ¶
type TestAccount ¶
type TestAccount struct { Name string Address sdk.AccAddress }
type ValsetSignatures ¶
type VoteExtTx ¶
type VoteExtTx struct { BlockHeight int64 `json:"block_height"` OpAndEVMAddrs OperatorAndEVM `json:"op_and_evm_addrs"` ValsetSigs ValsetSignatures `json:"valset_sigs"` OracleAttestations OracleAttestations `json:"oracle_attestations"` ExtendedCommitInfo *abci.ExtendedCommitInfo `json:"extended_commit_info"` }
Click to show internal directories.
Click to hide internal directories.