Commit graph

17400 commits

Author SHA1 Message Date
marcello33
aba9811494
POS-2821: GHE fixes 2025-02-06 11:04:03 +01:00
Leekyungun
51af82cca1
fix: Update transaction validation logic in ethclient (#1435)
- Declare zeroAddress as a constant
- If there is only one transaction in the block and the header's txHash is `EmptyTxsHash`, it indicates a state-sync transaction. No error handling is required in this case.
2025-02-05 09:43:51 +05:30
Jerry
d1219ff6d4
Merge pull request #1403 from maticnetwork/dependabot/go_modules/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0
2025-02-03 10:51:38 -08:00
Lucca Martins
d5d7e00364
Merge pull request #1415 from maticnetwork/lmartins/validator-id-on-snap-apply
Fix validator id on bor_getSnapshot, bor_getSnapshotAtHash and  bor_getCurrentValidators
2025-01-31 08:12:15 -03:00
dependabot[bot]
5b51a11836
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 22:56:04 +00:00
Jerry
962923b816
Merge pull request #1429 from maticnetwork/master
Backport master to develop
2025-01-30 11:35:02 -08:00
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
73e7a84851
builder, docs, packaging: update amoy dns, uncomment mainnet p2p configs (#1428)
- Add DNS entries to Amoy configs
- Uncomment p2p.discovery in Mainnet and Amoy configs
- Update Amoy bootnodes
2025-01-31 00:48:56 +05:30
Marcello Ardizzone
2be86c91f9
rm: sender account overwrite (#1418) 2025-01-30 10:31:34 -08:00
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
Pratik Patil
fd71beb57e
Merge pull request #1427 from maticnetwork/v1.5.5-candidate
v1.5.5 release
2025-01-30 19:24:26 +05:30
Manav Darji
983b715f08
params: bump version to v1.5.5 2025-01-30 18:43:00 +05:30
Manav Darji
573c343d54
crypto: add IsOnCurve check 2025-01-30 18:41:32 +05:30
Simone Bologna
984e074a9b
trim trailing / from ancient path (#1400) 2025-01-30 14:56:22 +05:30
Pratik Patil
348026227f
Merge pull request #1426 from maticnetwork/master
v1.5.4 backport
2025-01-30 14:53:48 +05:30
Krishang Shah
ce4af042a3
Simplify e2e-tests CI by using the consolidated script (#1423)
* use the consolidated script for e2e-tests

* minor nit
2025-01-28 23:30:27 +05:30
Jerry
c038dd26ce
Remove redundant locks from txpool (#1420) 2025-01-28 08:49:30 -08:00
Jerry
4c6169a604
Use PBSS and pebble by default (#1412)
* Use pebble db and PBSS by default

* Address CR comments

* Fix failed test
2025-01-27 10:45:33 -08:00
Lucca Martins
1c8e610b3f
querying the start block of next span 2025-01-27 09:48:26 -03:00
Lucca Martins
a01c180246
check empty ids before querying validator set contract 2025-01-27 09:13:35 -03:00
Manav Darji
4ef49519f0
consensus/bor: log err when commit span fails (#1413)
* consensus/bor: log err in commit span

* consensus/bor: fix lint
2025-01-27 16:45:42 +05:30
Lucca Martins
24fe3cc8fc
fix lint 2025-01-27 04:43:12 -03:00
Lucca Martins
8255ce1e1f
unit tests on new functions 2025-01-27 04:37:37 -03:00
Lucca Martins
7fee5576b2
fix on lint 2025-01-24 16:32:58 -03:00
Lucca Martins
72cbafbd16
apply validator id from validatorSet contract 2025-01-24 15:45:46 -03:00
Manav Darji
3a3e619d4c
Merge pull request #1411 from maticnetwork/manav/indexer-graceful-shutdown
core/rawdb: prevent ungraceful shutdown in tx indexing
2025-01-24 16:12:26 +05:30
Jerry
a15366359e
Use pool for keccak (#1407) 2025-01-21 09:25:19 -08:00
avalkov
0d1b857a79
Merge pull request #1406 from cffls/accurate_chain_execution
Make block execution timer more accurate
2025-01-16 10:21:44 +02:00
avalkov
62e7448773
Merge pull request #1404 from maticnetwork/lmartins/rpc-state-sync-tests
StateSync Unit Tests on RPC Methods
2025-01-16 10:17:13 +02:00
Jerry
99be105427
Make block execution timer more accurate
Block execution contains the time it takes to fetch state sync data from heimdall, which sometimes returns data with long latency (> 1s). When the latency is significant, the chain execution time will be affected and become inaccurate. This PR isolate the time of heimdall requests from block execution.
2025-01-15 14:39:44 -08:00
Lucca Martins
b0bba24d7c removed blob tx tests 2025-01-14 04:08:07 -03:00
Lucca Martins
31e7d4a4ed proper error handling for not found scenarios 2025-01-13 07:26:21 -03:00
Lucca Martins
3582958cc0 eth_getTransactionByBlockHashAndIndex tests and fix on parallel tests 2025-01-12 19:03:19 -03:00
Lucca Martins
5646ee6258 getAllBlockTransactionsTest 2025-01-12 18:30:00 -03:00
Lucca Martins
a345d6c95c GetBlockReceipts test 2025-01-12 17:05:00 -03:00
Lucca Martins
828fc00b6f GetTransactionByHash tests and rawdb call replacement 2025-01-12 09:44:47 -03:00
Lucca Martins
41134d0473 state sync tests on rpc methods 2025-01-12 04:07:25 -03:00
Jerry
ceb62bb9d3
Merge pull request #1402 from maticnetwork/v1.5.4-candidate
V1.5.4 candidate
2025-01-10 10:17:29 -08:00
Jerry
36954c3cfb
Bump version to v1.5.4 2025-01-09 23:16:31 -08:00
Jerry
230be40ae2
Bump default value of txpool global slots
Increase the default value in order to reduce the time spent in txpool reorg.
When txpool is saturated, txpool reorg can take more than a few seconds to run. This impacts block producer because the producer would need to get the pending txns from txpool, which is blocked by reorg.
2025-01-09 23:16:31 -08:00
Jerry
f4788d3059
Merge branch 'develop' into v1.5.4-candidate 2025-01-08 11:06:47 -08:00
avalkov
14ea2cafbc
Merge pull request #1401 from maticnetwork/avalkov/GRPC-API-Checks
Additional GRPC API checks
2025-01-08 14:42:41 +02:00
Angel Valkov
7ed0bae0ec
Additional GRPC API checks 2025-01-08 12:12:52 +02:00
Jerry
75ef2a29fe
Bump version to v1.5.4-beta 2025-01-02 08:09:34 -08:00
Jerry
2c453199c8
Merge pull request #1395 from cffls/develop
Backport master to develop
2025-01-02 07:51:47 -08:00
Raneet Debnath
37e6f705c5
Merge pull request #1386 from maticnetwork/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
2024-12-26 09:46:20 +05:30
Jerry
ba53498f49
Merge remote-tracking branch 'upstream/master' into develop 2024-12-24 09:34:36 -08:00
Jerry
47cdc309f5
Fix hasher (#1394)
This will fix a hasher bug that was introduced in a23701f2d4
2024-12-24 09:03:55 -08:00