Commit graph

2588 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Arpit Temani
1483c960ed merge develop 2023-11-03 10:10:02 +05:30
Ulaş Erdoğan
2bbf30ff90 core/vm: force the input length of p256verify
(cherry picked from commit 21f4932c9b)
2023-11-03 09:33:22 +05:30
Ulaş Erdoğan
0d115db168 core, crypto/secp256r1: fix error reverts tx error
(cherry picked from commit 2820903f59)
2023-11-03 09:32:56 +05:30
Ulaş Erdoğan
b5559e3018 core/vm: update the eip number
(cherry picked from commit f5b6d7e995)
2023-11-03 09:32:40 +05:30
Ulaş Erdoğan
40e6de0bf2 core/vm: fix testdata non-malleable for p256Verify
(cherry picked from commit ec17e788ad)
2023-11-03 09:31:20 +05:30
Ulaş Erdoğan
83a20d36ec core/vm: simplify the return values format
(cherry picked from commit d245194e77)
2023-11-03 09:30:56 +05:30
Ulaş Erdoğan
ae2d3da5c1 core/vm, params: rename precompiled to p256verify
(cherry picked from commit 6c7028a904)
2023-11-03 09:30:42 +05:30
Ulaş Erdoğan
cdb96096d8 core/vm: implement secp256r1 verifier precompiled
(cherry picked from commit a8c0a2e05c)
2023-11-03 09:30:21 +05:30
Arpit Temani
bc338be57b
Merge pull request #1068 from maticnetwork/v1.1.0-beta-candidate
Merge V1.1.0 beta candidate to 'develop'
2023-11-02 16:47:53 +05:30
Shivam Sharma
953039d1c0 rm : prevrandao 2023-11-01 00:44:16 +05:30
SHIVAM SHARMA
ab42a16a1b
fix : typo in (tx *DynamicFeeTx) gasPriceU256() (#1064) 2023-10-30 13:23:34 +05:30
Anshal Shukla
9f4457958d bor: make withdrawals nil 2023-10-20 15:05:41 +05:30
Paul O'Leary
a9c57370cd
Change legacy rando geth fork choice to be deterministic (#871)
* Change legacy rando geth fork choice to be deterministic, based on block hash.

* core: add forkchoice tests

* fix

---------

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2023-10-19 12:56:30 +05:30
Arpit Temani
1aa033520c fix tests 2023-10-17 00:52:04 +05:30
Arpit Temani
01a4c0d026 fix linters 2023-10-16 23:55:16 +05:30
Arpit Temani
109a0a19a6 enable hf in tests 2023-10-16 23:45:55 +05:30
Arpit Temani
48f6200449 merge shanghai tests 2023-10-16 23:23:13 +05:30
Shivam Sharma
1fc6354ab1 clean : shanghai changes 2023-10-06 12:06:46 +05:30
Shivam Sharma
558bb5433f fix : config and forkId tests 2023-10-05 14:39:43 +05:30
Shivam Sharma
2b1bd0997b Merge branch 'develop' into shivam/POS-1733 2023-10-05 12:14:31 +05:30
Arpit Temani
08b4937cb6 fix lint 2023-09-23 16:26:23 +05:30
Arpit Temani
c763560f88 fix testcases 2023-09-23 15:18:40 +05:30
Arpit Temani
7f727cb65d skip tests 2023-09-22 17:03:17 +05:30
Arpit Temani
11eb53be2b fix tests 2023-09-22 15:03:24 +05:30
Arpit Temani
4e3bcbc90d fix testcases 2023-09-21 21:07:50 +05:30
Arpit Temani
cc2c27dbd3 fix linters 2023-09-21 10:50:01 +05:30