Documentation ¶
Index ¶
- Constants
- func AptosTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
- func CosmoshubTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
- func EthTests(ctx context.Context, chainID string, rpcURL string, testDuration time.Duration) error
- func JunoTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
- func LavaTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
- func OsmosisTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
- func StarknetTests(ctx context.Context, chainID string, rpcURL string, ...) error
- func TerraTests(ctx context.Context, chainProxy chainproxy.ChainProxy, ...) error
Constants ¶
View Source
const ( JSONRPC_STRK_BLOCKNUMBER = `{"jsonrpc":"2.0","method":"starknet_blockNumber","params":[],"id":1}` JSONRPC_STRK_BLOCKHASHANDNUMBER = `{"jsonrpc":"2.0","method":"starknet_blockHashAndNumber","params":[],"id":1}` )
View Source
const ( JSONRPC_ETH_BLOCKNUMBER = `{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}` JSONRPC_ETH_GETBALANCE = `{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8", "latest"],"id":77}` JSONRPC_ETH_TRACE_REPLAY_BLOCK_TRANSACTIONS = `{"jsonrpc":"2.0","method":"trace_replayBlockTransactions","params":["latest", "trace"],"id":1}` JSONRPC_UNSUPPORTED = `{"jsonrpc":"2.0","method":"eth_blahblah","params":[],"id":1}` JSONRPC_ETH_NEWFILTER = `{"jsonrpc":"2.0","method":"eth_newFilter","params":[{"fromBlock": "0x12345","toBlock": "0x23456"}],"id":73}` JSONRPC_ETH_GETBLOCK_FORMAT = `{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x%x", false],"id":1}` TERRA_BLOCKS_LATEST_URL_REST = "/blocks/latest" TERRA_BLOCKS_LATEST_DATA_REST = `` OSMOSIS_NUM_POOLS_URL_REST = "/osmosis/gamm/v1beta1/num_pools" OSMOSIS_NUM_POOLS_DATA_REST = `` JSONRPC_TERRA_STATUS = `{"jsonrpc":"2.0","method":"status","params":[],"id":1}` JSONRPC_TERRA_HEALTH = `{"jsonrpc":"2.0","method":"health","params":[],"id":2}` URIRPC_TERRA_STATUS = `status?` URIRPC_TERRA_HEALTH = `health` )
Variables ¶
This section is empty.
Functions ¶
func AptosTests ¶
func AptosTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string, s *sentry.Sentry, clientCtx client.Context) error
AptosTests
func CosmoshubTests ¶
func CosmoshubTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string, s *sentry.Sentry, clientCtx client.Context) error
CosmoshubTests
func JunoTests ¶
func JunoTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string) error
func LavaTests ¶
func LavaTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string, s *sentry.Sentry, clientCtx client.Context) error
LavaTests
func OsmosisTests ¶
func OsmosisTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string) error
func StarknetTests ¶
func StarknetTests(ctx context.Context, chainID string, rpcURL string, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, testDuration time.Duration) error
func TerraTests ¶
func TerraTests(ctx context.Context, chainProxy chainproxy.ChainProxy, privKey *btcec.PrivateKey, apiInterface string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.