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

Code sync to go-ethereum v1.13.14 #1152

Merged
merged 83 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
e4f471b
all changes from v.13.2-x branch
darioush Apr 2, 2024
a96e7e8
Merge branch 'master' into geth-v1.13.2-squashed
darioush Apr 8, 2024
ffc9618
Merge branch 'master' into geth-v1.13.2-squashed
darioush Apr 8, 2024
dc2e2ee
squash initial changes
darioush Apr 10, 2024
8eed820
Merge branch 'geth-v1.13.2-squashed' of github.com:ava-labs/subnet-ev…
darioush Apr 10, 2024
140db37
remove unneeded files
darioush Apr 10, 2024
3f1b799
fix lint
darioush Apr 10, 2024
2ecbbbd
gas estimation fix
darioush Apr 10, 2024
30f5de5
accounts/keystore: fix test with sleep
darioush Apr 11, 2024
1c0af48
rpc fixes
darioush Apr 11, 2024
63964b0
try with a smaller limit
darioush Apr 11, 2024
5e56b05
logging
darioush Apr 12, 2024
79ea786
change the trim fn
darioush Apr 12, 2024
ff6c9e2
remove main_test from rpc
darioush Apr 12, 2024
16ec75c
Merge branch 'master' into geth-v1.13.2-squashed
darioush Apr 15, 2024
39ed4db
txpool: remove unused "PendingFrom"
darioush Apr 15, 2024
b5d4fea
set local-txs-enabled in load tests
darioush Apr 15, 2024
ef8879b
Merge branch 'geth-v1.13.2-squashed' of github.com:ava-labs/subnet-ev…
darioush Apr 15, 2024
d4f6356
ready to format
darioush Apr 16, 2024
c7ad5e2
format: remove upstream go-ethereum
darioush Apr 16, 2024
d7428b4
format: rename packages as fork
darioush Apr 16, 2024
74db996
Revert "format: remove avalanche header"
darioush Apr 16, 2024
a9311c7
fix logging
darioush Apr 16, 2024
6320529
deadcode linting
darioush Apr 16, 2024
e530ee9
more linting
darioush Apr 16, 2024
2071a78
fix mock
darioush Apr 16, 2024
83a2fda
fix unused
darioush Apr 16, 2024
8ee6fa7
expecteds
darioush Apr 17, 2024
2a6c6bd
passing UTs
darioush Apr 17, 2024
7f642be
add comment
darioush Apr 17, 2024
858fe04
unused
darioush Apr 17, 2024
90a36cb
resolve some open issues
darioush Apr 17, 2024
b60aa00
undo script change
darioush Apr 17, 2024
095c45e
test resillience
darioush Apr 17, 2024
3921479
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush May 16, 2024
71c067f
fix compile
darioush May 16, 2024
1dfe0c6
wip
darioush May 17, 2024
cccf3c6
test is fixed
darioush May 17, 2024
ce81a09
fix expecteds
darioush May 17, 2024
1cee661
nits
darioush May 17, 2024
887c5cf
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush May 17, 2024
debf267
fix merge
darioush May 17, 2024
34fdf72
Merge branch 'master' into geth-v1.13.14-sq
darioush May 22, 2024
073545d
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Jul 23, 2024
d6e7c75
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 8, 2024
a8b8a48
remove todos
darioush Aug 8, 2024
6985871
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 12, 2024
dc9d224
Merge branch 'master' into geth-v1.13.14-sq
darioush Aug 12, 2024
ae7fe77
try
darioush Aug 12, 2024
08170dd
try
darioush Aug 12, 2024
9477ea4
try
darioush Aug 12, 2024
4d15733
docker stuff
darioush Aug 12, 2024
8f7f709
fix
darioush Aug 12, 2024
db907cb
does this work
darioush Aug 12, 2024
283d7ac
fix
darioush Aug 12, 2024
8767d25
hardcode for now
darioush Aug 12, 2024
5ee6d06
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 12, 2024
0332b09
fix
darioush Aug 12, 2024
0d29d81
hardcode for now
darioush Aug 12, 2024
bb1ce2e
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 14, 2024
a8f2ba4
remove TODO comments
darioush Aug 14, 2024
ead21bd
fix
darioush Aug 14, 2024
a6b902b
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 23, 2024
6a40675
make txindexer more similar to upstream
darioush Aug 23, 2024
147da5f
peer/network: move ctx check
darioush Aug 23, 2024
357e934
enforce tips in miner
darioush Aug 23, 2024
b5b43a8
align nits with arr4n
darioush Aug 23, 2024
23015ef
remove use of deprecated type core.GenesisAccount
darioush Aug 23, 2024
6b89ab0
Revert "peer/network: move ctx check"
darioush Aug 23, 2024
7671f37
fix ctx check
darioush Aug 23, 2024
d0202dd
fix ctx again
darioush Aug 23, 2024
ad0a459
undo vm_test changes
darioush Aug 23, 2024
6cdd519
reduce diffs with ARR4N's branch
darioush Aug 28, 2024
bb00832
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.…
darioush Aug 28, 2024
5d76898
update for enforcing gasTip
darioush Aug 28, 2024
b08c9e0
unbuffer chan
darioush Aug 28, 2024
71d949e
update to use commit(true)
darioush Aug 29, 2024
1ecdfdd
use TestOnlyAllowDuplicateBlocks
darioush Aug 29, 2024
ab9f914
Revert "update to use commit(true)"
darioush Aug 29, 2024
2cec242
overflow in state_transition err
darioush Aug 30, 2024
a87d4f8
add http body limit flag (#1327)
ceyonur Sep 2, 2024
356a93d
Merge branch 'master' into geth-v1.13.14-sq
ceyonur Sep 2, 2024
e407ce4
Tail lock revisited (#1328)
ceyonur Sep 2, 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
1 change: 0 additions & 1 deletion .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
branches:
- master


jobs:
publish_docker_image:
name: Publish Docker Image
Expand Down
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)
ceyonur marked this conversation as resolved.
Show resolved Hide resolved
}

// 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