Jerry
55962e16c6
[Bug fix] Use parallel processor in unit test
2023-02-14 15:20:40 -08:00
Pratik Patil
9795a287d0
added 2 flags to enable parallel EVM and set the number of speculative processes ( #727 )
2023-02-09 13:34:06 +05:30
Jerry
d25aa76447
Minor fix in statedb test
2023-01-24 12:08:08 -08:00
Pratik Patil
4968c08246
added hardfork checks ( #666 )
2023-01-19 10:52:01 +05:30
Pratik Patil
6f16d006fd
Merge branch 'develop' of https://github.com/maticnetwork/bor into block-stm
2022-12-23 09:41:30 +05:30
Pratik Patil
d53c2e7902
Block stm miner dependency ( #561 )
...
* added support for dependencies (executor_tests)
* added a function to get dependency map
* getting all dependencies in the GetDep function
* updated GetDep function
* changed the type of AllDeps
* added a function to get dependency map
* updated GetDep function
* generate and get dependencies from block producer
* optimized getDep function
* bug fix regarding txn index and dep structure
* fixed gas bug
* optimized getDep function
* tests updated/added
* few updates regarding dependencies
* added channel to calculate the dependencies in a separate go routine
* minor changes in the executor which uses latest changes of dependecies + removed metadata flag/argument
* Use channel when metadata is available
* small bug fix
* getting reads and writes only when the transaction succeeds
* fixed bug in adding dependencies
* updated logic for delay/not delay
* bug fix (shouldDelayFeeCal) in parallel state processor
* lint fix
* using EnableMVHashMap flag
* fixed worker and stateProcessor and removed SetMVHashMapNil fumction from stateDB
* addredded few comments and fixed bug in executor tests
* commented executor tests with metadata (panic: test timed out after 5m0s)
* added a check to check len(mvReadMapList) > 0 in miner
* addressed comments, minor refactoring in dag.go
* moved blockContext out of Execute and adding it in execution task
* removed Author() from Settle() and added in execution task
* not calling block.Header() again and again, using instead
* removed EnableMVHashMap flag, and updated applyTransaction function
* addressed comments
* added unit test to check dependencies in the block header
Co-authored-by: Jerry <jerrycgh@gmail.com>
2022-12-23 09:14:09 +05:30
Arpit Temani
4aa56c543a
Merge pull request #627 from builder90210/faster_tx_fetch
...
Reduce txArriveTimeout to 100ms
2022-12-22 11:54:55 +05:30
SHIVAM SHARMA
d8fcda36f3
Merge pull request #640 from maticnetwork/shivam/POS-1041
...
Shivam/pos 1041
2022-12-20 17:49:01 +05:30
Shivam Sharma
7b52c93c1b
chg : logging strings
2022-12-20 11:39:11 +05:30
Shivam Sharma
513127cd8f
chg : use standard logging
2022-12-20 10:54:03 +05:30
Shivam Sharma
828801f9d8
lint : fix linters
2022-12-19 18:36:10 +05:30
Shivam Sharma
43cafc0415
add : multiple keystore tolerance
2022-12-19 18:08:18 +05:30
Shivam Sharma
9cba79edee
init : remove exit on keystore err
2022-12-19 13:57:18 +05:30
builder90210
243d231fe4
Reduce txArriveTimeout to 100ms
2022-12-12 22:43:29 -08:00
Arpit Temani
19fe8b41d2
Merge pull request #546 from maticnetwork/block-commit-stats
...
Add logs for transactions while committing a block
2022-12-12 13:31:35 +05:30
SHIVAM SHARMA
b1d86bd6ea
Shivam/txpool tracing ( #604 )
...
* lock, unlock to rlock, runlock
* add : tracing Pending() and Locals()
* Log time spent in committing a tx during mining
* Remove data from logging
* Move log into case where a tx completes without error
* profile fillTransactions
* fix conflict
* bug fixes
* add logs
* txpool: add tracing in Pending()
* rearrange tracing
* add attributes
* fix
* fix
* log error in profiling
* update file mode and file path for profiling
* full profiling
* fix log
* fix log
* less wait
* fix
* fix
* logs
* worker: use block number for prof files
* initial
* txList add
* fix gas calculation
* fix
* green tests
* linters
* prettify
* allocate less
* no locks between pending and reorg
* no locks
* no locks on locals
* more tests
* linters
* less allocs
* comment
* optimize errors
* linters
* fix
* fix
* Linters
* linters
* linters
* simplify errors
* atomics for transactions
* fix
* optimize workers
* fix copy
* linters
* txpool tracing
* linters
* fix tracing
* duration in mcs
* locks
* metrics
* fix
* cache hit/miss
* less locks on evict
* remove once
* remove once
* switch off pprof
* fix data race
* fix data race
* add : sealed total/empty blocks metric gauge
* add : RPC debug_getTraceStack
* fix : RPC debug_getTraceStack
* fix : RPC debug_getTraceStack for all go-routines
* linters
* add data race test on txpool
* fix concurrency
* noleak
* increase batch size
* prettify
* tests
* baseFee mutex
* panic fix
* linters
* fix gas fee data race
* linters
* more transactions
* debug
* debug
* fix ticker
* fix test
* add cacheMu
* more tests
* fix test panic
* linters
* add statistics
* add statistics
* txitems data race
* fix tx list Has
* fix : lint
Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-12-12 12:34:02 +05:30
Arpit Temani
469bd2918c
add ignore rule for net/http2
2022-12-12 12:26:12 +05:30
Arpit Temani
f261c933d5
upgrade grpc version
2022-12-12 12:07:27 +05:30
Arpit Temani
a75eb71e48
fix linters
2022-12-12 02:52:50 +05:30
Arpit Temani
abed2a501a
Merge branch 'develop' of github.com:maticnetwork/bor into block-commit-stats
2022-12-12 02:48:55 +05:30
marcello33
50a778207e
dev: add: pos-944: snyk and govuln integration ( #578 )
...
* dev: add: pos-944 security ci and readme
* dev: add: pos-944 remove linters as this is included already in build ci
* dev: chg: pos-947 dependencies upgrade to solve snyk security issues
* dev: chg: update security-ci
* dev: chg: remove linter to allow replacements for security issues
* dev: add: pos-944 verify path when updating metrics from config
* dev: add: pos-944 fix linter
* dev: add: pos-944 add .snyk policy file / fix snyk code vulnerabilities
* dev: fix: pos-944 import common package / gitignore snyk dccache file
* dev: fix: pos-944 verify canonical path for crashers
* dev: fix: pos-944 linter
* dev: add: pos-976 add govuln check
* dev: add: pos-976 test upload with permissions
* dev: add: pos-976 remove duplicated upload
* dev: add: pos-976 report upload
* dev: add: pos-976 remove upload
* dev: fix: pos-944 fix govuln action
* dev: fix: pos-944 move govulncheck to security-ci
* dev: fix: pos-944 bump golvun action and golang versions
* dev: fix: pos-944 remove persmissions and fix conflicts
* dev: chg: restore err msg
* dev: chg: remove duplicated function
* dev: chg: sort import
* dev: chg: fix linter
* dev: add: use common VerifyCrasher function to avoid duplications / replace deprecated ioutils.ReadFile
* dev: fix: typo
2022-12-06 10:53:55 +01:00
Arpit Temani
ba5822543c
Merge pull request #599 from maticnetwork/raneet10/pos-534
...
CI: Optimize devnet setup
2022-11-30 11:38:13 +05:30
Raneet Debnath
806ed051be
minor chg: add new line
2022-11-25 17:50:58 +05:30
Raneet Debnath
9155cfc68b
CI: cleanup
2022-11-25 17:37:31 +05:30
Raneet Debnath
7cb597886a
CI: echo peers and block no.
2022-11-25 16:20:43 +05:30
Raneet Debnath
e378b5febc
CI: fix assignment operator
2022-11-25 15:29:25 +05:30
Raneet Debnath
5df25bd360
CI: fix missing ;
2022-11-25 14:50:18 +05:30
Raneet Debnath
c686660fe5
CI: try using checked out bor path
2022-11-25 14:05:58 +05:30
Raneet Debnath
ca5fbadd70
CI: test: use bor in matic-cli
2022-11-25 12:19:20 +05:30
Raneet Debnath
be0a2ad79f
CI: test launch devnet without hardcoded sleep time (pos-534)
2022-11-25 11:24:56 +05:30
Arpit Temani
b1739f67d7
Merge pull request #588 from maticnetwork/arpit/qa-to-develop
...
qa to develop
2022-11-22 13:30:10 +05:30
Arpit Temani
7ae5bce4d5
minor refactor
2022-11-22 12:28:57 +05:30
Arpit Temani
d89759c318
fix issues
2022-11-22 12:22:22 +05:30
Arpit Temani
be58978cdc
revert some changes
2022-11-22 12:20:57 +05:30
Arpit Temani
a4a39a4dd9
merge v0.2.18-candidate
2022-11-22 12:16:28 +05:30
Arpit Temani
4c8ff3a062
merge v0.2.17
2022-11-22 12:14:10 +05:30
Arpit Temani
8ca3251aab
version change
2022-11-22 01:27:22 +05:30
Arpit Temani
ac0593d6e1
mumbai fork - 13th dewc
2022-11-22 01:20:09 +05:30
SHIVAM SHARMA
aece5ca954
Merge pull request #587 from maticnetwork/shivam/POS-991
...
add : statesync tx added to GetBlockTransactionCount rpc
2022-11-21 22:55:15 +05:30
Shivam Sharma
5f8f8988ec
lint : fix lint
2022-11-21 18:28:23 +05:30
Shivam Sharma
3008b04252
add : statesync tx added to GetBlockTransactionCount rpc
2022-11-21 18:23:12 +05:30
SHIVAM SHARMA
72831c1f3a
Merge pull request #585 from maticnetwork/shivam/POS-992
...
add : bor.logs in custom GetFilterLogs
2022-11-21 18:19:43 +05:30
Pratik Patil
96e66e5256
Merge branch 'develop' of https://github.com/maticnetwork/bor into block-stm
2022-11-21 17:00:12 +05:30
Shivam Sharma
4cd58f176a
fix : minor fix
2022-11-21 15:28:34 +05:30
Shivam Sharma
b6d1276474
fix : lint
2022-11-21 15:16:28 +05:30
Shivam Sharma
07f9741e8a
add : bor.logs in custom GetFilterLogs
2022-11-21 14:53:22 +05:30
Arpit Temani
06c8ca6611
fix unused imports
2022-11-20 21:47:00 +05:30
Arpit Temani
1004bbd912
merge qa to develop
2022-11-20 21:44:55 +05:30
Raneet Debnath
a3e7769b5b
Merge pull request #583 from maticnetwork/raneet10/pos-535
...
Speed up smoke test
2022-11-18 20:06:37 +05:30
Raneet Debnath
296a9c4ff5
fix: incorrect condition
2022-11-18 18:58:52 +05:30