Manav Darji
8ea52f5036
core: avoid starting prefetcher before process block to avoid duplication
...
We moved the starting of prefetcher to process block function as we need
to copy the state for block-stm (and hence we need separate prefetchers
for both). The witness generation code from upstream starts the prefetcher
early as the witness object is constructed. This lead to OOM issues as
we would be starting duplicate prefetchers per block leading to increase
in go routines with time (eventually OOM). This commit skips starting the
prefetcher earlier and instead pass the witness to process block to start
it later.
2025-04-30 14:51:46 -04:00
Manav Darji
2e71e50b6b
core: emit sidechain event during reorg
2025-03-31 12:02:19 +05:30
Manav Darji
0c0b9bc025
core: skip prague requests tests
2025-03-31 11:26:05 +05:30
Manav Darji
eb7f26f380
(fix): check for bor config when enabling prague requests
2025-03-28 11:42:27 +05:30
Manav Darji
91532b6a4e
core: skip verkle tests
2025-03-27 15:33:10 +05:30
Manav Darji
b1302594e5
core: skip verkle tests
2025-03-27 14:27:46 +05:30
Manav Darji
b7ec380c30
core: skip verkle tests
2025-03-26 23:40:17 +05:30
Manav Darji
1e75ff6109
fix linters
2025-03-26 19:33:36 +05:30
Manav Darji
4cfa413b38
core: skip TestReorgSideEvent test for time being
2025-03-26 15:43:45 +05:30
Manav Darji
adb53876db
core: add blockchain back to state processor for bor consensus
2025-03-26 12:10:15 +05:30
Manav Darji
253faa5bc1
core: add TestReorgSideEvent test and side chain event subscription back
2025-03-26 11:23:11 +05:30
Manav Darji
0aee8d9db7
core, eth: fix usage of timestamp based hf
2025-03-26 11:07:47 +05:30
Manav Darji
a648256a74
core/txpool/blobpool: add test config back
2025-03-26 11:06:37 +05:30
Manav Darji
c65177c035
core, eth, internal/cli: chain event fixes
2025-03-26 11:05:56 +05:30
Manav Darji
e1fcdd4f83
core: handle wrapped statedb in parallel state processor
2025-03-26 02:06:01 +05:30
Manav Darji
c0eacd4eee
core: remove todo and update call to create new state processor
2025-03-26 02:05:40 +05:30
Manav Darji
aee9a5cc07
core, params: replace time based hardforks in config to block based
2025-03-26 02:03:28 +05:30
Manav Darji
bfedb19b67
core: fix call to NewBlockchain in tests
2025-03-26 01:55:32 +05:30
Manav Darji
689a048d52
core: add cmath import back
2025-03-25 23:56:52 +05:30
Manav Darji
f090b34cd0
cmd, core, eth: make IsPrague block based instead of block, time both
2025-03-25 23:54:01 +05:30
Manav Darji
8bb1e67330
core: add sidechain event back, update chain2head event
2025-03-25 18:16:38 +05:30
Manav Darji
f9f84acd4b
core/state: fix stateObject function calls
2025-03-25 16:17:36 +05:30
Manav Darji
7f10fc419e
core/vm: remove duplicate function in state interface
2025-03-25 16:16:41 +05:30
Manav Darji
1acf5e6eb0
Merge tag 'v1.14.13' into manav/upstream_merge_v1.14.13
2025-03-24 21:45:55 +05:30
Manav Darji
754cce0629
Merge branch 'develop' into manav/upstream_merge_v1.14.11
2025-03-20 18:31:15 +05:30
linchizhen
a2fe0aaa2e
refactor: use t.TempDir() instead of os.MkdirTemp ( #1484 )
...
Signed-off-by: linchizhen <jiayanbing@yeah.net>
2025-03-11 06:41:40 -04:00
Lucca Martins
375260e859
mutex protection on trieReader storages
2025-02-27 07:49:21 -03:00
Manav Darji
646f6358dd
Merge branch 'develop' into manav/upstream_merge_v1.14.11
2025-02-27 11:18:07 +05:30
Lucca Martins
2df763df60
Revert "removing requests from bor"
...
This reverts commit ccede75223 .
2025-02-20 14:04:48 -03:00
Lucca Martins
b29072c21e
including missed change on statedb
2025-02-20 11:36:52 -03:00
Lucca Martins
ccede75223
removing requests from bor
2025-02-20 11:03:17 -03:00
Lucca Martins
f30ef31c25
process parent block hash in state parallel
2025-02-19 11:32:42 -03:00
Manav Darji
427ae01c2d
Merge tag 'v1.14.11' into manav/upstream_merge_v1.14.11
2025-02-18 18:55:48 +05:30
Lucca Martins
f19812f32c
removing tests on eip-6110 because bor has no deposit contracts
2025-02-16 19:25:47 -03:00
Lucca Martins
9b0ca36507
ensure latest HF is always with p256 verify
2025-02-16 19:07:47 -03:00
Lucca Martins
1de5835163
small fix building
2025-02-16 17:01:33 -03:00
Lucca Martins
1193fc40e0
disabling requests
2025-02-16 17:00:40 -03:00
Lucca Martins
9367a9e9f3
remove byzantine routine prefetcher
2025-02-16 16:57:38 -03:00
Lucca Martins
fcdefd9e51
including interrupt context back
2025-02-16 16:49:40 -03:00
Lucca Martins
7cb7653a18
try removing byzantine prefetecher to solve goroutine leak
2025-02-14 15:39:02 -03:00
Lucca Martins
0873515bcf
Merge remote-tracking branch 'origin/upstream_merge_v1.14.8' into lmartins/upstream_merge_v1.14.10
2025-02-11 03:51:43 -03:00
kamuikatsurgi
fc1d1fb01f
Merge develop
2025-02-11 10:22:01 +05:30
marcello33
44b94ca6d3
POS-2821: solve lint issues
2025-02-06 13:05:46 +01:00
Lucca Martins
26ec762a11
Merge remote-tracking branch 'origin/upstream_merge_v1.14.8' into lmartins/upstream_merge_v1.14.10
2025-02-04 10:35:52 -03:00
Lucca Martins
fc2198bedd
Merge tag 'v1.14.10' into lmartins/upstream_merge_v1.14.10
2025-02-04 07:41:07 -03:00
kamuikatsurgi
2d2dbcc398
Merge develop branch
2025-01-31 10:21:37 +05:30
chloefeal
b42c28dd93
fix: some typos ( #1396 )
...
* build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
* fix: typo
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
2025-01-31 01:02:27 +05:30
Manav Darji
a2f545573c
miner: get rid of test_backend helper functions ( #1424 )
...
* initial work for removing tracing from worker
* fix more things
* miner: sync code with worker.go, remove traces
* fix lint
* miner, core: get rid of test_backend helper functions
* miner: handle delay during tests in block building
* fix lint
* miner: reset context to get rid of parent timeout context
* miner: refactor test
2025-01-30 23:07:58 +05:30
Manav Darji
8a1e0ec125
Enforce parallel evm via flag ( #1425 )
...
* (feat): implement --parallelevm.enforce to force using block-stm
* core: debug log
* docs: update docs with new flag
* update all config files
* core: modify chain import test to enforce parallel processing
2025-01-30 23:01:27 +05:30
Manav Darji
9da0432ec2
miner, consensus, core: remove tracing in mining workflow ( #1422 )
...
This PR removes open telemetry based tracing from the whole mining workflow. The tracing extended into consensus and core blockchain functions from miner is also removed in this PR. We weren't checking the tracing from a long time and the way it was implemented increased the code complexity a lot.
2025-01-30 22:27:03 +05:30