Commit graph

13982 commits

Author SHA1 Message Date
Jerry
b7ed9de45b Add state pruning to new CLI 2022-12-14 15:49:43 -08:00
Arpit Temani
660677b646 Merge branch 'master' of github.com:maticnetwork/bor into arpit/master-to-qa 2022-12-14 23:26:01 +05:30
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
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
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
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
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
Manav Darji
137fb19d2a
metrics: handle equal to separated config flag (#596)
* metrics: handle  based config path

* internal/cli/server: add more context to logs

* use space separated flag and value in bor.service
2022-11-24 09:12:32 -05:00
Will Button
58a63147f2
Merge pull request #594 from maticnetwork/wbutton/docker-user-rollback
Docker User
2022-11-23 15:42:22 -07:00
Will Button
5fe83d35cf
rollback bor user and use root 2022-11-23 14:16:36 -07:00
Daniel Jones
01e05cd1c3
Merge pull request #590 from maticnetwork/djpolygon/v0.3.0packaging
Adding in Mumbai/Mainnet precursor deb packaging for tests to use dur…
2022-11-23 13:36:26 -06:00
Manav Darji
3b6c9b05d7 Merge branch 'qa' of https://github.com/maticnetwork/bor into djpolygon/v0.3.0packaging 2022-11-24 00:03:41 +05:30
Will Button
e468e96be0
Merge pull request #592 from maticnetwork/wbutton/v0.3.0-docker-qa
Docker v0.3.0 release for QA
2022-11-23 11:25:43 -07:00
Will Button
08ec50a846
change bor_dir and add bor user for v0.3.0 release 2022-11-23 09:43:34 -07:00
Daniel Jones
c1e84fd694 Removing README swap file 2022-11-23 09:12:42 -06:00
Daniel Jones
ba56c98769 Disabling goreleaser 2022-11-23 09:10:41 -06:00
Daniel Jones
1f0e49b0d8 Adding prerelease true 2022-11-23 09:07:41 -06:00
Daniel Jones
5e92a7fe25 Added changes per discussion in PR, more changes may be necessary 2022-11-23 07:54:15 -06:00
Daniel Jones
a0f754dfc5 Adding in Mumbai/Mainnet precursor deb packaging for tests to use during upgrade(iterations to come) 2022-11-22 15:34:25 -06:00
Arpit Temani
b1739f67d7
Merge pull request #588 from maticnetwork/arpit/qa-to-develop
qa to develop
2022-11-22 13:30:10 +05:30