Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDialTimeout = 1 * time.Minute
DefaultDialTimeout is a default timeout for dialing a client.
Variables ¶
This section is empty.
Functions ¶
func DialEthClientWithTimeout ¶
func DialEthClientWithTimeout(ctx context.Context, timeout time.Duration, log log.Logger, url string) (*ethclient.Client, error)
DialEthClientWithTimeout attempts to dial the L1 provider using the provided URL. If the dial doesn't complete within defaultDialTimeout seconds, this method will return an error.
func DialRollupClientWithTimeout ¶
func DialRollupClientWithTimeout(ctx context.Context, timeout time.Duration, log log.Logger, url string) (*sources.RollupClient, error)
DialRollupClientWithTimeout attempts to dial the RPC provider using the provided URL. If the dial doesn't complete within timeout seconds, this method will return an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.