Commit graph

71 commits

Author SHA1 Message Date
Shivam Sharma
f768136102 init : baseFeeChangeDenom HardFork Changes 2022-11-14 17:38:12 +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
a7c11d51a0 fix testcases 2022-09-22 22:36:51 +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
Arpit Temani
623d1ecf12 add unittest for calculate sprint 2022-09-22 14:28:52 +05:30
Arpit Temani
7e635edf23 refactor tests 2022-09-22 13:59:56 +05:30
Arpit Temani
9f85e71935 add tests 2022-09-22 13:19:59 +05:30
Arpit Temani
e5b8af5626 fix testcases 2022-09-05 16:17:50 +04:00
Arpit Temani
06858386bf Merge branch 'shiva/pos-730' of github.com:maticnetwork/bor into arpit/pos-655 2022-09-05 10:43:17 +04:00
Arpit Temani
c6c2e74919 Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655 2022-09-05 10:36:52 +04:00
Shivam Sharma
9ac97e03fc chg : minor changes 2022-09-02 13:58:00 +05:30
Shivam Sharma
a2dc545fac rm : interrupt + sleep 2022-08-31 19:34:38 +05:30
Shivam Sharma
5067c6cdeb add : TestValidatorWentOffline 2022-08-31 19:05:36 +05:30
Shivam Sharma
6b651f4956 rm : t.parallel() 2022-08-03 23:26:45 +05:30
Shivam Sharma
460bd4dde7 fix : tests 2022-08-03 16:42:01 +05:30
Shivam Sharma
d5e51c9f76 add : more comments 2022-08-03 16:05:45 +05:30