Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove logs mock and deprecate signer #303

Merged
merged 1 commit into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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