Commit graph

13781 commits

Author SHA1 Message Date
Arpit Temani
817ca2a2ba add 2 node testcase 2022-11-13 17:28:47 +05:30
Arpit Temani
743871ffd5 fix CI 2022-10-19 23:19:39 +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
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
Arpit Temani
d5fdc0aea7 multiple testcases 2022-10-11 17:53:19 +05:30
Shivam Sharma
c0b8375d70 add : functional TestSprintLengthReorg 2022-10-06 17:13:29 +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
Arpit Temani
c11e165a34 accounts to coinbase 2022-09-29 01:05:17 +05:30
Arpit Temani
690380aebf
Merge branch 'develop' into arpit/pos-655 2022-09-29 00:08:50 +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
Arpit Temani
f6875757bf merge develop 2022-09-27 15:04:08 +05:30
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
Pratik Patil
77db80cc91
Added script to generate config.toml fromstart.sh (#518)
* added go and bash script to get config out of start.sh and updated flagset.go

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated script

* changed 'requiredblocks' flag back to 'eth.requiredblocks'

* updated tests, and removed requiredblocks from json and hcl

* addressed comments
2022-09-23 13:37:04 +05:30
Shivam Sharma
2e7e99f1c5 chg : generalised state-sync integration test 2022-09-23 12:43:44 +05:30
Raneet Debnath
ae5323de02 new: unskip evm-benchmark tests 2022-09-23 11:42:10 +05:30
Raneet Debnath
d6e552bdcf fix: conflicts from previous merge 2022-09-23 09:31:28 +05:30
Pratik Patil
2a677a5aff
fix linters caused by previous merge (#526) 2022-09-23 08:30:31 +05:30
Arpit Temani
a7c11d51a0 fix testcases 2022-09-22 22:36:51 +05:30
Arpit Temani
9662dc7d6e fix heimdall version 2022-09-22 19:13:17 +05:30
Raneet Debnath
aa2ce7afb0 fix: add bor config 2022-09-22 18:00:23 +05:30
Arpit Temani
3a9e176ebb Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into arpit/pos-655 2022-09-22 17:37:41 +05:30
Arpit Temani
d71c6be482 change matic-cli version 2022-09-22 17:36:37 +05:30
Arpit Temani
e052d1fa0e change matic-cli version 2022-09-22 16:13:05 +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
e45b1d46fc
Merge pull request #522 from maticnetwork/arpit/disable-macos
disable macos tests
2022-09-22 14:29:07 +05:30
Arpit Temani
623d1ecf12 add unittest for calculate sprint 2022-09-22 14:28:52 +05:30
Arpit Temani
17f403e404 Merge branch 'develop' of github.com:maticnetwork/bor into arpit/pos-655 2022-09-22 14:15:38 +05:30
Arpit Temani
7e635edf23 refactor tests 2022-09-22 13:59:56 +05:30
Manav Darji
813b74fc9d
rpc, ethclient: cater 'finalized' and 'safe' blocks in ethclient (#517) (#523)
* rpc: add finalized and safe block types

* ethclient: honour safe and finalized block requests

* fix: remove BlockByNumberWithoutTx function
2022-09-22 13:37:27 +05:30
Arpit Temani
f51eae03ac disable macos tests 2022-09-22 13:22:20 +05:30
Arpit Temani
9f85e71935 add tests 2022-09-22 13:19:59 +05:30
Raneet Debnath
cfb7a1cd1c new: unskip failing tests 2022-09-22 09:37:27 +05:30