Skip to content

Commit

Permalink
chore: remove logs mock and deprecate signer (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Jul 20, 2024
1 parent 91e8f8f commit 491cecd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 231 deletions.
3 changes: 0 additions & 3 deletions logging/gen.go

This file was deleted.

228 changes: 0 additions & 228 deletions logging/mocks/mock_logger.go

This file was deleted.

1 change: 1 addition & 0 deletions signer/basic_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
// exported as the default so that users can call NewBasicSigner with it if they don't know any better
var FallbackGasTipCap = big.NewInt(15000000000)

// Deprecated: Use SignerV2 instead
type BasicSigner struct {
logger logging.Logger
ethClient sdkethclient.Client
Expand Down
1 change: 1 addition & 0 deletions signer/privatekey_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
)

// Deprecated: Use SignerV2 instead
type PrivateKeySigner struct {
txOpts *bind.TransactOpts
}
Expand Down
1 change: 1 addition & 0 deletions signer/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
//
// 2. A signer (remote signer) that we will send to an external rpc which takes care of signing and broadcasting the
// signed transaction. They need to implement SendToExternal() function and leave GetSigner() unimplemented.
// Deprecated: Use SignerV2 instead
type Signer interface {
GetTxOpts() *bind.TransactOpts
SendToExternal(ctx context.Context, tx *types.Transaction) (common.Hash, error)
Expand Down

0 comments on commit 491cecd

Please sign in to comment.