Commit 5c895bfb authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into harry/pre_compute_addr

parents 4d827c39 7b2d0359
...@@ -38,7 +38,10 @@ type DB struct { ...@@ -38,7 +38,10 @@ type DB struct {
func NewDB(dbConfig config.DBConfig) (*DB, error) { func NewDB(dbConfig config.DBConfig) (*DB, error) {
retryStrategy := &retry.ExponentialStrategy{Min: 1000, Max: 20_000, MaxJitter: 250} retryStrategy := &retry.ExponentialStrategy{Min: 1000, Max: 20_000, MaxJitter: 250}
dsn := fmt.Sprintf("host=%s port=%d dbname=%s sslmode=disable", dbConfig.Host, dbConfig.Port, dbConfig.Name) dsn := fmt.Sprintf("host=%s dbname=%s sslmode=disable", dbConfig.Host, dbConfig.Name)
if dbConfig.Port != 0 {
dsn += fmt.Sprintf(" port=%d", dbConfig.Port)
}
if dbConfig.User != "" { if dbConfig.User != "" {
dsn += fmt.Sprintf(" user=%s", dbConfig.User) dsn += fmt.Sprintf(" user=%s", dbConfig.User)
} }
......
...@@ -14,6 +14,7 @@ MIN_VERSIONS = { ...@@ -14,6 +14,7 @@ MIN_VERSIONS = {
'indexer': '0.5.0', 'indexer': '0.5.0',
'op-node': '0.10.14', 'op-node': '0.10.14',
'op-batcher': '0.10.14', 'op-batcher': '0.10.14',
'op-challenger': '0.0.4',
'op-proposer': '0.10.14', 'op-proposer': '0.10.14',
'op-ufm': '0.1.0', 'op-ufm': '0.1.0',
'proxyd': '3.16.0' 'proxyd': '3.16.0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment