- Sep 17, 2021
-
-
Sina Mahmoodi authored
This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them: enter: type (opcode), from, to, input, gas, value exit: output, gasUsed, error The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information.
-
- Sep 16, 2021
-
-
Martin Holst Swende authored
-
- Sep 13, 2021
-
-
Marius van der Wijden authored
* core: cmd: invert disableMemory * core: fix missed inversion * cmd/evm: preserve Flags but change default value * Apply suggestions from code review Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Sep 10, 2021
-
-
Péter Szilágyi authored
-
- Aug 26, 2021
-
-
Martin Holst Swende authored
Revert "eth, internal/ethapi: make RPC block miner field show block sealer correctly (#23312)" (#23466) This reverts commit 57feabea.
-
- Aug 24, 2021
-
-
Péter Szilágyi authored
This reverts commit c368f728.
-
- Aug 23, 2021
-
-
Zsolt Felföldi authored
* eth/gasprice: cache feeHistory results * eth/gasprice: changed feeHistory block count limitation * eth/gasprice: do not use embedded struct in blockFees * eth/gasprice: fee processing logic cleanup * eth/gasprice: purge feeHistory cache at chain reorgs
-
- Aug 20, 2021
-
-
Péter Szilágyi authored
-
- Aug 18, 2021
-
-
chuwt authored
-
- Aug 17, 2021
-
-
陈佳 authored
Makes the RPC block return the POA sealer for clique blocks on the 'miner' field (was previously zeroes)
-
- Aug 10, 2021
-
-
Gary Rong authored
-
- Aug 07, 2021
-
-
Martin Holst Swende authored
This adds a check to verify that a sender-account does not have code, which means that the codehash is either `emptyCodeHash` _OR_ not present. The latter occurs IFF the sender did not previously exist, a situation which can only occur with zero cost gasprices.
-
- Jul 27, 2021
-
-
lightclient authored
* internal/ethapi/api: use hexutil.uint for blockCount parameter instead of int for feeHistory * return hex value for oldestBlock instead of number * return uint64 from oracle.resolveBlockRange * eth/gasprice: fixed test Co-authored-by:
Zsolt Felfoldi <zsfelfoldi@gmail.com>
-
- Jul 22, 2021
-
-
Marius van der Wijden authored
When processing a transaction with London fork rules, EIP-1559 mandates checking that the sender must have sufficient balance to cover gas * gasFeeCap. In the EIP's pseudocode, this check happens after the value transferred by the transaction has already been deducted. However, in go-ethereum, the balance has not yet been updated when the check happens, and therefore needs to be added explicitly. Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Jul 15, 2021
-
-
aaronbuchwald authored
-
- Jul 13, 2021
-
-
Mark authored
* core, eth, internal, les, light: get pending and queued transaction by address * core: tiny nitpick fixes * light: tiny nitpick Co-authored-by:
mark <mark@amis.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- Jul 08, 2021
-
-
Péter Szilágyi authored
-
- Jul 06, 2021
-
-
Sina Mahmoodi authored
* all: rm external interpreter and ewasm config * core/vm: rm Interpreter interface * cmd/geth: deprecate interpreter config fields
-
Martin Holst Swende authored
-
- Jul 02, 2021
-
-
ucwong authored
-
- Jul 01, 2021
-
-
Martin Holst Swende authored
Improves the performance of debug.traceTransaction
-
- Jun 30, 2021
-
-
Martin Holst Swende authored
Some tests take quite some time during exit, which I think causes some appveyor fails like this: https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3 One of the things that seem to take time during exit is waiting (up to 100ms) for the syncbloom to close. This PR changes it to use a channel, instead of looping with a 100ms wait. This also includes some unrelated changes improving the reliability of eth/fetcher tests, which fail a lot because they are time-dependent.
-
Marius van der Wijden authored
This PR removes the blockhash from the statedb
-
- Jun 29, 2021
-
-
Péter Szilágyi authored
-
- Jun 28, 2021
-
-
Zsolt Felföldi authored
* eth/gasprice: implement feeHistory API * eth/gasprice: factored out resolveBlockRange * eth/gasprice: add sanity check for missing block * eth/gasprice: fetch actual gas used from receipts * miner, eth/gasprice: add PendingBlockAndReceipts * internal/ethapi: use hexutil.Big * eth/gasprice: return error when requesting beyond head block * eth/gasprice: fixed tests and return errors correctly * eth/gasprice: rename receiver name * eth/gasprice: return directly if blockCount == 0 Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
Sina Mahmoodi authored
* core,eth/tracers: make isPrecompiled dependent on HF * eth/tracers: use keys when constructing chain config struct * eth/tracers: dont initialize activePrecompiles with random value
-
- Jun 25, 2021
-
-
Martin Holst Swende authored
This change increases the cache size from 64 to 256 Mb for block bodies. Benchmarks have shown this to be one bottleneck when trying to achieve higher download speeds. The commit also includes a minor optimization for header inserts in package core: previously, the presence of headers in the database was checked for every header before writing it. With the change, if one header fails the presence check, all subsequent headers are also assumed to be missing. This is an improvement because in practice, the headers are almost always missing during sync.
-
Li Dongwei authored
Co-authored-by:
lidongwei <lidongwei@huobi.com>
-
haryu703 authored
-
williamberman authored
* Convert int/hash values from context into js object * Use js fixed buffer Co-authored-by:
William <william.berman@coinbase.com>
-
- Jun 24, 2021
-
-
Péter Szilágyi authored
-
- Jun 15, 2021
-
-
Péter Szilágyi authored
* accounts/abi/bind: fix bounded contracts and sim backend for 1559 * accounts/abi/bind, ethclient: don't rely on chain config for gas prices * all: enable London for all internal tests * les: get receipt type info in les tests * les: fix weird test Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- Jun 10, 2021
-
-
Péter Szilágyi authored
-
- Jun 08, 2021
-
-
Péter Szilágyi authored
* all: rename internal 1559 gas fields, add support for graphql * cmd/evm/testdata, core: use public 1559 gas names on API surfaces
-
- Jun 04, 2021
-
-
Péter Szilágyi authored
-
- Jun 03, 2021
-
-
Gary Rong authored
Co-authored-by:
Gary Rong <garyrong0905@gmail.com> Co-authored-by:
Mikhail Kalinin <noblesse.knight@gmail.com>
-
- Jun 02, 2021
-
-
Martin Holst Swende authored
* internal/ethapi: add baseFee to RPCMarshalHeader * internal/ethapi: add FeeCap, Tip and correct GasPrice to EIP-1559 RPCTransaction results * core,eth,les,internal: add support for tip estimation in gas price oracle * internal/ethapi,eth/gasprice: don't suggest tip larger than fee cap * core/types,internal: use correct eip1559 terminology for json marshalling * eth, internal/ethapi: fix rebase problems * internal/ethapi: fix rpc name of basefee * internal/ethapi: address review concerns * core, eth, internal, les: simplify gasprice oracle (#25) * core, eth, internal, les: simplify gasprice oracle * eth/gasprice: fix typo * internal/ethapi: minor tweak in tx args * internal/ethapi: calculate basefee for pending block * internal/ethapi: fix panic * internal/ethapi, eth/tracers: simplify txargs ToMessage * internal/ethapi: remove unused param * core, eth, internal: fix regressions wrt effective gas price in the evm * eth/gasprice: drop weird debug println * internal/jsre/deps: hack in 1559 gas conversions into embedded web3 * internal/jsre/deps: hack basFee to decimal conversion * internal/ethapi: init feecap and tipcap for legacy txs too * eth, graphql, internal, les: fix gas price suggestion on all combos * internal/jsre/deps: handle decimal tipcap and feecap * eth, internal: minor review fixes * graphql, internal: export max fee cap RPC endpoint * internal/ethapi: fix crash in transaction_args * internal/ethapi: minor refactor to make the code safer Co-authored-by:
Ryan Schneider <ryanleeschneider@gmail.com> Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
gary rong <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- May 31, 2021
-
-
Péter Szilágyi authored
-
- May 28, 2021
-
-
Zsolt Felföldi authored
This pull request implements EIP-1559 compatible transaction pool with dual heap eviction ordering. It is based on #22791 The eviction ordering scheme and the reasoning behind it is described here: https://gist.github.com/zsfelfoldi/9607ad248707a925b701f49787904fd6
-
- May 27, 2021
-
-
Felix Lange authored
* p2p/msgrate: return capacity as integer * eth/protocols/snap: remove conversions * p2p/msgrate: add overflow test * p2p/msgrate: make the capacity overflow test actually overflow * p2p/msgrate: clamp capacity to max int32 * p2p/msgrate: fix min/max confusion
-