anshalshukla
43043ed7ec
fix: few linting errors
2024-09-02 11:00:33 +05:30
anshalshukla
fc30355849
fix: TestRPCGetTransactionReceiptsByBlock
2024-09-01 13:36:21 +05:30
anshalshukla
da49748cd2
fix: Eth2NewBlock, add: tip check in commit txn
2024-08-31 14:53:02 +05:30
anshalshukla
c0ff6dbf81
fix: testcases, add: block broadcasting mechanism
2024-08-30 14:43:02 +05:30
anshalshukla
68d8614b72
fix: tracers, add bor fee log in results
2024-08-26 17:25:47 +05:30
Jerry
a49d56fb65
Fix TestFilterTxConditional
...
Explicitly call state.Finalize in order to flush the writes to storage trie. Root cause was because finalise called within state object were removed by this commit: be3284373f
2024-08-21 08:53:21 -07:00
anshalshukla
687cd76405
fix: testcases
2024-08-19 18:07:05 +05:30
Jerry
a23701f2d4
Fix getStateObject in statedb when MVHashmap is enabled
...
getDeletedStateObject is renamed to getStateObject after a recent upstream merge. We should wrap the entire function call with MVRead.
2024-08-13 11:29:06 -07:00
anshalshukla
b1419eb41d
fix: testcases
2024-08-13 16:46:46 +05:30
anshalshukla
4a9a875738
merge: master
2024-08-13 11:48:57 +05:30
anshalshukla
5cda3fe0f0
fix: testcases
2024-08-13 11:39:52 +05:30
Pratik Patil
bd5ed4c2c3
Merge branch 'master' of https://github.com/maticnetwork/bor into 1.3.5-candidate
2024-08-12 10:21:34 +05:30
anshalshukla
e6132fdf1e
fix: testcases
2024-08-09 11:59:34 +05:30
Pratik Patil
557ab43365
core/state: bug fix block stm
2024-08-07 18:53:01 +05:30
Anshal Shukla
03f253c1e0
add block fetcher back, fix handler and blockchain errors
2024-08-06 13:44:27 +05:30
Anshal Shukla
dbf55ce6cc
Merge tag 'v1.14.6' into upstream_merge_1.14.6
2024-08-05 16:29:10 +05:30
Pratik Patil
6939df80da
replaced 4337 with PIP-15
2024-07-30 10:00:12 +05:30
Pratik Patil
d0c74c4cf2
fix: eth/protocol: bunduled transactions are not broadcasted to the peers ( #1296 )
2024-07-29 14:44:48 +05:30
Manav Darji
dce4253605
PIP-35: enforce gas related configs for mainnet ( #1290 )
...
* enforce gas configs for all networks
* eth/gasprice: remove else if for log
* docs/cli: update example config
* fix tests
* internal/cli/server: fix tests
* miner: fix tests
2024-07-23 19:32:48 +05:30
Manav Darji
1a05223076
PIP-35 for amoy: enforce gas related configs ( #1285 )
...
* enforce gas related configs for amoy
* internal/cli/server: revert changes to default config.toml for test
* eth: check nil genesis for tests
2024-07-11 11:05:12 +05:30
Anshal Shukla
f4c41e2e70
Merge branch 'release/1.13' into upstream_merge_1.13
2024-07-10 11:19:34 +05:30
Hteev Oli
09056601d8
core/state: fix inconsistent verkle test error messages ( #29753 )
2024-07-01 21:57:04 +02:00
jwasinger
41abab9e39
build: add check for stale generated files ( #30037 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-07-01 17:16:15 +02:00
gitglorythegreat
06f1d077d3
all: replace division with right shift if possible ( #29911 )
2024-06-28 18:08:31 +02:00
maskpp
36d67be41b
core/txpool/blobpool: improve newPriceHeap function ( #30050 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-06-28 15:51:27 +02:00
maskpp
98b5930d2d
core/txpool/blobpool: avoid use *map as parameter. ( #30048 )
2024-06-25 14:19:04 +02:00
jwasinger
ed8fd0ac09
all: stateless witness builder and (self-)cross validator ( #29719 )
...
* all: add stateless verifications
* all: simplify witness and integrate it into live geth
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-06-25 14:48:08 +03:00
Manav Darji
32c9405afa
core/rawdb: log ancient pruner offset
2024-06-24 17:33:17 +05:30
rjl493456442
c10ac4f48f
Revert "core/state/snapshot: tiny fixes" ( #30039 )
...
Revert "core/state/snapshot: tiny fixes (#29995 )"
This reverts commit e0e45dbc32 .
2024-06-21 10:42:43 +03:00
rjl493456442
e0e45dbc32
core/state/snapshot: tiny fixes ( #29995 )
2024-06-21 09:51:03 +08:00
psogv0308
27008408a5
core/txpool/blobpool: change rw-lock to r-lock ( #29989 )
2024-06-19 14:46:57 +02:00
Ha DANG
67a862db9d
cmd/geth, ethdb/pebble: improve database statistic ( #29948 )
...
* cmd/geth, ethdb/pebble: polish method naming and code comment
* implement db stat for pebble
* cmd, core, ethdb, internal, trie: remove db property selector
* cmd, core, ethdb: fix function description
---------
Co-authored-by: prpeh <prpeh@proton.me>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2024-06-19 14:47:17 +08:00
Manav Darji
2fd85b3717
eth, consensus: refactor whitelisting related logs and improve error handling ( #1268 )
...
* eth, consensus: refactor whitelisting related logs and error handling
* core: fix lint
* eth: fix tests, check against root error
* eth: use ctx correctly while logging
* eth: refactor comments and error message
2024-06-18 14:43:51 +05:30
Marius van der Wijden
7cf6a63687
core/state/snapshot: acquire the lock on Release ( #30011 )
...
* core/state/snapshot: acquire the lock on release
* core/state/snapshot: only acquire read-lock when iterating
2024-06-18 10:52:49 +08:00
maskpp
34b46a2f75
core/state/snapshot: add a missing lock ( #30001 )
...
* upgrade lock usage
* revert unnecessary change
2024-06-17 10:42:39 +03:00
jwasinger
69351e8b0f
core/state, eth/protocols, trie, triedb/pathdb: remove unused error from trie Commit ( #29869 )
...
* core/state, eth/protocols, trie, triedb/pathdb: remove unused error return from trie Commit
* move set back to account-trie-update block scoping for easier readability
* address review
* undo tests submodule change
* trie: panic if BatchSerialize returns an error in Verkle trie Commit
* trie: verkle comment nitpicks
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-06-12 12:23:16 +03:00
Marcello Ardizzone
d67620c8f4
core, eth, internal, miner, params: enforce 30gwei for gas related configs in bor ( #1264 )
...
* add: enforce 30gwei for gas related configs in bor
* chg: fix lint
2024-06-12 14:41:25 +05:30
Felix Lange
1e97148249
all: fix inconsistent receiver name and add lint rule for it ( #29974 )
...
* .golangci.yml: enable check for consistent receiver name
* beacon/light/sync: fix receiver name
* core/txpool/blobpool: fix receiver name
* core/types: fix receiver name
* internal/ethapi: use consistent receiver name 'api' for handler object
* signer/core/apitypes: fix receiver name
* signer/core: use consistent receiver name 'api' for handler object
* log: fix receiver name
2024-06-12 10:45:42 +03:00
maskpp
3aa874bed2
core/state: rename all the AccessList receivers to 'al' ( #29921 )
...
rename all the receivers to 'al'
2024-06-11 11:24:44 +03:00
jwasinger
85587d5ef2
cmd, core: prefetch reads too from tries if requested ( #29807 )
...
* cmd/utils, consensus/beacon, core/state: when configured via stub flag: prefetch all reads from account/storage tries, terminate prefetcher synchronously.
* cmd, core/state: fix nil panic, fix error handling, prefetch nosnap too
* core/state: expand prefetcher metrics for reads and writes separately
* cmd/utils, eth: fix noop collect witness flag
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-06-11 11:10:07 +03:00
TinyFoxy
2eb185c92b
core, rlp: remove duplicated words ( #29964 )
2024-06-10 20:55:47 +08:00
jwasinger
db273c8733
core: initialize developer genesis beacon root contract with 0 balance ( #29963 )
2024-06-10 13:58:50 +08:00
Marquis Shanahan
d09ddac399
core/rawdb: remove unused deriveLogFields ( #29913 )
...
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Martin HS <martin@swende.se>
2024-06-05 21:05:00 +08:00
Hteev Oli
e85e21c932
core/state, eth/tracers: fix typos ( #29932 )
2024-06-05 11:07:37 +02:00
rjl493456442
125fb1ff58
core/state: avoid data race ( #29924 )
2024-06-04 15:51:34 +03:00
Steven Wang
adbbd8cd7b
core/state: prefetch account trie while starting a prefetcher ( #29919 )
...
Always prefetch the account trie while starting the prefetcher.
Co-authored-by: steven <steven@stevendeMacBook-Pro.local>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-06-04 11:12:24 +08:00
rjl493456442
d38b88a5a1
core/state: introduce stateupdate structure ( #29530 )
...
* core/state: introduce stateUpate structure
* core/state: remove outdated function description
* core/state: address comments
2024-06-03 14:17:12 +03:00
Chris Ziogas
c9e0b3105b
Supply delta live tracer ( #29347 )
...
Introduces the first built-in live tracer. The supply tracer tracks ETH supply changes across blocks
and writes the output to disk. This will need to be enabled through CLI using the `--vmtrace supply` flag.
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2024-06-03 12:30:27 +02:00
牛晓婕
e26fa9e40e
core/state: fix typo in comment ( #29639 )
2024-05-29 14:44:14 +02:00
PolyMa
06263b1b35
all: fix typos in comments ( #29873 )
...
fix using `a` & `the` simutaneously
2024-05-29 12:24:10 +02:00