Pratik Patil
2a677a5aff
fix linters caused by previous merge ( #526 )
2022-09-23 08:30:31 +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
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
Evgeny Danilenko
a11952f858
Crypto-secure package with math/rand interface ( #509 )
...
* initial
* use crand
* fix
* fix
2022-09-14 14:54:43 +03:00
Jerry
15f64ee58f
Remove orphaned containers when shutdown devnet
...
This will potentially resolve "ERROR: network docker_default has active endpoints" problem
2022-09-06 19:17:04 +04:00
SHIVAM SHARMA
85890fec7c
Merge pull request #507 from maticnetwork/shiva/pos-730
...
add : TestValidatorWentOffline
2022-09-05 17:00:43 +04:00
Evgeny Danienko
2fd85f6ec8
the source of randomness
2022-09-05 12:47:59 +04:00
Evgeny Danienko
a4eb03eed1
linters
2022-09-05 11:51:18 +04:00
Evgeny Danienko
5f9d15665c
merge
2022-09-05 11:46:45 +04:00
Evgeny Danienko
7136ca61e0
linters
2022-09-05 11:33:42 +04:00
Evgeny Danienko
e5fcab70d2
use crypto rand
2022-09-05 10:58:43 +04:00
Evgeny Danienko
9d975fb833
lint
2022-09-05 10:53:22 +04:00
Evgeny Danienko
c0a4b0fbb5
fix flacky test
2022-09-05 10:50:00 +04:00
Evgeny Danilenko
714aef422b
Property based tests on TxPool: pending, locals ( #466 )
...
* initial
* measure
* initial test
* block size debug
* current progress
* debug
* progress
* debug
* it works
* todo
* linters
* clean up
* check for nonce gaps
* clean up
* cr
* cr
* cr
* check tx pool on an error
* stats
* params
* introduce config
* min-max accounts
* debug
* debug
* update
* debug
* skip
2022-09-03 11:20:24 +03: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
9c370f4dfc
Merge pull request #503 from maticnetwork/shivam/sealer-gasPrice
...
internal/cli/server: update default cli values
2022-08-26 18:21:11 +05:30
Shivam Sharma
1ac5f09518
fix : TestConfigLegacy
2022-08-26 14:08:15 +05:30
Manav Darji
eb16a3d313
update defaults in new-cli
2022-08-26 11:24:51 +05:30
Manav Darji
84529a15cf
rm: snapshot found log in bor consensus ( #504 )
2022-08-25 23:13:22 +05:30
Shivam Sharma
632c1646a8
chg : default sealer.gasPrice from 1wei to 1Gwei
2022-08-25 12:47:54 +05:30
Shivam Sharma
8186e4d2a1
chg : sealer.gasPrice to 1 from 30Gwei
2022-08-24 14:58:38 +05:30
SHIVAM SHARMA
95f551eccc
Merge pull request #502 from maticnetwork/shivam/txpool-pricelimit
...
Changing default txpool pricelimit to 1
2022-08-24 10:47:53 +05:30
Shivam Sharma
057f50eb6c
fix : TestConfigLegacy
2022-08-23 19:13:01 +05:30
Shivam Sharma
324187776a
chg : txpool.pricelimit to 1
2022-08-23 18:35:24 +05:30
Manav Darji
f574c4a3c6
consensus/bor/heimdall: add new meter and timer metrics in heimdall client ( #459 )
...
* heimdall client: add new meter and timer metrics
* fix: error in handling valid and invalid request metric
* use ctx outside of request
* add separate metrics for each request
* fix: modify metric name
* fix: renmae metric name by removing hyphen
* use ctx value for request type
* fix linters
* fix panic on using string as key for ctx and on nil return
* refactor
* refactor
* rm comment
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-08-23 18:00:54 +05:30
Manav Darji
2a92cb1ecc
fix: whitelist/requiredblocks regression ( #496 )
2022-08-17 21:12:06 +05:30
Manav Darji
9f1feac053
eth, cli: prevent snap sync mode migration - v0.3.x ( #494 )
...
* handle snap sync mode switches
* fix linters
2022-08-17 15:18:16 +05:30
Pratik Patil
0be4ea342c
updated config.toml in builder/files, added all fields and commented those which are not used ( #491 )
2022-08-17 12:01:53 +05:30
Evgeny Danilenko
3c94dfb25f
A thread safe way to take a free port ( #485 )
...
* initial commit
* safe latest error
* remove json listener
* fix: debug block unit test
* remove jsonrpc listener from server
* fix: consume network's find port in heimdall client test
* update key in log while startup
* linters
* fix
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-08-16 18:43:18 +03:00
Krishna Upadhyaya
72aa44efe6
Fix EOF error in gRPC state-sync ( #489 )
...
* Fix EOF error in gRPC state-sync
* linters
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-08-11 20:40:08 +03:00
Manav Darji
1d1f00cbe7
eth: fix multiple checkpoint fetch logic ( #465 )
...
* fix: handle checkpoint ordering
* create checkpoint verifier, add unit tests
* fix: remove mutex
* address comment for default checkpoint verifier
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-08-11 16:00:33 +03:00
Evgeny Danilenko
e699254142
Use atomic pointer in go 1.19 ( #446 )
...
* use atomic pointer
* golang version
* golang version
* go1.19
* linters
* Bump golangci-lint
* linters
* linters
* linters after merge
* generic logger
* generic logger
* logger
* logger
* linters
* bump toml
* linters1
* linters
* linters
* linter
* linter
* linters
* linters
* linters
2022-08-09 22:11:09 +03:00
Manav Darji
ac559bcd16
internal/cli: add support for removedb ( #478 )
...
* internal/cli: add support for removedb
* update docs
* internal/cli: use constant path, handle err
2022-08-09 09:16:42 +05:30
Pratik Patil
16408ba324
internal/cli, cmd/geth: replaced package naoina/toml with BurntSushi/toml and updated config name-tags ( #486 )
...
* removed package naoina/toml from dumpconfig and added BurntSushi/toml
* updated cmd/gethconfig.go
2022-08-05 14:56:41 +05:30
SHIVAM SHARMA
d8d9360dfe
Merge pull request #480 from maticnetwork/shivam/POS-705
...
Fixed GetTransactionByBlockNumberAndIndex and added testcase around it.
2022-08-04 00:27:53 +05:30
Shivam Sharma
6b651f4956
rm : t.parallel()
2022-08-03 23:26:45 +05:30
Krishna Upadhyaya
f42a70f592
Merge pull request #468 from maticnetwork/POS-648
...
Implemented gRPC client for heimdall
2022-08-03 18:01:01 +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
Shivam Sharma
57e1282caf
fix : lint
2022-08-03 15:56:36 +05:30
Shivam Sharma
d3231c0884
fix :GetTransactionByBlockNumberAndIndex + testGetTransactionByBlockNumberAndIndex
2022-08-03 15:29:24 +05:30
Shivam Sharma
938578c2e2
fix : minor change
2022-08-03 01:07:15 +05:30
Shivam Sharma
85cdd9d281
Initial Setup
2022-08-03 01:06:18 +05:30
SHIVAM SHARMA
65875c629d
Merge pull request #477 from maticnetwork/shivam/POS-695
...
Fix getTransactionReceiptsByBlock and TestGetTransactionReceiptsByBlock
2022-08-03 00:33:23 +05:30
Shivam Sharma
a69109ce5e
fix : removed debug logs
2022-08-02 10:34:25 +05:30
Shivam Sharma
423734c0d4
fix : deferred close() + lint
2022-08-02 01:19:42 +05:30
Shivam Sharma
b18370be6a
fix : TestGetTransactionReceiptsByBlock
2022-08-02 00:57:42 +05:30