Commit graph

16751 commits

Author SHA1 Message Date
Anshal Shukla
c4671e47b0
release: 1.3.1-beta-1 version 2024-04-19 13:23:39 +05:30
Anshal Shukla
4a03cc04c1
Merge pull request #1204 from maticnetwork/consistent-revert
Add: Changes reverted in PR#1124
2024-04-19 13:21:21 +05:30
Snoppy
2f61049a9b
chore: fix typos (#1215) 2024-04-18 07:05:50 +02:00
Martin Holst Swende
c5ba367eb6 params: release Geth v 1.13.15 2024-04-17 07:22:00 +02:00
rjl493456442
35e0525bf4 core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie (#29313)
This pull request defines a gentrie for snap sync purpose.

The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).

In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.

Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:

-    boundary node filtering
-    internal (covered by extension node) node clearing

This changes adds one more:

- Clearing leftover nodes on the boundaries.

This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
2024-04-17 07:22:00 +02:00
Martin HS
7bcb5532a5 eth/filters: enforce topic-limit early on filter criterias (#29535)
This PR adds a limit of 1000 to the "inner" topics in a filter-criteria
2024-04-17 07:22:00 +02:00
Martin HS
e343ddf9eb core/rawdb: add sanity-limit to header accessor (#29534) 2024-04-17 07:22:00 +02:00
rjl493456442
5dcf5032b5 eth/protocols/snap: skip retrieval for completed storages (#29378)
* eth/protocols/snap: skip retrieval for completed storages

* eth/protocols/snap: address comments from peter

* eth/protocols/snap: add comments
2024-04-17 07:22:00 +02:00
Manav Darji
a0c7d0c177
eth/downloader: bypass peer validation if remote peer is far away (#1219)
* eth/downloader: bypass peer validation if remote peer is far away

* eth/downloader: parameterise threshold, fix condition

* eth: add tests for bypassing validation

* eth/downloader: declare max validation threshold instead of using direct value

* address comments

* simplify
2024-04-15 17:17:18 +05:30
SHIVAM SHARMA
d8db72ae01
Merge pull request #1220 from maticnetwork/master
Back-merge master branch into 'develop'
2024-04-15 12:37:34 +05:30
Manav Darji
f6969dbc46
eth: close engine before handler for graceful shutdown (#1189) 2024-04-15 10:38:09 +05:30
Manav Darji
ffe810e55a
Update lintci and fix lints (#1217) 2024-04-12 18:52:17 +05:30
SHIVAM SHARMA
46f93b1f94
Merge pull request #1202 from maticnetwork/v1.3.0-beta-candidate
merge "V1.3.0 beta candidate" into master
2024-04-12 15:04:28 +05:30
Shivam Sharma
840ca99ed7
bump : version to 1.3.0 2024-04-12 13:56:18 +05:30
dongjinlong
a31a41d47a
chore: fix some comments (#1203)
Signed-off-by: dongjinlong <dongjinlong@outlook.com>
2024-04-10 11:19:50 +02:00
Jerry
2e48bb1c2a
Merge pull request #1205 from cffls/upstream_merge
Merge v1.13.6 from geth
2024-04-09 08:06:47 -07:00
Anshal Shukla
7ae6dec52d
Merge pull request #1208 from maticnetwork/genesis-amoy-json
Genesis amoy json
2024-04-08 11:32:34 +05:30
Pratik Patil
ee7299bb24
eth, miner: fix enforcing the minimum miner tip (#28933) (#1209)
* eth, miner: fix enforcing the minimum miner tip

* ethclient/simulated: fix failing test due the min tip change

* accounts/abi/bind: fix simulater gas tip issue

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-04-08 10:47:47 +05:30
Anshal Shukla
f40abf9dcf
add: amoy genesis json 2024-04-04 13:46:38 +05:30
Jerry
98a2f47f92
Fix test-integration 2024-03-28 20:30:13 -07:00
Jerry
3fc3de0b8c
Fix build errors 2024-03-28 20:30:13 -07:00
Jerry
5d77c381e6
Merge tag 'v1.13.6' into upstream_merge 2024-03-28 16:28:51 -07:00
Anshal Shukla
3e113ed7df
fix: failure in milestones vote on hash 2024-03-28 17:51:13 +05:30
Anshal Shukla
f506350ddb
consensus/bor: handle blockalloc balance changes (#1074)
* fix: set balance in blockalloc

* chg: don't update balance if not zero

* fix: lint

* fix logic, add test cases
2024-03-28 17:49:54 +05:30
Pratik Patil
120cbc7c01
test all default flags added via config file (#1105) 2024-03-28 17:49:34 +05:30
Anshal Shukla
a9969cb644
add: commits back from reverted 'consistent' PR 2024-03-28 15:19:36 +05:30
Arpit Temani
0980a5b3e5
allow unprotected txns 2024-03-28 15:15:53 +05:30
Anshal Shukla
f36a199c2a
chg: make HF consistent 2024-03-28 15:12:18 +05:30
Shivam Sharma
fd4b9c2fcf
bump : version to v1.3.0-beta-2 2024-03-26 17:26:27 +05:30
Shivam Sharma
b38c7b017e
add : cancun block for Amoy 2024-03-26 17:16:54 +05:30
SHIVAM SHARMA
694eadb94d
Merge pull request #1198 from maticnetwork/v1.3.0-beta-candidate
merge "V1.3.0 beta candidate" into develop
2024-03-26 14:38:53 +05:30
Marcello Ardizzone
df47eb9243
add: milestones audit (#1200) 2024-03-26 07:15:58 +01:00
Jerry
8be2283e7a
Properly close deps channel (#1197)
In case where commitTransactions is interrupted, it will exit without properly closing chDeps, leaving the dependency calculation goroutine hanging. This commit fixes this issue.
2024-03-21 23:31:10 -07:00
Shivam Sharma
f3cf1c1450
fix : TestRPCGetTransactionReceiptsByBlock 2024-03-21 17:24:56 +05:30
bbaktaeho
61e8d4148d fix: lint 2024-03-21 13:46:01 +05:30
bbaktaeho
ccb8ff6d21 fix GetTransactionReceiptsByBlock 2024-03-21 13:45:10 +05:30
Anshal Shukla
5461f9bdc4
Merge pull request #1196 from maticnetwork/update-pebble
Update pebble from upstream
2024-03-21 09:43:15 +05:30
Devon Bear
2866972461
go.mod: bump pebble db to official release (#29038)
bump pebble
2024-03-21 00:58:19 +05:30
Marius van der Wijden
500b031117
ethdb/pebble: remove a dependency (#28627)
The dependency was not really used anyway, so we can get rid of it.

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-03-21 00:53:23 +05:30
Maciej Kulawik
123a9b5593
ethdb/pebble: don't double-close iterator inside pebbleIterator (#28566)
Adds 'released' flag to pebbleIterator to avoid double closing cockroachdb/pebble.Iterator as it is an invalid operation.

Fixes #28565
2024-03-21 00:49:51 +05:30
Shivam Sharma
1b6a8ce362 bump : version to v1.3.0-beta-1 2024-03-20 17:33:21 +05:30
SHIVAM SHARMA
b1bb876d0a
Merge pull request #1194 from maticnetwork/shivam/temp-master-develop
Merge branch 'master' into develop
2024-03-20 16:32:05 +05:30
Shivam Sharma
d9c6d122e2 fix : BlockBodiesResponse 2024-03-20 15:25:35 +05:30
Shivam Sharma
feeca914ef Merge branch 'v1.2.9-beta-candidate' into shivam/temp-master-develop 2024-03-20 14:55:19 +05:30
Shivam Sharma
184b2d628d Merge branch 'master' into shivam/temp-master-develop 2024-03-20 14:29:04 +05:30
Manav Darji
deb34da04d
core: remove tracing and handle err in reorg call (#1193) 2024-03-19 16:27:33 +05:30
Manav Darji
02f8fec387 bump version to v1.2.9-beta 2024-03-19 15:55:08 +05:30
Arpit Temani
43958943ed
Merge pull request #1186 from maticnetwork/v1.2.8-beta-candidate
V1.2.8 beta candidate
2024-03-15 12:00:37 +05:30
Anshal Shukla
2f23f985a0 release: stable version 2024-03-15 11:58:36 +05:30
marcello33
1912ac4d9a
chg: fix protoc messages with new protobuf version (#1188) 2024-03-14 11:05:03 +01:00