Commit graph

13 commits

Author SHA1 Message Date
Jerry
cd04702345 Add 'bor' user during package installation 2022-07-28 12:33:23 -07:00
Pratik Patil
71980bf5b1
internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457)
* updated simple.json and simple.hcl

* added annotations for developer and grpc block

* added toml tags and simple.toml file

* added support for toml config files

* updated simple files toml, hcl, json

* added config.toml in builder/files and updated bor.service

* add dumpconfig command in cli for exporting configs

* update docs

* updated .goreleaser.yml (POS-651)

* changed --config to -config

* added test config for tests and fixed lint errors

* made fields of type big.int and time.Duration private, removed merge from dumpconfig, setting up default values to the Raw fields in dumpconfig, and fixed one lint error

* fixed lint errors (strange)

* lint fix

* private no-more, using '-' in name tags to ignore

* updated name tags, made c.configFile as a stringFlag (only one config file supported) and updated the merge logic in command.go -> Run()

* fix: set method for big.Int flags, added a TODO

* handeled bigInt and timeDuration type, bug fix in config_legacy, lint fix

* updated flags, consistent across flags.go and config.go

* fixed config test and updated test hcl, json config files

* updated config legacy test

* added test to check values of cmd flags, restructured Run in command.go, linter fix

* fix linters

* lint again

* changed 2 flags and assert -> require

* changed the 2 flags back

* updated correct congig.toml path and made mainnet default

* updated config.toml with new flags

* added sample config (toml) file

* removed sample-config.toml and added it in docs/config.md

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-07-27 12:28:26 +05:30
Jerry
f90faf0687 Match default parameters to mainnet 2022-06-30 10:36:44 -07:00
Jerry
9838fefd3a Set default user to ubuntu in bor.service 2022-05-11 14:02:13 -07:00
Jerry
8fc86ccb90 Fix prometheus path and add prometheus to bor.service 2022-05-10 10:45:29 -07:00
Victor Castell
66fc055a7b Build and run the new CLI (#318)
* Build and run the new CLI
2022-05-09 17:06:26 +02:00
Arpit Temani
2321e64ed7
V0.2.16 candidate (#373)
* merge geth v1.10.15

* fix: Removed FastSync from cli server

* fix: TestHeadersRLPStorage

* Added t.skip(ETH2 in bor)

* fix: flow in create consensus engine

* bumped version

* Fix typo

* increase block time

* remove file

* bumped version

* merge gethv1.10.17

* bumped version

* fix failing tests

* Bump Go version to v1.18 (#368)

* Bump Go version to v1.18.1

* Build using netgo tag

This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.

* Fix meta

* Bump version

* Meta as stable

Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Sandeep Sreenath <sandeep.sreenath@gmail.com>
Co-authored-by: Victor Castell <victor@victorcastell.com>
2022-05-06 12:31:48 +02:00
Victor Castell
fe66e290e6 Fix typo 2022-04-28 13:11:00 +02:00
Krishna Upadhyaya
8ea9231c5f fix: update mumbai genesis config 2022-04-22 11:57:26 +05:30
Victor Castell
00c78e73af Include missing bad merge changes 2022-01-11 14:59:16 +01:00
Victor Castell
34d8949f84 Include London genesis file 2022-01-11 12:25:00 +01:00
Victor Castell
8dd6f59bbc
Configure bor params in the unit itself (#270)
This PR removes the necessity of having a startup script, less moving parts, and less files to watch.

* Distribute the cannonical genesys file with packages

As we are going to embed genesys data into the binary, this is the most close method to do it before the new CLI.

This way, each release gets tied to it's corresponding genesys file.

This establish bor repository as the source of truth for the genesys file.

* Simplify flags using defaults
2022-01-07 17:20:57 +01:00
Victor Castell
7b6bab4986 Release multi-platform with goreleaser
Packages, docker images CI automated
2021-11-11 17:24:42 +01:00