Arpit Temani
660677b646
Merge branch 'master' of github.com:maticnetwork/bor into arpit/master-to-qa
2022-12-14 23:26:01 +05:30
Daniel Jones
2e45f3badc
Updating packager as binutils changed version so that apt-get installs current versions
2022-12-14 11:06:17 -06:00
Jerry
5e145283c1
Merge pull request #632 from cffls/master
...
Add default values to CLI helper and docs
2022-12-14 07:50:22 -08:00
Jerry
ddf1a4db8c
Add a summary of new CLI in docs
2022-12-13 23:46:43 -08:00
Jerry
a37af35c36
Add default values to CLI helper and docs
...
This commit adds default values to CLI helper and docs. When the default value of a string flag, slice string flag, or map string flag is empty, its helper message won't show any default value.
2022-12-13 23:23:10 -08:00
Arpit Temani
b1776698cf
Merge branch 'arpit/master-to-qa' of github.com:maticnetwork/bor into arpit/master-to-qa
2022-12-14 01:00:09 +05:30
Arpit Temani
7364f940ba
revert change for release for go1.19
2022-12-14 00:59:54 +05:30
Arpit Temani
a8eb21f80d
Merge pull request #631 from maticnetwork/manav/revert-pos-533
...
Revert "Adding correct miner address on API at the RPC level (POS-553)"
2022-12-14 00:49:19 +05:30
Arpit Temani
0b89983fa4
merge latest master to qa
2022-12-14 00:46:19 +05:30
Manav Darji
6d11117edc
Revert "Merge pull request #435 from maticnetwork/POS-553"
...
This reverts commit 657d262def , reversing
changes made to 88dbfa1c13 .
2022-12-14 00:44:01 +05:30
Arpit Temani
b7f37c7ce3
Merge pull request #603 from maticnetwork/arpit/v0.3.1-mumbai-candidate
...
v0.3.1 mumbai candidate
2022-12-14 00:43:26 +05:30
builder90210
243d231fe4
Reduce txArriveTimeout to 100ms
2022-12-12 22:43:29 -08:00
Arpit Temani
19fe8b41d2
Merge pull request #546 from maticnetwork/block-commit-stats
...
Add logs for transactions while committing a block
2022-12-12 13:31:35 +05:30
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
Arpit Temani
469bd2918c
add ignore rule for net/http2
2022-12-12 12:26:12 +05:30
Arpit Temani
f261c933d5
upgrade grpc version
2022-12-12 12:07:27 +05:30
Arpit Temani
a75eb71e48
fix linters
2022-12-12 02:52:50 +05:30
Arpit Temani
abed2a501a
Merge branch 'develop' of github.com:maticnetwork/bor into block-commit-stats
2022-12-12 02:48:55 +05:30
Jerry
d9e5e20e18
Merge pull request #620 from cffls/master
...
Bump version to stable
2022-12-06 12:06:04 -08:00
Jerry
43d894c44e
Bump version to stable
2022-12-06 11:01:22 -08:00
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
Jerry
31da9729fb
Revert "update Docker login for goreleaser-cross v1.19"
...
This reverts commit 4d19cf5342 .
2022-12-05 23:40:35 -08:00
Jerry
9656c6cd0c
Merge pull request #618 from cffls/master
...
Merge commits from qa into master
2022-12-05 22:04:15 -08:00
Jerry
e68d2d1a87
Fix docker publish authentication issue
...
In gorelease-cross 1.19+, dockerhub authentication will require docker
logion action followed by mounting docker config file. See
https://github.com/goreleaser/goreleaser-cross#github-actions .
2022-12-05 20:14:27 -08:00
Arpit Temani
180d4444df
remove unwanted code
2022-12-05 22:05:34 +05:30
Arpit Temani
adf8c5f1ab
Merge branch 'arpit/v0.3.1-mumbai-candidate' of github.com:maticnetwork/bor into arpit/v0.3.1-mumbai-candidate
2022-12-05 19:42:15 +05:30
Arpit Temani
c807faaa94
merge current qa branch
2022-12-05 19:42:00 +05:30
Pratik Patil
57075d000d
Add support for new flags in new config.toml, which were present in old config.toml ( #612 )
...
* added HTTPTimeouts, and TrieTimeout flag in new tol, from old toml
* added RAW fields for these time.Duration flags
* updated the conversion script to support these extra 4 flags
* removed hcl and json config tests as we are only supporting toml config files
* updated toml files with cache.timeout field
* updated toml files with jsonrpc.timeouts field
* tests/bor: expect a call for latest checkpoint
* tests/bor: expect a call for latest checkpoint
* packaging/templates: update cache values for archive nodes
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-12-05 19:21:33 +05:30
Arpit Temani
dd64fa160c
Merge pull request #614 from maticnetwork/ancient-datadir
...
Added ancient datadir flag and toml field
2022-12-05 12:24:54 +05:30
Pratik Patil
531d67a537
updated toml files with ancient field
2022-12-05 07:52:26 +05:30
Daniel Jones
5d6ffa7f03
Merge pull request #613 from maticnetwork/djpolygon/v0.3.1-mumbai-update
...
Adding of 0.3.0 package changes, control file updates, postinst chang…
2022-12-04 15:36:08 -06:00
Pratik Patil
e3303294b4
added ancient datadir flag and toml field, need to decide on default value and update the conversion script
2022-12-04 10:02:55 +05:30
Daniel Jones
dab31611b8
Adding of 0.3.0 package changes, control file updates, postinst changes, and packager update
2022-12-01 15:50:00 -06:00
Daniel Jones
6cd5d15a45
Merge pull request #611 from maticnetwork/djpolygon/v030-cleanup
...
Cleanup for the packager to use git tag in the package profile naming…
2022-12-01 13:46:34 -06:00
Pratik Patil
4d06349d95
added a toml configuration file with comments describing each flag ( #607 )
...
* added a toml configuration file with comments describing each flag
* internal/cli/server: update flag description
* docs/cli: update example config and description of flags
* docs: update new-cli docs
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-12-01 09:20:17 +05:30
Will Button
3b4ff7d3d3
Merge pull request #610 from maticnetwork/wbutton/goreleaser-docker-creds
2022-11-30 16:42:17 -07:00
Daniel Jones
1cf78fd9c9
Cleanup for the packager to use git tag in the package profile naming. Added conditional check for directory structure, this is in prep for v0.3.1, as this will create a failure on upgrade path in package due to file exist
2022-11-30 16:38:48 -06:00
Will Button
4d19cf5342
update Docker login for goreleaser-cross v1.19
2022-11-30 08:00:31 -08:00
Arpit Temani
ba5822543c
Merge pull request #599 from maticnetwork/raneet10/pos-534
...
CI: Optimize devnet setup
2022-11-30 11:38:13 +05:30
Arpit Temani
742990cfcd
update goversion in makefile
2022-11-30 00:40:56 +05:30
Arpit Temani
d96662ab63
update go version in release.yml
2022-11-30 00:21:26 +05:30
Arpit Temani
59dccd37c3
resolve merge conflicts
2022-11-29 13:03:49 +05:30
Arpit Temani
4b6115d9bb
merge latest qa
2022-11-29 12:55:31 +05:30
Manav Darji
3e7160997a
metrics: handle nil telemetry config ( #601 )
2022-11-26 01:54:50 +05:30
Manav Darji
095ce5e1da
Update default flags ( #600 )
...
* internal/cli/server: use geth's default for txpool.pricelimit and add comments
* builder/files: update config.toml for mainnet
* packaging/templates: update defaults for mainnet and mumbai
* internal/cli/server: skip overriding cache
* packaging/templates: update cache value for mainnet
* packaging/templates: update gcmode for archive mumbai node
2022-11-25 11:26:31 -05:00
Raneet Debnath
806ed051be
minor chg: add new line
2022-11-25 17:50:58 +05:30
Pratik Patil
d69cb20ba9
fixed static-nodes related buf (os independent) ( #598 )
...
* fixed static-nodes related buf (os independent)
* taking static-nodes as input if default not present
2022-11-25 17:44:05 +05:30
Raneet Debnath
9155cfc68b
CI: cleanup
2022-11-25 17:37:31 +05:30
Raneet Debnath
7cb597886a
CI: echo peers and block no.
2022-11-25 16:20:43 +05:30
Raneet Debnath
e378b5febc
CI: fix assignment operator
2022-11-25 15:29:25 +05:30