Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lee Bousfield
1c9afc56ae
core: prevent negative fee during RPC calls ( #25214 )
...
During RPC calls such as eth_call and eth_estimateGas, st.evm.Config.NoBaseFee is set
which allows the gas price to be below the base fee. This results the tip being negative,
and balance being subtracted from the coinbase instead of added to it, which results in a
potentially negative coinbase balance interestingly. This can't happen during normal chain
processing as outside of RPC calls the gas price is required to be at least the base fee,
as NoBaseFee is false.
This change prevents this behavior by disabling fee payment when the fee is not set.
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
..
asm
all: change format `0x%x` to `%#x` ( #25221 )
2 years ago
beacon
core/beacon: prevent invalid logsBloom length panic ( #24946 )
2 years ago
bloombits
Chore: Minimal gramatical errors (signleton -> singleton) ( #25057 )
2 years ago
forkid
cmd, params: implement Gray Glacier hard-fork (EIP-5133) ( #25088 )
2 years ago
rawdb
core/rawdb: fix typo in comment ( #25191 )
2 years ago
state
core, eth: pre-allocate map in storage copy ( #25279 )
2 years ago
types
core/types: fix typo in comment ( #25249 )
2 years ago
vm
all: change format `0x%x` to `%#x` ( #25221 )
2 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core: fix benchmark panic ( #24657 )
3 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
block_validator_test.go
consensus/beacon: check that only the latest pow block is valid ttd block ( #25187 )
2 years ago
blockchain.go
core: remove lock in BlockChain.ExportN ( #25254 )
2 years ago
blockchain_insert.go
eth/downloader: implement beacon sync ( #23982 )
3 years ago
blockchain_reader.go
core, eth, internal, rpc: implement final block ( #24282 )
3 years ago
blockchain_repair_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blockchain_sethead_test.go
all: more linters ( #24783 )
2 years ago
blockchain_snapshot_test.go
all: more linters ( #24783 )
2 years ago
blockchain_test.go
all: prefer `new(big.Int)` over `big.NewInt(0)` ( #25087 )
2 years ago
blocks.go
core: typos and comments improve
8 years ago
bloom_indexer.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
chain_indexer.go
all: make logs a bit easier on the eye to digest ( #22665 )
4 years ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
chain_makers_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
dao_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
error.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core/evm: fix error in comment ( #25040 )
2 years ago
forkchoice.go
all: core rework for the merge transition ( #23761 )
3 years ago
gaspool.go
miner: avoid unnecessary work ( #15883 )
7 years ago
gen_genesis.go
core: change baseFee into baseFeePerGas in genesis json
3 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
3 years ago
genesis.go
core: apply ttd override to uninitialized db ( #25136 )
2 years ago
genesis_alloc.go
core, params: add kiln flag ( #24548 )
3 years ago
genesis_test.go
core: store genesis allocation and recommit them if necessary ( #24460 )
3 years ago
headerchain.go
core: recover state when beacon sets canonical head if it's missing ( #24613 )
3 years ago
headerchain_test.go
all: core rework for the merge transition ( #23761 )
3 years ago
mkalloc.go
all: add go:build lines ( #23468 )
3 years ago
rlp_test.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
state_prefetcher.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor_test.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
state_transition.go
core: prevent negative fee during RPC calls ( #25214 )
2 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
all: use common.FileExist for checking file existence ( #24748 )
3 years ago
tx_list.go
core: fixed stale comment in txlist ( #23825 )
3 years ago
tx_list_test.go
core: fix benchmark tests ( #23803 )
3 years ago
tx_noncer.go
core: more efficient nonce-update in txpool ( #22231 )
3 years ago
tx_pool.go
core: fix typo in txpool ( #25149 )
2 years ago
tx_pool_test.go
all: replace uses of ioutil with io and os ( #24869 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago