Commit graph

16376 commits

Author SHA1 Message Date
Shivam Sharma
7839c39005 fix : callWithState 2024-02-08 18:05: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
Shivam Sharma
ece5093896 fix : metrics expensive 2024-02-05 15:37:59 +05:30
Pratik Patil
08a2608023
removed ParallelUniverseBlock from amoyTestnet (#1154) 2024-02-05 11:29:07 +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
Manav Darji
241af1fa1e
Merge pull request #1139 from maticnetwork/v1.2.3-candidate
v1.2.3
2024-01-23 12:15:10 +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
Pratik Patil
6801260e9a
Revert "fix bug: should use Lock when mutating the flag" (#1140) 2024-01-22 19:00:20 +05:30
zhiqiangxu
c629c0fdb6
break loop when delayFlag becomes false (#1121) 2024-01-22 18:40:45 +05:30
Arpit Temani
c4e2a3f335
Merge pull request #1133 from maticnetwork/manav/fix-eth-call
internal/ethapi, graphql: fix call with state api
2024-01-19 20:22:17 +05:30
Arpit Temani
a24f66abd0
Merge pull request #1134 from maticnetwork/eip7212
Eip7212
2024-01-19 20:21:59 +05:30
Arpit Temani
f90745549b Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into v1.2.3-candidate 2024-01-19 19:07:52 +05:30
Arpit Temani
eb528aee71 update version 2024-01-19 19:07:39 +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
fe8d8794ad resolve: merge conflicts 2024-01-19 17:37:24 +05:30
Anshal Shukla
e070986483 remove: kgz precompile 2024-01-19 17:35:29 +05:30
Anshal Shukla
8d164b976a remove: kgz precompile 2024-01-19 17:34:28 +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
077bd417d6 Merge branch 'v1.2.3-candidate' of github.com:maticnetwork/bor into manav/fix-eth-call 2024-01-19 17:31:06 +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
d0b1b9dc69
Merge pull request #1137 from maticnetwork/consistent
chg: make HF consistent
2024-01-19 17:21:48 +05:30
Arpit Temani
4be8c0edee
Merge pull request #1136 from maticnetwork/revert-1124-consistent
Revert "Consistent"
2024-01-19 17:20:42 +05:30
Arpit Temani
5fc30aeaac
Revert "Consistent" 2024-01-19 17:19:12 +05:30
Manav Darji
16a8d85f2e Merge branch 'v1.2.3-candidate' of https://github.com/maticnetwork/bor into v1.2.3-candidate 2024-01-19 17:15:05 +05:30
Manav Darji
0c08204d7d 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>
2024-01-19 17:14:13 +05:30
Arpit Temani
603a425fee
Merge pull request #1124 from maticnetwork/consistent
Consistent
2024-01-19 17:07:24 +05:30
Manav Darji
f92c3c0c9b graphql: fix eth call params 2024-01-19 16:47:37 +05:30
Manav Darji
70e4fe9657 internal/ethapi: fix call with state api 2024-01-19 16:47:29 +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
Manav Darji
0660fac39b
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>
2024-01-18 13:11:50 +05:30
Anshal Shukla
a622722ff2 remove: kgz precompile from cancun 2024-01-18 11:52:02 +05:30
Manav Darji
f2ea408008 fix: testcases 2024-01-17 16:54:05 +05:30
Shivam Sharma
cb4a8557fd chg : go version in CI from 1.20.x to 1.21.x 2024-01-16 17:01:46 +05:30
Shivam Sharma
6a2d94e215 fix : integration tests 2024-01-16 16:40:47 +05:30
PeaStew
dac1a42fa8
Update client.go to allow the use of paths with the heimdall url (#1126)
* Update client.go to allow the use of paths with the heimdall url

As reported to the polygon team 2 months ago in the Ankr polygon slack, the current code prevents the use of a path with the heimdall url, this was fixed in erigon ledgerwatch/erigon@a3a6170 in response to my request by Mark Holt, and it seems this code was just copied from bor where it is incorrect too. This patch fixes that.

* Add reference to path library

* Fix reversed order of values in unit tests and test removal of setting u.path to rawPath (otherwise why do we need rawPath at all) seems like there were work arounds done here in bioth the unit tests AND the makeURL but logic needs to be examined
2024-01-15 09:46:15 +01:00
Anshal Shukla
b54c9b93d2 chg: make HF consistent 2024-01-13 11:15:33 +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
b479b204a7 Merge branch 'develop' into shivam/upstream-geth-1.13.5 2024-01-11 17:51:59 +05:30
Shivam Sharma
c816d0f1f3 fix : TestWelcome genesis bug 2024-01-11 16:18:35 +05:30
Arpit Temani
70bebc9335
Merge pull request #1116 from maticnetwork/arpit/v1.2.2-beta-candidate
Geth Merge v1.12.2 Hotfixes
2024-01-11 10:56:45 +05:30
Arpit Temani
a517342e6f update version 2024-01-11 10:28:43 +05:30
VaibhavJindal
20f92951cc
Merge pull request #1109 from maticnetwork/POS-2413
Removed the check for milestoneID in the GetVoteOnHash()
2024-01-11 00:55:51 +05:30