Documentation ¶
Index ¶
Constants ¶
View Source
const ( NearNetworkId = "localnet" NetworkName = "near-sffl" // TODO(edwin): near-sffl-test-relayer -> near-sffl-relayer? RelayerImageName = "near-sffl-test-relayer" RelayerContainerName = "relayer" IndexerPort = "3030" MetricsPort = "9091" )
Variables ¶
This section is empty.
Functions ¶
func GetDaContractAccountId ¶
func GetDaContractAccountId(anvil *AnvilInstance) string
func GetRelayerContainerName ¶
func GetRelayerContainerName(anvil *AnvilInstance) string
func StartRelayer ¶
Types ¶
type AnvilInstance ¶
type AnvilInstance struct { Container testcontainers.Container HttpClient eth.Client HttpUrl string WsClient eth.Client WsUrl string RpcClient *rpc.Client ChainID *big.Int }
func StartAnvilTestContainer ¶
func (*AnvilInstance) Mine ¶
func (ai *AnvilInstance) Mine(blockCount, timestampInterval *big.Int) error
func (*AnvilInstance) SetBalance ¶
Click to show internal directories.
Click to hide internal directories.