Commit graph

17607 commits

Author SHA1 Message Date
Lucca Martins
92b79beb34
Merge remote-tracking branch 'origin/develop' into lmartins/upstream_merge_v1.14.10 2025-02-14 15:39:26 -03:00
Lucca Martins
7cb7653a18
try removing byzantine prefetecher to solve goroutine leak 2025-02-14 15:39:02 -03:00
crStiv
01f9cd701f
Fix typos (#1442)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2025-02-12 11:32:50 +05:30
Krishang Shah
3fab8b59e8
Merge pull request #1410 from maticnetwork/upstream_merge_v1.14.8
Upstream merge v1.14.8
2025-02-12 10:31:48 +05:30
Lucca Martins
5687bba178
Merge remote-tracking branch 'origin/develop' into lmartins/upstream_merge_v1.14.10 2025-02-11 08:22:18 -03:00
Manav Darji
1f2529fa0f
miner: add commit interrupt tests for non-validator mode (#1441)
This PR adds a test which verifies the working of miner module when running on a sentry (non-validator) node. It tries to disable the normal mining flow and trigger it via the new transactions subscription channel and asserts mainly 2 things
- Interrupt commit works and breaks execution when the time crosses deadline (i.e. header.Timestamp)
- Mining is not triggered when we've already crossed the deadline
2025-02-11 12:57:56 +05:30
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
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
kamuikatsurgi
c79edcfcac
Merge develop and add relevant comments 2025-02-07 10:22:16 +05:30
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
Lucca Martins
13d6ac9f58
fix global gas cap 2025-02-04 16:14:31 -03:00
Lucca Martins
5db5e5d817
keep gp to call always max 2025-02-04 15:14:46 -03:00
Lucca Martins
af4a29d20a
fix on golang image dockerfile 2025-02-04 11:38:43 -03:00
Lucca Martins
1bf49e2de0
fix test-integration 2025-02-04 11:10:19 -03: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
3926e96af5
Merge branch 'develop' into lmartins/upstream_merge_v1.14.10 2025-02-04 07:42:42 -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
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
kamuikatsurgi
2d2dbcc398
Merge develop branch 2025-01-31 10:21:37 +05:30
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
kamuikatsurgi
cb10335739
Merge latest develop branch 2025-01-30 16:23:12 +05:30
kamuikatsurgi
78513d75a3
Merge develop and remove commented code 2025-01-30 16:15:29 +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