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
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
4642045a4c
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into shivam/POS-972
2022-11-15 15:00:47 +05:30
Shivam Sharma
846abac772
fix : failing TestJaipurFork
2022-11-15 11:30:50 +05:30
Arpit Temani
102d293609
fix tests
2022-11-15 00:57:47 +05:30
Shivam Sharma
7d92be2f17
fix : jaipurFork & baseFeeChangeDenom hardfork num to bigInt
2022-11-14 17:52:55 +05:30
Shivam Sharma
f768136102
init : baseFeeChangeDenom HardFork Changes
2022-11-14 17:38:12 +05:30
Arpit Temani
a4cbe442d8
skip test
2022-11-14 16:18:06 +05:30
Arpit Temani
3da2f650cb
fix lints
2022-11-14 12:18:05 +05:30
Arpit Temani
dd9147dcd7
fix testcases
2022-11-14 11:36:54 +05:30
Arpit Temani
b7a282792c
merge develop
2022-11-13 19:05:26 +05:30
Arpit Temani
817ca2a2ba
add 2 node testcase
2022-11-13 17:28:47 +05:30
Raneet Debnath
41fddd6a5e
pos-845: efficient ticker
2022-11-09 21:25:30 +05:30
Raneet Debnath
82bf6d0c37
defer ticker.Stop
...
Co-authored-by: Evgeny Danilenko <6655321@bk.ru>
2022-11-09 19:32:43 +05:30
Raneet Debnath
27cd2ae11a
pos-845: parallelise subtests
2022-11-09 18:19:28 +05:30
Raneet Debnath
3e4b872e16
pos-845: subtests
2022-11-09 16:21:05 +05:30
Raneet Debnath
1ae3d42866
fix: address PR comments
2022-10-20 00:43:43 +05:30
Arpit Temani
be7327e72d
fix ci
2022-10-19 23:14:36 +05:30
Arpit Temani
fe5b6adac0
refactor
2022-10-19 22:49:15 +05:30
Arpit Temani
4afed25f7a
disabling tests for now
2022-10-19 22:14:10 +05:30
Arpit Temani
1ffbfa4086
go routine for test
2022-10-19 02:05:20 +05:30
Raneet Debnath
793f8e1292
pull changes
2022-10-18 23:47:27 +05:30
Arpit Temani
916c7d8196
increase max reorg len
2022-10-18 15:26:17 +05:30
Arpit Temani
a8a2d5d7e1
refactor testcase
2022-10-18 15:13:54 +05:30
Arpit Temani
e39da65458
modified testcase, modified producer delay
2022-10-18 00:44:48 +05:30
Arpit Temani
69e2a22819
results for 1000 cases
2022-10-13 00:52:26 +05:30
Raneet Debnath
fdd7988e94
fix: PR comments
2022-10-12 09:29:40 +05:30
Arpit Temani
d5fdc0aea7
multiple testcases
2022-10-11 17:53:19 +05:30
Raneet Debnath
0218f17bc0
new: add more cases
2022-10-07 16:00:34 +05:30
Shivam Sharma
c0b8375d70
add : functional TestSprintLengthReorg
2022-10-06 17:13:29 +05:30
Raneet Debnath
4e7cf125ae
new: add cases
2022-10-06 13:12:39 +05:30
Shivam Sharma
58170b6141
chg : changes
2022-10-05 16:55:39 +05:30
Shivam Sharma
f98eb40871
changes
2022-10-05 13:48:57 +05:30
Shivam Sharma
fc16da5c76
add : minor changes
2022-10-04 17:44:23 +05:30
Arpit Temani
067c037859
testcase
2022-10-04 13:23:18 +05:30
Arpit Temani
67554f7d1d
merge develop
2022-10-04 12:34:35 +05:30
Shivam Sharma
c8b2dd1649
add : TestSprintDependantReorgs init
2022-10-03 18:44:57 +05:30
Arpit Temani
2a6ea470a0
Mining Analysis ( #429 )
...
* base setup for miner opentel
* version change
* modify ctx passing
* add attributes
* update fill txs span attributes
* fix: use common attributes for remote and local txs
* pass context in seal
* fix
* fix
* add traces to finalize and assemble
* fix
* use task ctx in result loop
* only start parent span if no error
* send nil tracer from Finalize
* clean up
* add sub function timings in span attribute
* modify span attributes
* set time attribute to milliseconds
* linters fix
* fix linters for consensus
* add nolint to worker
* fix testcase
* Added fillTransactions subTraces
* add traces in intermediate root hash function
* add traces in WriteBlockAndSetHead function, fix linters
* fix: linting errors
* fix: test cases
* fix: go.mod
* fix: testcase
* extract tracing package
* linters fix
* debug
* Revert "debug"
This reverts commit 2d68b7c7b1105080563a4e1a6949dabc10acaff8.
* fix: panic in NewTransactionsByPriceAndNonce iteration
* change heimdall version to develop
* miner/worker: fix duplicate call to tx ordering
* miner/worker: refactor tracing
* consensus/bor: use tracing package
* tracing: add more abstraction for spans
* tracing: set all attributes at once
* remove nested tracing from blockchain.WriteBlockAndSetHead function
* remove nested tracing from statedb.IntermediateRoot function
* handle end span in bor.Seal function
* fix: typo
* minor fixes
* fix: linters
* fix: remove nolint
* go mod tidy
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-09-30 13:40:18 +05:30
Raneet Debnath
09e62ca35c
new: assert block authors
2022-09-29 12:15:29 +05:30
Raneet Debnath
5b324f4b84
new: add some more checks
2022-09-29 11:15:56 +05:30
Raneet Debnath
8d5f66b7ad
new: init pos-845 testcase
2022-09-28 21:25:19 +05:30
Arpit Temani
f6875757bf
merge develop
2022-09-27 15:04:08 +05:30
Raneet Debnath
2db0dc8606
new: comments and cleanup
2022-09-26 17:26:05 +05:30
Raneet Debnath
0eec63716b
new: unskip stCreateTest
2022-09-23 16:23:32 +05:30
Raneet Debnath
ae5323de02
new: unskip evm-benchmark tests
2022-09-23 11:42:10 +05:30
Arpit Temani
a7c11d51a0
fix testcases
2022-09-22 22:36:51 +05:30
Raneet Debnath
aa2ce7afb0
fix: add bor config
2022-09-22 18:00:23 +05:30
Arpit Temani
d71c6be482
change matic-cli version
2022-09-22 17:36:37 +05:30
Arpit Temani
cf35be19df
edit genesis test file
2022-09-22 14:41:57 +05:30
Arpit Temani
4dc6651147
refactor tests
2022-09-22 14:31:44 +05:30