From c81e2862ab9a165e8d1e6aae73b7ac13115653e6 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 23 Sep 2022 15:40:01 +0200 Subject: [PATCH] Move `seeds.pinned` out of network scope Instead of defining the seeds in relation to the current network we should be able to query them agnostic to the current connected network This fixes issues with different search results depending on the connected network Signed-off-by: Sebastian Martinez --- src/config.json | 29 +++++++++++++---------------- src/config.ts | 2 +- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/config.json b/src/config.json index 1df235406..0df2a6b2f 100644 --- a/src/config.json +++ b/src/config.json @@ -26,19 +26,6 @@ "users": { "pinned": ["cloudhead.radicle.eth"] }, - "seeds": { - "pinned": { - "willow.radicle.garden": { - "emoji": "🪵" - }, - "pine.radicle.garden": { - "emoji": "🌲" - }, - "maple.radicle.garden": { - "emoji": "🍁" - } - } - }, "safe": { "api": "https://safe-transaction.gnosis.io", "viewer": "https://gnosis-safe.io/app/#/safes" @@ -69,9 +56,6 @@ "users": { "pinned": [] }, - "seeds": { - "pinned": [] - }, "safe": { "api": "https://safe-transaction.rinkeby.gnosis.io", "viewer": "https://rinkeby.gnosis-safe.io/app/#/safes" @@ -95,6 +79,19 @@ "git": { "port": 443 } } }, + "seeds": { + "pinned": { + "willow.radicle.garden": { + "emoji": "🪵" + }, + "pine.radicle.garden": { + "emoji": "🌲" + }, + "maple.radicle.garden": { + "emoji": "🍁" + } + } + }, "projects": { "pinned": [ { diff --git a/src/config.ts b/src/config.ts index 79d9eeed1..082ec2c8f 100644 --- a/src/config.ts +++ b/src/config.ts @@ -115,7 +115,6 @@ export class Config { this.reverseRegistrar = cfg.reverseRegistrar; this.orgs = cfg.orgs; this.users = cfg.users; - this.seeds = cfg.seeds; this.safe = cfg.safe; this.safe.client = this.safe.api ? new SafeServiceClient(this.safe.api) @@ -124,6 +123,7 @@ export class Config { this.signer = null; this.gasLimits = gasLimits; this.projects = config.projects; + this.seeds = config.seeds; this.abi = config.abi; this.ceramic = { client: ceramic,