Commit graph

13779 commits

Author SHA1 Message Date
Raneet Debnath
0c222f3dad
Merge pull request #535 from maticnetwork/raneet10/pos-845
POS-845 testcase
2022-11-09 22:30:19 +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
043547129a merge develop 2022-11-09 15:14:21 +05:30
Pratik Patil
1ab225c0e4
Removed vhosts for ws and replaced cors with origins (#574)
* removed vhosts for ws and added replaced cors with origins

* updated script
2022-11-03 12:54:57 -07:00
SHIVAM SHARMA
be3f297379
Merge pull request #547 from maticnetwork/shivam/POS-824
Add state sync transaction to debug_trace functions.
2022-10-25 12:22:49 +05:30
SHIVAM SHARMA
3fdb45e5e9
Merge pull request #552 from maticnetwork/shivam/POS-784
Make TriesInMemory configurable through CLI and toml config
2022-10-25 12:22:13 +05:30
SHIVAM SHARMA
ce88164b47
Merge pull request #551 from maticnetwork/shivam/POS-783
chg : use https://github.com/maticnetwork/crand instead of JekaMas/crand
2022-10-25 12:21:27 +05:30
Shivam Sharma
723ff9a958 chg : minor change 2022-10-21 15:11:28 +05:30
Pratik Patil
e17ee36ebe
Changed default value of maxpeers from 200 to 50, update docs (#555)
* changed default of maxpeers from 200 to 50

* docs: update additional notes for new-cli

* docs: update additional notes for new-cli

* small bug fix in the script to fix shopt issue

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-10-21 08:54:38 +05:30
Shivam Sharma
2542403048 add : lint 2022-10-21 06:49:01 +05:30
Shivam Sharma
654f56fbcb chg : standardTraceBlockToFile fix 2022-10-21 06:26:43 +05:30
Shivam Sharma
2f648fb91c chg : fix derference error on config without borTraceEnabled 2022-10-21 05:38:45 +05:30
Shivam Sharma
7554a16c4f chg : minor fix 2022-10-21 04:56:21 +05:30
Shivam Sharma
238d5a4f2c chg : major fix 2022-10-21 04:41:49 +05:30
Manav Darji
8aab374926
metrics: handle values from config file (#565)
* metrics: handle metrics flag from config in metrics.init()

* internal/cli/server: log for metrics enabling and misconfiguration
2022-10-21 02:15:42 +05:30
Jerry
aab72143d9 Force load default tracers 2022-10-20 09:01:04 -07:00
marcello33
c954606250
dev: fix: ci (#559)
* dev: fix: ci

* dev: fix: add default block configs

* dev: fix: add sprintSize

* dev: fix: revert

* dev: fix: go-versions
2022-10-20 10:20:45 +02:00
Raneet Debnath
1ae3d42866 fix: address PR comments 2022-10-20 00:43:43 +05:30
Raneet Debnath
793f8e1292 pull changes 2022-10-18 23:47:27 +05:30
Shivam Sharma
b2c125f81e add : lint 2022-10-18 03:58:31 +05:30
Shivam Sharma
ec57aabf9e chg : minor fix 2022-10-18 03:56:55 +05:30
Shivam Sharma
3db339b6fe add : lint 2022-10-17 18:07:32 +05:30
Shivam Sharma
225a826e0e add : TriesInMemory flag 2022-10-17 18:00:30 +05:30
Shivam Sharma
554712e954 chg : use https://github.com/maticnetwork/crand instead of JekaMas/crand 2022-10-17 15:44:11 +05:30
Raneet Debnath
02e84ff6f5
Merge pull request #548 from maticnetwork/raneet10/bench-fix
Fix Benchmark test
2022-10-15 23:28:12 +05:30
Raneet Debnath
7c9cd4c21d fix: benchmark test 2022-10-14 15:51:19 +05:30
Shivam Sharma
d0508e7dc0 chg : lint files 2022-10-14 12:53:46 +05:30
Shivam Sharma
0918cf7343 chg : support state-sync in newcli server debugBorBlock 2022-10-13 15:55:45 +05:30
Shivam Sharma
002717ad23 chg : major fix 2022-10-13 15:36:21 +05:30
Shivam Sharma
6baa56bc25 add : Add state sync transaction to debug_traceBlock 2022-10-12 20:06:00 +05:30
marcello33
bf39845222
Testing Toolkit v1 PR Template (#536)
* dev: add: pull request template
2022-10-12 15:11:38 +02:00
Raneet Debnath
fdd7988e94 fix: PR comments 2022-10-12 09:29:40 +05:30
Raneet Debnath
0218f17bc0 new: add more cases 2022-10-07 16:00:34 +05:30
Raneet Debnath
4e7cf125ae new: add cases 2022-10-06 13:12:39 +05:30
Manav Darji
54f97b8598
internal/cli: add support for bor.logs flag in new-cli (#541)
* add support for bor.logs flag in new-cli

* handle bor.withoutheimdall flag commenting in conversion script
2022-10-05 23:38:19 +05:30
Manav Darji
1022d309b7
make script OS independent (#538) 2022-10-04 21:54:47 +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
648291a217
Merge pull request #533 from cffls/develop
Change heimdall branch to develop in CI
2022-09-28 20:34:38 +05:30
Jerry
041f60b756 Change heimdall branch to develop in CI 2022-09-27 22:54:17 -07:00
Raneet Debnath
28b11d19be
Merge pull request #521 from maticnetwork/raneet10/pos-618
Failing geth integration tests
2022-09-27 14:55:26 +05:30
Manav Darji
457314783f
internal/cli/server: fix flag behaviour (#529)
* remove setting maxpeers to 0 for nodiscover flag

* set default prometheus and open-collector endpoint

* skip building grpc address from pprof address and port

* fix: linters

* fix and improve tests

* use loopback address for prometheus and open-collector endpoint

* add logs for prometheus and open-collector setup

* updated the script to handle prometheus-addr

* updated builder/files/config.toml

Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>
2022-09-27 13:36:42 +05:30
Raneet Debnath
2db0dc8606 new: comments and cleanup 2022-09-26 17:26:05 +05:30
SHIVAM SHARMA
e4f0141f68
Merge pull request #527 from maticnetwork/shivam/pos-826
chg : generalised state-sync integration test
2022-09-24 00:57:24 +05:30
Raneet Debnath
0eec63716b new: unskip stCreateTest 2022-09-23 16:23:32 +05:30