Skip to content

Commit

Permalink
Update mock interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Mar 25, 2024
1 parent b43ca03 commit 6b10e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ linters:
- nlreturn
- nolintlint
- nosnakecase
- perfsprint
- promlinter
- rowserrcheck
- scopelint
Expand Down
4 changes: 2 additions & 2 deletions mock/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ func (s *Service) TransactionInBlock(_ context.Context, _ types.Hash, _ uint32)
}

// TransactionReceipt returns the transaction receipt for the given transaction hash.
func (s *Service) TransactionReceipt(_ context.Context, _ types.Hash) (*spec.BerlinTransactionReceipt, error) {
return &spec.BerlinTransactionReceipt{}, nil
func (s *Service) TransactionReceipt(_ context.Context, _ types.Hash) (*spec.TransactionReceipt, error) {
return &spec.TransactionReceipt{}, nil
}

// Call makes a call to the execution client.
Expand Down

0 comments on commit 6b10e40

Please sign in to comment.