Commit graph

17417 commits

Author SHA1 Message Date
Matthieu Vachon
dcaa12917b First pass on getting tests to pass 2025-03-05 19:13:25 -05:00
Matthieu Vachon
eb156f3e06 First pass on adding Polygon 2.0 support 2025-03-02 12:56:38 -05:00
Manav Darji
85d8b9cc37
Merge pull request #1448 from maticnetwork/v2.0.0-candidate
v2.0.0 release
2025-02-17 18:30:35 +05:30
Manav Darji
4a1c4151fa
params: bump version to v2.0.0 2025-02-17 17:53:35 +05:30
Jerry
9be1add400
Bump version to v2.0.0-beta2 2025-02-10 08:14:51 -08:00
Jerry
b3c16d45fa
Merge remote-tracking branch 'upstream/develop' into v2.0.0-candidate 2025-02-10 08:12:44 -08:00
Manav Darji
466ff66f4e
miner: reset ctx timeout before commit tx on new tx notif (#1434)
* miner: reset ctx before commit transactions in main loop

* miner: log error in tx interrupt

* miner: typo

* worker: handle commit interrupt for new tx processing
2025-02-10 08:11:59 -08:00
Daniel Jones
d274e62c1e
Profile Updates, RPM removal (#1438)
* Updated amoy profiles for new amoy enodes

* Updating profiles for mainnet enodes

* Removal of rpm support as decided upon

* Updating params/bootnodes.go to newest bootnodes for amoy and mainnet
2025-02-10 07:22:58 -08:00
Marcello Ardizzone
ec2d46b5b4
Merge pull request #1439 from maticnetwork/mardizzone/pos-2821
POS-2821: improvements
2025-02-08 11:15:00 +01:00
Manav Darji
44775d8b49
Revert "consensus/bor: fetch validator set using parent hash" (#1440) 2025-02-07 18:53:48 +05:30
marcello33
315068601e
POS-2821: govulncheck CI and make command / bump golang 2025-02-07 10:38:59 +01:00
marcello33
70e513cac4
POS-2821: solve lint issues 2025-02-06 13:11:05 +01:00
marcello33
44b94ca6d3
POS-2821: solve lint issues 2025-02-06 13:05:46 +01:00
marcello33
d645a6dc27
POS-2821: do not continue on govulncheck error 2025-02-06 12:21:09 +01:00
marcello33
c7be15527c
POS-2821: bump golint 2025-02-06 11:45:14 +01:00
marcello33
6d0a54e635
POS-2821: restore missing line in checks 2025-02-06 11:05:08 +01:00
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
958fe8b5b1
Bump version to v2.0.0-beta 2025-01-30 11:40:03 -08: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