Commit graph

14240 commits

Author SHA1 Message Date
Jerry
576fb65dac
Calculate tx dependency only when mining is enabled (#935) 2023-07-18 15:47:34 +08:00
Jerry
eedeaed1fb
Move NumSpeculativeProcs from module variable to function parameter (#931)
This will prevent data races when more than one parallel execution are running at the same time.
2023-07-13 12:56:55 +08:00
Matthieu Vachon
7e0e4c8905
Fix worker tracing nil pointer exception (#899)
The `baseFee` can be `nil` in certain situations, the tracing must not use `baseFee` unless it was checked otherwise if such case happen, Go is going to panic.
2023-07-06 10:57:56 +05:30
Pratik Patil
f25364ddd2
Merge pull request #921 from maticnetwork/master-to-develop
Master to develop (after v0.4.0)
2023-07-03 16:18:10 +05:30
Pratik Patil
16746a73fa
Merge pull request #904 from maticnetwork/v0.4.0-beta-candidate
Merge develop (v0.4.0-beta-candidate) to master for v0.4.0
2023-06-27 14:29:07 +05:30
Pratik Patil
d71c00dc79
updated indore block to 44934656 for mainnet (#916) 2023-06-27 14:27:15 +05:30
Pratik Patil
7fdb5a2534
version bump to v0.4.0 2023-06-27 13:10:48 +05:30
Pratik Patil
a055726eb0
added indore block and parallel universe for mainnet (#913) 2023-06-27 09:27:41 +05:30
marcello33
8fa0d6f6db
dev: chg: pos-1465: remove snyk and sonarqube (#908) 2023-06-26 15:21:55 +02:00
Pratik Patil
d5b6672c2f
fixed MVHashMap being enabled even when paralellUniverse is set to 0 (#900) 2023-06-21 08:10:40 +05:30
Daniel Jones
c3c3bb653d
Merge pull request #902 from maticnetwork/djones0620Packagerfix
Addressing an issue with packager using any versus mumbai network nam…
2023-06-20 13:19:21 -05:00
Daniel Jones
6ab2d6c347
Addressing an issue with packager using any versus mumbai network name. This issue only is present due to difference in test versus primary 2023-06-20 13:13:13 -05:00
Daniel Jones
bd4976d5a4
Cleaning up packager to remove bootnode declaration in commented pieces 2023-06-20 09:25:20 -07:00
Daniel Jones
7595395362
DEVOPS-822 adding in bootnode package and required service file 2023-06-20 09:22:21 -07:00
Matthieu Vachon
891ec7fef6
Use big.Int#Set instead of big.Int#SetBytes when possible (#896)
There is no reason to make the bytes transformation and back to big int to assign a big int to another one.

The `Set` method should be used instead.
2023-06-13 12:02:57 +05:30
Pratik Patil
0f81c960c5
updated version to 0.4.0-beta-5 2023-06-12 21:48:33 +05:30
Pratik Patil
eda1deea13
updated indore block for mumbai (#895) 2023-06-12 21:46:17 +05:30
Pratik Patil
3462d34685
updated version to 0.4.0-beta-4 2023-06-09 08:59:07 +05:30
Will Button
81b06d6ece
DEVOPS-829 format Timer as summary/histogram type (#893) 2023-06-09 08:53:04 +05:30
Jerry
114c02bf46
Update version to v0.4.0-beta3 2023-06-08 14:10:40 -07:00
Jerry
39ed6e47a4
Explicitly disable MVHashMap in mining
Currently, we determine if MVHashMap should be enabled by checking the block number with parallelUniverse flag in genesis, which has a value of 0. Some headers' block number is 0, so MVHashMap was enabled, which led to a few errors. Disable this flag explicitly until we figure out a proper hardfork solution.
2023-06-08 14:05:33 -07:00
Pratik Patil
745c32e637
updated version to 0.4.0-beta-2 2023-06-08 11:23:30 +05:30
Pratik Patil
477e93d2fa
added debug logs for state sync 2023-06-08 11:22:35 +05:30
Pratik Patil
d25732c949
Revert "miner :: add : check to run worker commitWork (#828)"
This reverts commit 6dee9b5f40.
2023-06-08 11:16:55 +05:30
Pratik Patil
73821b46c9
updated version to 0.4.0-beta 2023-06-07 20:54:14 +05:30
Pratik Patil
4d23e6de33
added IndoreBlock for Mumbai chain (#892) 2023-06-07 20:17:26 +05:30
Jerry
f96c668baf
Disable reverted tx optimization in block-stm validation (#891)
A reverted transaction, X, can incorrectly write to a slot, which might be read by another transaction, Y. If we skip checking states written by X, then Y might end up with reading the wrong value and we won't be able to detect this error.
2023-06-06 21:36:36 -07:00
Pratik Patil
47f8e8682a
Implement PIP-12, Time Based StateSync Confirmations Delay (#864)
* updated Indore HF related changes by adding stateSyncConfirmationDelay

* converted StateSyncConfirmationDelay to map[string]uint64 and cleanup

* calculate last state ID from incoming state object with eth call (#883)

* removed IndoreBlock from configs

* fix

* remove code duplication and refactor

---------

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2023-06-06 20:40:46 +05:30
Jerry
3d30c341c4
Keep nonce and balance in write list even if the transaction is reverted (#889)
An address's nonce and balance will get updated even if its transaction is reverted. Therefore, we need to keep balance and nonce in write list in order to check the transaction's validity in parallel execution.
2023-06-05 22:10:48 -07:00
Will Button
f1c8226839
Merge pull request #881 from maticnetwork/DEVOPS-829/prometheus-metrics-format
DEVOPS-829 format fix for prometheus metrics
2023-06-01 07:42:01 -07:00
marcello33
1fd65a06cc
dev: add: additional elements in PR checklist (#882)
* dev: add: additional elements in PR checklist

* dev: chg: erigon task in the checklist
2023-06-01 14:55:21 +02:00
Will Button
9c1b90591f
DEVOPS-829 fix complaints from linter 2023-05-31 15:37:35 -07:00
Will Button
c9e77eb445
DEVOPS-829 format fix for prometheus metrics 2023-05-31 14:36:07 -07:00
Raneet Debnath
c404b3f6b9
Merge pull request #880 from maticnetwork/raneet10/update-ci
ci: update CI config yaml
2023-05-31 19:46:48 +05:30
Pratik Patil
97689e8931
Merge pull request #879 from maticnetwork/qa-copy-psp
Merge qa to develop
2023-05-31 12:04:02 +05:30
Pratik Patil
c33d12e8a0
Merge branch 'develop' of https://github.com/maticnetwork/bor into qa-copy-psp 2023-05-31 11:49:42 +05:30
Raneet Debnath
ad76313f54
ci: update CI config yaml 2023-05-31 10:25:05 +05:30
Pratik Patil
ecceab88f3
Merge pull request #878 from maticnetwork/master-copy-psp
Merge master to qa
2023-05-31 09:36:03 +05:30
Pratik Patil
d7dbbbce7a
Merge branch 'qa' into master-copy-psp 2023-05-31 09:27:13 +05:30
SHIVAM SHARMA
5c91264143
internal/cli/server :: chg : default OpenCollectorEndpoint to empty string (#872)
* chg : default OpenCollectorEndpoint to empty string

* chg : opencollector-endpoint defaults in configs
2023-05-22 15:28:03 +05:30
SHIVAM SHARMA
0f3d965067
add : commitinterrupt flag to toml files (#873) 2023-05-22 15:25:02 +05:30
VaibhavJindal
773905ec59
Merge pull request #863 from maticnetwork/vaibhav/RequestCancellation
eth/protocols/eth: fix: remove cancelled request from tracker's list
2023-05-18 14:41:08 +05:30
Jerry
40a8686d36
Merge pull request #867 from cffls/develop
Enable parallel evm by default
2023-05-17 22:20:17 -07:00
Jerry
5cb0d287f9
Add flag changes to docs 2023-05-17 09:51:03 -07:00
Jerry
c7f2701023
Enable parallel evm by default 2023-05-16 14:15:53 -07:00
Jerry
eeb08055bd
Merge pull request #840 from maticnetwork/block-stm
Merge block-stm to develop
2023-05-12 09:33:31 -07:00
Vaibhav Jindal
08e1f21f34 Fix:Removing the cancelled request from the tracker's list 2023-05-12 15:56:10 +05:30
Pratik Patil
0a7594b17a
removed docs/config.md 2023-05-12 11:51:01 +05:30
Jerry
f2c48fed0b
Remove dependency when a transaction is reverted
If a transaction is reverted, its write records should be excluded from
dependency calculation.
2023-05-11 09:09:33 -07:00
marcello33
cac3de1abf
backport-master-to-develop (#862) 2023-05-11 15:13:25 +02:00