Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Mar 17, 2024
1 parent 8aba766 commit eaa0a19
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions util/networks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ func (c *specETH2Client) Address() string {
return "mock"
}

// IsActive returns true if the client is active.
func (c *specETH2Client) IsActive() bool {
return true
}

// IsSynced returns true if the client is synced.
func (c *specETH2Client) IsSynced() bool {
return true
}

// Spec provides the spec information of the chain.
func (c *specETH2Client) Spec(ctx context.Context, _ *api.SpecOpts) (*api.Response[map[string]any], error) {
return &api.Response[map[string]any]{
Expand Down

0 comments on commit eaa0a19

Please sign in to comment.