Commit 7208a07d authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into 08-11-chore_indexer_Nuke_legacy_indexer

parents 84fee143 d8d0e8ab
...@@ -20,49 +20,10 @@ updates: ...@@ -20,49 +20,10 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: daily interval: daily
time: "16:30"
timezone: "America/New_York"
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels: versioning-strategy: auto
- dependabot
- package-ecosystem: npm
directory: "/packages/chain-mon"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependabot
- package-ecosystem: npm
directory: "/packages/core-utils"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependabot
- package-ecosystem: npm
directory: "/packages/contracts-ts"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependabot
- package-ecosystem: npm
directory: "/packages/sdk"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependabot
- package-ecosystem: npm
directory: "/packages/fee-estimation"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependabot
- package-ecosystem: npm
directory: "/packages/common-ts"
schedule:
interval: daily
open-pull-requests-limit: 10
labels: labels:
- dependabot - dependabot
......
...@@ -72,15 +72,6 @@ var ( ...@@ -72,15 +72,6 @@ var (
Usage: "path to config file", Usage: "path to config file",
EnvVars: []string{"INDEXER_CONFIG"}, EnvVars: []string{"INDEXER_CONFIG"},
} }
// Not used yet. Use this flag to run legacy app instead
// Remove me after indexer is released
IndexerRefreshFlag = &cli.BoolFlag{
Name: "indexer-refresh",
Value: false,
Aliases: []string{"i"},
Usage: "run new unreleased indexer by passing in flag",
EnvVars: []string{"INDEXER_REFRESH"},
}
) )
// make a instance method on Cli called Run that runs cli // make a instance method on Cli called Run that runs cli
......
...@@ -26,6 +26,7 @@ func TestLoadConfig(t *testing.T) { ...@@ -26,6 +26,7 @@ func TestLoadConfig(t *testing.T) {
port = 5432 port = 5432
user = "postgres" user = "postgres"
password = "postgres" password = "postgres"
name = "indexer"
[api] [api]
host = "127.0.0.1" host = "127.0.0.1"
...@@ -54,6 +55,7 @@ func TestLoadConfig(t *testing.T) { ...@@ -54,6 +55,7 @@ func TestLoadConfig(t *testing.T) {
require.Equal(t, conf.DB.Port, 5432) require.Equal(t, conf.DB.Port, 5432)
require.Equal(t, conf.DB.User, "postgres") require.Equal(t, conf.DB.User, "postgres")
require.Equal(t, conf.DB.Password, "postgres") require.Equal(t, conf.DB.Password, "postgres")
require.Equal(t, conf.DB.Name, "indexer")
require.Equal(t, conf.API.Host, "127.0.0.1") require.Equal(t, conf.API.Host, "127.0.0.1")
require.Equal(t, conf.API.Port, 8080) require.Equal(t, conf.API.Port, 8080)
require.Equal(t, conf.Metrics.Host, "127.0.0.1") require.Equal(t, conf.Metrics.Host, "127.0.0.1")
......
...@@ -2,8 +2,5 @@ ...@@ -2,8 +2,5 @@
INDEXER_L1_ETH_RPC=FILL_ME_IN INDEXER_L1_ETH_RPC=FILL_ME_IN
INDEXER_L2_ETH_RPC=FILL_ME_IN INDEXER_L2_ETH_RPC=FILL_ME_IN
# temporary env variable to enable to new indexer
INDEXER_REFRESH=1
# Fill in to use prisma studio ui with a db other than the default # Fill in to use prisma studio ui with a db other than the default
# DATABASE_URL=FILL_ME_IN # DATABASE_URL=FILL_ME_IN
...@@ -10,6 +10,7 @@ host = "127.0.0.1" ...@@ -10,6 +10,7 @@ host = "127.0.0.1"
port = 5432 port = 5432
user = "postgres" user = "postgres"
password = "postgres" password = "postgres"
name = "indexer"
[api] [api]
host = "127.0.0.1" host = "127.0.0.1"
......
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