Commit graph

2283 commits

Author SHA1 Message Date
kamuikatsurgi
fc1d1fb01f
Merge develop 2025-02-11 10:22:01 +05:30
kamuikatsurgi
c79edcfcac
Merge develop and add relevant comments 2025-02-07 10:22:16 +05:30
marcello33
44b94ca6d3
POS-2821: solve lint issues 2025-02-06 13:05:46 +01: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
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
kamuikatsurgi
78513d75a3
Merge develop and remove commented code 2025-01-30 16:15:29 +05:30
kamuikatsurgi
f09f89e1cb
make bor && make all successful 2025-01-22 15:36:07 +05:30
marcello33
9cb6fcac0b
chg: handle edge cases with string blockNumber 2024-11-13 11:33:02 +01:00
marcello33
a4eb8db5bf
fix: lint 2024-11-08 18:33:58 +01:00
marcello33
8c960fd08a
Merge branch 'develop' of https://github.com/maticnetwork/bor into bor-grpc 2024-11-08 18:13:04 +01:00
marcello33
af939db84b
chg: logs 2024-11-08 16:22:50 +01:00
marcello33
af5c3275b2
chg: fix functions' names 2024-11-08 12:05:03 +01:00
marcello33
aae292c8ca
chg: add logs 2024-11-08 11:22:13 +01:00
Jerry
a7578a3cea Fix panic on getting safe block
Since bor doesn't have "safe" block, the api should always return null when requested safe block.
2024-10-09 07:59:21 -07:00
Jerry
827811a8d2
Fix panic in eth_getLogs 2024-10-03 22:33:45 -07:00
Jerry
bb47bdaa4e
Add pending logs back 2024-09-13 10:54:47 -07:00
Jerry
b43fb1bf04
Remove duplicated tx fetcher call 2024-09-12 20:41:56 -07:00
Jerry
d9daacad17
Address goroutine leak 2024-09-12 15:56:33 -07:00
anshalshukla
a323609c31
add: eth67 protocol 2024-09-12 16:04:41 +05:30
anshalshukla
a66305dae3
fix: lint, add: milestone related tests in downloader 2024-09-05 14:03:10 +05:30
anshalshukla
ef88b4dfce
fix: parallelise tests in core 2024-09-05 13:46:37 +05:30
anshalshukla
a159bf7597
fix: set ethapi in handler 2024-09-04 16:29:00 +05:30
anshalshukla
9513da48e2
fix: add back ethApi and mining login in handler 2024-09-04 15:01:04 +05:30
anshalshukla
693d8aebcd
skip: testcase 2024-09-04 10:52:11 +05:30
anshalshukla
cec3ee18d8
fix: testcases 2024-09-03 16:21:20 +05:30
anshalshukla
43043ed7ec
fix: few linting errors 2024-09-02 11:00:33 +05:30
anshalshukla
c0c129859d
fix: testcases 2024-09-01 15:19:05 +05:30
Manav Darji
8285ea7b8c
eth/protocols/snap: skip test 2024-08-31 15:28:58 +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
anshalshukla
ab2db597d9
fix: traceTx function 2024-08-22 17:21:22 +05:30
anshalshukla
f88af20009
fix: testcases 2024-08-21 23:25:11 +05:30
anshalshukla
687cd76405
fix: testcases 2024-08-19 18:07:05 +05:30
Manav Darji
cdf58273c9
regenerate mocks to fix tests 2024-08-14 12:18:26 +05:30
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
rjl493456442
5adf4adc8e
eth/protocols/snap: cleanup dangling account trie nodes due to incomplete storage (#30258)
This pull request fixes #30229.
 
During snap sync, large storage will be split into several pieces and
synchronized concurrently. Unfortunately, the tradeoff is that the respective
merkle trie of each storage chunk will be incomplete due to the incomplete
boundaries. The trie nodes on these boundaries will be discarded, and any
dangling nodes on disk will also be removed if they fall on these paths,
ensuring the state healer won't be blocked.

However, the dangling account trie nodes on the path from the root to the
associated account are left untouched. This means the dangling account trie
nodes could potentially stop the state healing and break the assumption that the
entire subtrie should exist if the subtrie root exists. We should consider the
account trie node as the ancestor of the corresponding storage trie node.

In the scenarios described in the above ticket, the state corruption could occur
if there is a dangling account trie node while some storage trie nodes are
removed due to synchronization redo.

The fixing idea is pretty straightforward, the trie nodes on the path from root
to account should all be explicitly removed if an incomplete storage trie
occurs. Therefore, a `delete` operation has been added into `gentrie` to
explicitly clear the account along with all nodes on this path. The special
thing is that it's a cross-trie clearing. In theory, there may be a dangling
node at any position on this account key and we have to clear all of them.
2024-08-12 10:43:54 +02:00
anshalshukla
e6132fdf1e
fix: testcases 2024-08-09 11:59:34 +05:30
psogv0308
ebe31dfd5c
eth/downloader, core/types: take withdrawals-size into account in downloader queue (#30276)
Fixes a slight miscalculation in the downloader queue, which was not accurately taking block withdrawals into account when calculating the size of the items in the queue
2024-08-08 15:14:00 +02:00
Anshal Shukla
03f253c1e0
add block fetcher back, fix handler and blockchain errors 2024-08-06 13:44:27 +05:30
Delweng
10586952df
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasUsed (#30267)
Seems it is checked with the wrong argument

Signed-off-by: jsvisa <delweng@gmail.com>
2024-08-05 11:14:22 -06:00
Anshal Shukla
dbf55ce6cc
Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
Felix Lange
16cf5c5fed
eth/downloader: gofmt (#30261)
Fixes a regression introduced in
https://github.com/ethereum/go-ethereum/pull/30219
2024-08-02 17:36:28 +02:00
Seungmin Kim
dad8f237ff
eth/downloader: correct sync mode logging to show old mode (#30219)
This PR fixes an issue in the setMode method of beaconBackfiller where the
log message was not displaying the previous mode correctly. The log message
now shows both the old and new sync modes.
2024-08-01 16:10:43 +02:00
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
caseylove
ac0f220040
eth/tracers, internal/ethapi: remove unnecessary map pointer in state override (#30094) 2024-07-25 01:01:59 +02:00