From e94760249a8956aaadcff92c5e4eb99f4fbdef3a Mon Sep 17 00:00:00 2001 From: Rico Date: Wed, 27 Jul 2022 12:30:09 +0800 Subject: [PATCH 1/3] bdjuno: Update bdjuno submodule target branch refs #34 --- .gitmodules | 4 ++-- bdjuno/bdjuno | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index c1144707..8c33a8be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "bdjuno/bdjuno"] path = bdjuno/bdjuno - url = git@github.com:forbole/bdjuno.git - branch = aaron/likecoin_dual_prefix \ No newline at end of file + url = https://github.com/forbole/bdjuno.git + branch = chains/likecoin/mainnet \ No newline at end of file diff --git a/bdjuno/bdjuno b/bdjuno/bdjuno index dd6b62c7..c87cfab4 160000 --- a/bdjuno/bdjuno +++ b/bdjuno/bdjuno @@ -1 +1 @@ -Subproject commit dd6b62c7bd29883894d755a093686d7332e653c0 +Subproject commit c87cfab4ded132fd577f36242caa1e91b7046d90 From 7c5bcadc7df69521cc1f10795f389e149a6f5bc6 Mon Sep 17 00:00:00 2001 From: Rico Date: Wed, 27 Jul 2022 15:04:04 +0800 Subject: [PATCH 2/3] bdjuno: Add remote flag to submodule init refs #34 --- bdjuno/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdjuno/Makefile b/bdjuno/Makefile index 18afdef7..1711f0dd 100644 --- a/bdjuno/Makefile +++ b/bdjuno/Makefile @@ -2,7 +2,7 @@ GENESIS_URL?=https://raw.githubusercontent.com/likecoin/mainnet/master/genesis.j .PHONY: init init: - git submodule update --init --recursive + git submodule update --init --recursive --remote .PHONY: setup setup: init From c1497735d70283fea6c4be895854da81a09f62eb Mon Sep 17 00:00:00 2001 From: Rico Date: Wed, 27 Jul 2022 15:06:20 +0800 Subject: [PATCH 3/3] deploy, bdjuno: Rearrenge support prefix ordering and add genesis file path refs #34 --- bdjuno/config.example.yaml | 3 ++- deploy/likedao/templates/bdjuno.config.yaml | 1 + deploy/likedao/values.sample.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bdjuno/config.example.yaml b/bdjuno/config.example.yaml index b33ebdf5..f1761f60 100644 --- a/bdjuno/config.example.yaml +++ b/bdjuno/config.example.yaml @@ -1,7 +1,7 @@ chain: bech32_prefix: - - cosmos - like + - cosmos modules: - modules - messages @@ -30,6 +30,7 @@ parsing: parse_genesis: true start_height: 1 average_block_time: 5s + genesis_file_path: /bdjuno/.bdjuno/genesis.json database: name: bdjuno host: bdjuno-db diff --git a/deploy/likedao/templates/bdjuno.config.yaml b/deploy/likedao/templates/bdjuno.config.yaml index 93e86c1a..30d559ba 100644 --- a/deploy/likedao/templates/bdjuno.config.yaml +++ b/deploy/likedao/templates/bdjuno.config.yaml @@ -40,6 +40,7 @@ data: parse_genesis: true start_height: {{ .Values.bdjuno.config.parsing.startHeight }} average_block_time: {{ .Values.bdjuno.config.parsing.averageBlockTime }} + genesis_file_path: /bdjuno/.bdjuno/genesis.json database: name: {{ .Values.bdjuno.config.database.name }} host: {{ .Values.bdjuno.config.database.host }} diff --git a/deploy/likedao/values.sample.yaml b/deploy/likedao/values.sample.yaml index 293ede6d..009b69c1 100644 --- a/deploy/likedao/values.sample.yaml +++ b/deploy/likedao/values.sample.yaml @@ -72,8 +72,8 @@ bdjuno: loggingLevel: debug chain: bech32Prefix: - - cosmos - like + - cosmos additionalModules: rpc: clientName: juno