Skip to content

Commit

Permalink
Merge pull request #144 from migalabs/prepare_v_3_4_0
Browse files Browse the repository at this point in the history
Prepare v3.4.0
  • Loading branch information
santi1234567 authored Nov 26, 2024
2 parents a6da176 + 0db4e38 commit b31ba38
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ OPTIONS:
--el-endpoint value execution node endpoint (to request the Transaction Receipts, optional)
--init-slot value init slot from where to start (default: 0)
--final-slot value init slot from where to finish (default: 0)
--rewards-aggregation-epochs value Number of epochs to aggregate rewards (default: 1 (no aggregation))
--log-level value log level: debug, warn, info, error
--db-url value example: clickhouse://beaconchain:beaconchain@localhost:9000/beacon_states
--db-url value example: clickhouse://beaconchain:beaconchain@localhost:9000/beacon_states?x-multi-statement=true
--workers-num value example: 3 (default: 4)
--db-workers-num value example: 3 (default: 4)
--download-mode value example: hybrid,historical,finalized. Default: hybrid
Expand Down Expand Up @@ -114,9 +115,9 @@ More specifically, one could clean the migrations by forcing the version with <b
If specific upgrades or downgrades need to be done manually, one could do this with <br>
`migrate -path database/migration/ -database "clickhouse://host:port?username=user&password=password&database=clicks&x-multi-statement=true" -verbose up`

# From PostgreSQL to Clickhouse
# Migrating from `v2` to `v3` (Postgres to Clickhouse)

During `v3.0.0` we will migrate our database system from PostgreSQL to Clickhouse.
During `v3.0.0` we migrated our database system from PostgreSQL to Clickhouse.
If you wish to migrate your existing database, please follow [this](https://migalabs.notion.site/PostgreSQL-to-Clickhouse-migration-611a52a457824cd494d701773365f62f) guide.

# Maintainers
Expand Down
6 changes: 3 additions & 3 deletions cmd/blocks_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ var BlocksCommand = &cli.Command{
},
&cli.StringFlag{
Name: "db-url",
Usage: "Database where to persist the metrics",
Usage: "Clickhouse database url where to persist the metrics",
EnvVars: []string{"ANALYZER_DB_URL"},
DefaultText: "postgres://user:password@localhost:5432/goteth",
DefaultText: "clickhouse://beaconchain:beaconchain@localhost:9000/beacon_states?x-multi-statement=true",
},
&cli.IntFlag{
Name: "workers-num",
Expand Down Expand Up @@ -129,7 +129,7 @@ func LaunchBlockMetrics(c *cli.Context) error {
blockAnalyzer.Close()

case <-procDoneC:
logCmdChain.Info("Process successfully finish!")
logCmdChain.Info("Process successfully finished!")
}
close(sigtermC)
close(procDoneC)
Expand Down
2 changes: 1 addition & 1 deletion cmd/validator_window_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func LaunchValidatorWindow(c *cli.Context) error {
valWindowRunner.Close()

case <-procDoneC:
logCmdChain.Info("Process successfully finish!")
logCmdChain.Info("Process successfully finished!")
}
close(sigtermC)
close(procDoneC)
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package utils
import "time"

const (
Version = "v3.3.0"
Version = "v3.4.0"
CliName = "GotEth"
RoutineFlushTimeout = time.Duration(1 * time.Second)
AcquireWaitIntervalLog = 1 * time.Minute
Expand Down

0 comments on commit b31ba38

Please sign in to comment.