Commit graph

2697 commits

Author SHA1 Message Date
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
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
cb23b9baa3
eth, core: track block propagation (#1078)
* eth, core: track block announcement and import timings

* eth: track total delay

* eth: add more context and prefix in logs

* eth/fetcher: fix invalid tracking of received at time

* put logs behind log.enable-block-tracking flag

* fix lint

* improve logging

* add comments

* add comments
2024-03-05 22:30:51 +05:30
Pratik Patil
de45e3f54e
added lock to originStorage, pendingStorage and dirtyStorage in GetCommittedState function to fix 'concurrent map writes' (#1176) 2024-03-05 21:40:41 +05:30
lightclient
9f9e1be47e core/types: fix unmarshalling of BlobTx values (#27939)
FromBig returns true *when overflow occurs*
2024-02-14 13:14:14 +05:30
Shivam Sharma
4008d5efe8 Merge branch 'develop' into shivam/upstream-geth-1.13.5 2024-02-08 18:00:59 +05:30
Pratik Patil
36f2ae5b37
core: reset tx lookup cache if necessary (#28865) (#1157)
This pull request resets the txlookup cache if chain reorg happens, 
preventing them from remaining reachable. It addresses failures in
the hive tests.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-02-07 15:00:16 +05:30
VaibhavJindal
577e2b572c
Merge pull request #1147 from rex4539/typos
fix typos
2024-02-01 13:45:09 +05:30
Pratik Patil
3f58da7279 hot fix: block stm ParallelSpeculativeProcesses flag 2024-01-29 16:52:40 +05:30
Dimitris Apostolou
ce68cb17ac
fix typos 2024-01-29 09:21:47 +02:00
Pratik Patil
f1e0b1d926
Changed parallel universe HF to Cancun HF and some important fixes (#1132)
* changed parallel universe HF to napoli HF

* integration-tests: update ipc path on ci tests (#1127)

* integration-tests: update ipc path on ci tests

* added devnetBorFlags in matic-cli-config.yml

---------

Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>

* Revert "integration-tests: update ipc path on ci tests (#1127)"

This reverts commit 0660fac39b.

* using cancun for block-stm metadata instead of napoli

* added a check to verify tx dependencies and test cases

* fix in snapshot.chainConfig

* removed snapshot.*params.BorConfig using snapshot.chainConfig.Bor instead

* removed unnecessary if statement in ParallelStateProcessor.Process

* addressed comment

* small fix in commitTransactions

* dependency calculation bug fix in miner/worker.go

---------

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
2024-01-23 10:52:00 +05:30
Pratik Patil
c559619c80
fix bug: should use Lock when mutating the flag (#1141)
* should use Lock when mutating the flag

* same problem in MVHashMap.Write

* hole the rlock while reading WriteCell

---------

Co-authored-by: zhiqiangxu <652732310@qq.com>
2024-01-22 20:47:47 +05:30
Pratik Patil
6801260e9a
Revert "fix bug: should use Lock when mutating the flag" (#1140) 2024-01-22 19:00:20 +05:30
Arpit Temani
b15e2dc162
Merge pull request #1120 from zhiqiangxu/fix_MarkEstimate
fix bug: should use Lock when mutating the flag
2024-01-19 19:06:24 +05:30
Shivam Sharma
fcd5002b6b fix : flags, FLOCK lock 2024-01-19 17:55:39 +05:30
Anshal Shukla
e070986483 remove: kgz precompile 2024-01-19 17:35:29 +05:30
Arpit Temani
59fa8cb9ac Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into eip7212 2024-01-19 17:31:39 +05:30
Arpit Temani
99e15b19d1
Merge pull request #1130 from maticnetwork/remove-kgz
core/vm: remove kzg precompile
2024-01-19 17:26:16 +05:30
Arpit Temani
5fc30aeaac
Revert "Consistent" 2024-01-19 17:19:12 +05:30
Arpit Temani
603a425fee
Merge pull request #1124 from maticnetwork/consistent
Consistent
2024-01-19 17:07:24 +05:30
Shivam Sharma
65014b1f5e Merge branch 'develop' into shivam/upstream-geth-1.13.5 2024-01-19 13:56:00 +05:30
SHIVAM SHARMA
2a35bf8340
add : amoy flags and genesis (#1131)
* add : amoy flags and genesis

* minor fix

* add : amoy.json in internal/cli/server

* disable : peer check in mining for Amoy

* add : amoy genesis hash

* add amoy testnet deployment entries

* update : amoy genesis

* fix typos

* add : post london forks + burn contract

* add : amoy genesis hash

* bump : version meta to amoy (#1092)

* add : amoy bootnodes

* chg : maxpeers of amoy val to 3 from 1

* bump : version to v1.1.0-amoy-2

* add : amoychain worker restriction on peercount

---------

Co-authored-by: sreevalsanmr <sreevalsan@polygon.technology>
2024-01-19 02:01:36 +05:30
Shivam Sharma
da02b7acec Merge branch 'develop' into shivam/upstream-geth-1.13.5 2024-01-18 13:21:20 +05:30
Anshal Shukla
a622722ff2 remove: kgz precompile from cancun 2024-01-18 11:52:02 +05:30
Anshal Shukla
f57c637814
EIP7212 / PIP27 (#1069)
add: EIP7217/PIP27 implementation and related test cases

---------

Co-authored-by: Ulaş Erdoğan <uerdogan2001@hotmail.com>
2024-01-12 21:18:50 +05:30
Anshal Shukla
1e5211c1c7 add test cases 2024-01-12 20:45:10 +05:30
Shivam Sharma
c816d0f1f3 fix : TestWelcome genesis bug 2024-01-11 16:18:35 +05:30
Shivam Sharma
c0bf289a84 fix : testcases 2024-01-10 17:12:37 +05:30
zhiqiangxu
d0c7045cce hole the rlock while reading WriteCell 2024-01-06 21:33:58 +08:00
zhiqiangxu
aa00c8f96c same problem in MVHashMap.Write 2024-01-06 21:25:09 +08:00
zhiqiangxu
dfe484d6a2 should use Lock when mutating the flag 2024-01-05 23:49:19 +08:00
Arpit Temani
7253babddc revert pruning hotfix 2023-12-27 16:42:06 +05:30
Arpit Temani
532ebd41e9 debug testing 2023-12-18 15:40:54 +05:30
Shivam Sharma
8c088c7295 fix : resolve static problems 2023-12-15 13:57:19 +05:30
Shivam Sharma
a9fa325b7e Merge tag 'v1.13.5' of https://github.com/ethereum/go-ethereum into shivam/upstream-geth-1.13.5 2023-12-15 13:55:57 +05:30
Arpit Temani
968267957e
Update core/txpool/validation.go
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
2023-12-03 17:14:57 +05:30
Arpit Temani
91ff270cd9 allow unprotected txns 2023-11-30 15:35:46 +05:30
Anshal Shukla
a0b925bfe3 merge develop 2023-11-30 13:08:09 +05:30
Anshal Shukla
05a19f2a36 fix test, add napoli block 2023-11-30 12:56:21 +05:30
Pratik Patil
e3192cae8b
hot fix: block stm ParallelSpeculativeProcesses flag 2023-11-24 12:50:04 +05:30
Arpit Temani
53c7d9b228 remove unnecessary lines 2023-11-24 11:35:13 +05:30
rjl493456442
326fa00759
core/rawdb: fsync the index file after each freezer write (#28483)
* core/rawdb: fsync the index and data file after each freezer write

* core/rawdb: fsync the data file in freezer after write
2023-11-10 12:56:39 +02:00
Arpit Temani
9c1308818c make blobgas nil 2023-11-10 14:29:27 +05:30
Arpit Temani
073bb183da make blobgas nil 2023-11-10 14:22:14 +05:30
Arpit Temani
bee537ab98 fix lint 2023-11-09 21:19:27 +05:30
Arpit Temani
cee2c221b2 disbale 4844 2023-11-09 20:43:18 +05:30
Pratik Patil
aa604a6744
added conditional transaction filtering in legacypool 2023-11-08 16:23:43 +05:30