Skip to content

Commit 6f864f8

Browse files
Darioush Jalaliceyonur
andauthored
geth update to v1.13.14 (#633)
* rename to subnet-evm * merge * merge * UT adjustments * rename to coreth * rename to coreth * put race detector back * fixes * lint * lint * use avalanchego with timestamp in local genesis for e2e * remove TODO comments * reduce diffs with ARR4N's branch * update for enforcing gasTip * make txindexer more similar to upstream * unbuffer chan * update to use commit(true) * use TestOnlyAllowDuplicateBlocks * Revert "update to use commit(true)" This reverts commit 71d949e. * overflow in state_transition err * add http body limit flag (#1327) * Tail lock revisited (#1328) * avoid modifying the pointer * improve readability * prevent race in tail reading * improve repairTxIndexTail readability * use shared func * nits * undo diff * nit * Coreth geth v1.13.14 sync rw (#647) * use p2p handler ID * use TransactionHistory flag instead of TxLookupLimit * fix config tests --------- Co-authored-by: Ceyhun Onur <[email protected]>
1 parent b34bbde commit 6f864f8

File tree

254 files changed

+5012
-4758
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+5012
-4758
lines changed

accounts/abi/abi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
)
4040

4141
// The ABI holds information about a contract's context and available
42-
// invokable methods. It will allow you to type check function calls and
42+
// invocable methods. It will allow you to type check function calls and
4343
// packs data accordingly.
4444
type ABI struct {
4545
Constructor Method

accounts/abi/bind/backend.go

Lines changed: 13 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -94,47 +94,20 @@ type BlockHashContractCaller interface {
9494
// used when the user does not provide some needed values, but rather leaves it up
9595
// to the transactor to decide.
9696
type ContractTransactor interface {
97+
interfaces.GasEstimator
98+
interfaces.GasPricer
99+
interfaces.GasPricer1559
100+
interfaces.TransactionSender
101+
97102
// HeaderByNumber returns a block header from the current canonical chain. If
98103
// number is nil, the latest known header is returned.
99104
HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
100105

101106
// AcceptedCodeAt returns the code of the given account in the accepted state.
102107
AcceptedCodeAt(ctx context.Context, account common.Address) ([]byte, error)
103108

104-
// AcceptedNonceAt retrieves the current accepted nonce associated with an account.
105-
AcceptedNonceAt(ctx context.Context, account common.Address) (uint64, error)
106-
107-
// SuggestGasPrice retrieves the currently suggested gas price to allow a timely
108-
// execution of a transaction.
109-
SuggestGasPrice(ctx context.Context) (*big.Int, error)
110-
111-
// SuggestGasTipCap retrieves the currently suggested 1559 priority fee to allow
112-
// a timely execution of a transaction.
113-
SuggestGasTipCap(ctx context.Context) (*big.Int, error)
114-
115-
// EstimateGas tries to estimate the gas needed to execute a specific
116-
// transaction based on the current pending state of the backend blockchain.
117-
// There is no guarantee that this is the true gas limit requirement as other
118-
// transactions may be added or removed by miners, but it should provide a basis
119-
// for setting a reasonable default.
120-
EstimateGas(ctx context.Context, call interfaces.CallMsg) (gas uint64, err error)
121-
122-
// SendTransaction injects the transaction into the pending pool for execution.
123-
SendTransaction(ctx context.Context, tx *types.Transaction) error
124-
}
125-
126-
// ContractFilterer defines the methods needed to access log events using one-off
127-
// queries or continuous event subscriptions.
128-
type ContractFilterer interface {
129-
// FilterLogs executes a log filter operation, blocking during execution and
130-
// returning all the results in one batch.
131-
//
132-
// TODO(karalabe): Deprecate when the subscription one can return past data too.
133-
FilterLogs(ctx context.Context, query interfaces.FilterQuery) ([]types.Log, error)
134-
135-
// SubscribeFilterLogs creates a background log filtering operation, returning
136-
// a subscription immediately, which can be used to stream the found events.
137-
SubscribeFilterLogs(ctx context.Context, query interfaces.FilterQuery, ch chan<- types.Log) (interfaces.Subscription, error)
109+
// NonceAt retrieves the nonce associated with an account.
110+
NonceAt(ctx context.Context, account common.Address, blockNum *big.Int) (uint64, error)
138111
}
139112

140113
// DeployBackend wraps the operations needed by WaitMined and WaitDeployed.
@@ -143,6 +116,12 @@ type DeployBackend interface {
143116
CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
144117
}
145118

119+
// ContractFilterer defines the methods needed to access log events using one-off
120+
// queries or continuous event subscriptions.
121+
type ContractFilterer interface {
122+
interfaces.LogFilterer
123+
}
124+
146125
// ContractBackend defines the methods needed to work with contracts on a read-write basis.
147126
type ContractBackend interface {
148127
ContractCaller

0 commit comments

Comments
 (0)