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

geth update to v1.13.14 #633

Merged
merged 28 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d0b8f0c
rename to subnet-evm
darioush Aug 12, 2024
98b22cc
merge
darioush Aug 12, 2024
e0cbe4c
merge
darioush Aug 13, 2024
d728c24
UT adjustments
darioush Aug 13, 2024
5a39d34
rename to coreth
darioush Aug 13, 2024
7081e3a
rename to coreth
darioush Aug 13, 2024
f22923f
put race detector back
darioush Aug 13, 2024
8071267
fixes
darioush Aug 13, 2024
62dff33
lint
darioush Aug 13, 2024
d32b4f2
lint
darioush Aug 13, 2024
a495af6
use avalanchego with timestamp in local genesis for e2e
darioush Aug 13, 2024
5ed366d
Merge branch 'master' of github.com:ava-labs/coreth into coreth-geth-…
darioush Sep 4, 2024
2dcbcef
remove TODO comments
darioush Aug 14, 2024
f76e443
reduce diffs with ARR4N's branch
darioush Aug 28, 2024
f36fd86
update for enforcing gasTip
darioush Aug 28, 2024
efd3e8f
make txindexer more similar to upstream
darioush Aug 23, 2024
1b950ff
unbuffer chan
darioush Aug 28, 2024
48b2e02
update to use commit(true)
darioush Aug 29, 2024
7978c73
use TestOnlyAllowDuplicateBlocks
darioush Aug 29, 2024
f25bab0
Revert "update to use commit(true)"
darioush Aug 29, 2024
633f12d
overflow in state_transition err
darioush Aug 30, 2024
cfe4f5c
add http body limit flag (#1327)
ceyonur Sep 2, 2024
5f33a58
Tail lock revisited (#1328)
ceyonur Sep 2, 2024
35b3409
nits
darioush Sep 4, 2024
4101476
undo diff
darioush Sep 4, 2024
82da825
nit
darioush Sep 4, 2024
458b924
Coreth geth v1.13.14 sync rw (#647)
ceyonur Sep 6, 2024
c939d93
Merge branch 'master' into coreth-geth-v1.13.14-sync
ceyonur Sep 8, 2024
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
2 changes: 1 addition & 1 deletion accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
)

// The ABI holds information about a contract's context and available
// invokable methods. It will allow you to type check function calls and
// invocable methods. It will allow you to type check function calls and
// packs data accordingly.
type ABI struct {
Constructor Method
Expand Down
47 changes: 13 additions & 34 deletions accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,47 +94,20 @@ type BlockHashContractCaller interface {
// used when the user does not provide some needed values, but rather leaves it up
// to the transactor to decide.
type ContractTransactor interface {
interfaces.GasEstimator
interfaces.GasPricer
interfaces.GasPricer1559
interfaces.TransactionSender

// HeaderByNumber returns a block header from the current canonical chain. If
// number is nil, the latest known header is returned.
HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)

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

// AcceptedNonceAt retrieves the current accepted nonce associated with an account.
AcceptedNonceAt(ctx context.Context, account common.Address) (uint64, error)

// SuggestGasPrice retrieves the currently suggested gas price to allow a timely
// execution of a transaction.
SuggestGasPrice(ctx context.Context) (*big.Int, error)

// SuggestGasTipCap retrieves the currently suggested 1559 priority fee to allow
// a timely execution of a transaction.
SuggestGasTipCap(ctx context.Context) (*big.Int, error)

// EstimateGas tries to estimate the gas needed to execute a specific
// transaction based on the current pending state of the backend blockchain.
// There is no guarantee that this is the true gas limit requirement as other
// transactions may be added or removed by miners, but it should provide a basis
// for setting a reasonable default.
EstimateGas(ctx context.Context, call interfaces.CallMsg) (gas uint64, err error)

// SendTransaction injects the transaction into the pending pool for execution.
SendTransaction(ctx context.Context, tx *types.Transaction) error
}

// ContractFilterer defines the methods needed to access log events using one-off
// queries or continuous event subscriptions.
type ContractFilterer interface {
// FilterLogs executes a log filter operation, blocking during execution and
// returning all the results in one batch.
//
// TODO(karalabe): Deprecate when the subscription one can return past data too.
FilterLogs(ctx context.Context, query interfaces.FilterQuery) ([]types.Log, error)

// SubscribeFilterLogs creates a background log filtering operation, returning
// a subscription immediately, which can be used to stream the found events.
SubscribeFilterLogs(ctx context.Context, query interfaces.FilterQuery, ch chan<- types.Log) (interfaces.Subscription, error)
// NonceAt retrieves the nonce associated with an account.
NonceAt(ctx context.Context, account common.Address, blockNum *big.Int) (uint64, error)
}

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

// ContractFilterer defines the methods needed to access log events using one-off
// queries or continuous event subscriptions.
type ContractFilterer interface {
interfaces.LogFilterer
}

// ContractBackend defines the methods needed to work with contracts on a read-write basis.
type ContractBackend interface {
ContractCaller
Expand Down
Loading
Loading