From f34394f74484ea89014cfaf400a1209a7d7cbc97 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:38:11 -0600 Subject: [PATCH 01/45] Update cosmoshub-osmosis.json --- _IBC/cosmoshub-osmosis.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-osmosis.json b/_IBC/cosmoshub-osmosis.json index fc4c143..0238a76 100644 --- a/_IBC/cosmoshub-osmosis.json +++ b/_IBC/cosmoshub-osmosis.json @@ -45,6 +45,22 @@ "telegram": { "handle": "clemensg" } + }, + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "osmo1cx82d7pm4dgffy7a93rl6ul5g84vjgxk0a4n97" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } } ] -} \ No newline at end of file +} From 6aaff32d50c5548275e96dd7cccec164ed548512 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:44:33 -0600 Subject: [PATCH 02/45] Update cosmoshub-evmos.json --- _IBC/cosmoshub-evmos.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-evmos.json b/_IBC/cosmoshub-evmos.json index 2bee505..2a7b49d 100644 --- a/_IBC/cosmoshub-evmos.json +++ b/_IBC/cosmoshub-evmos.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "evmos1tusg5d35w03v0s2u5tefvf5yclguye09ctw6zu" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From b623ee7a23f19c3349ba10c4cb8229116a60671a Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:46:54 -0600 Subject: [PATCH 03/45] Update bitsong-cosmoshub.json --- _IBC/bitsong-cosmoshub.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/bitsong-cosmoshub.json b/_IBC/bitsong-cosmoshub.json index 5bce337..48ad78e 100644 --- a/_IBC/bitsong-cosmoshub.json +++ b/_IBC/bitsong-cosmoshub.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "bitsong16arskkjeeq9jnvwfe78n8m9y06jkj9kp2vc6vn" + }, + "chain_2": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From 0e569d2fddb7f85f584637a157c8874582e33dd2 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:48:20 -0600 Subject: [PATCH 04/45] Update cosmoshub-stride.json --- _IBC/cosmoshub-stride.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-stride.json b/_IBC/cosmoshub-stride.json index 8fba6bd..5c06115 100644 --- a/_IBC/cosmoshub-stride.json +++ b/_IBC/cosmoshub-stride.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "stride1cx82d7pm4dgffy7a93rl6ul5g84vjgxkydxl8q" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From eaf950e1694924a25b0d583849c5ef7f9370c5d8 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:49:32 -0600 Subject: [PATCH 05/45] Update cosmoshub-persistence.json --- _IBC/cosmoshub-persistence.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-persistence.json b/_IBC/cosmoshub-persistence.json index af7346f..6700e54 100644 --- a/_IBC/cosmoshub-persistence.json +++ b/_IBC/cosmoshub-persistence.json @@ -24,5 +24,23 @@ "version": "ics20-1", "tags": {} } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "persistence1cx82d7pm4dgffy7a93rl6ul5g84vjgxkf2qsag" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From 48f1045107676ef78c999e8a636be9ced94bc8cb Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:51:39 -0600 Subject: [PATCH 06/45] Update cosmoshub-quicksilver.json --- _IBC/cosmoshub-quicksilver.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-quicksilver.json b/_IBC/cosmoshub-quicksilver.json index 4e87ecc..fb11cf5 100644 --- a/_IBC/cosmoshub-quicksilver.json +++ b/_IBC/cosmoshub-quicksilver.json @@ -23,5 +23,23 @@ "ordering": "unordered", "version": "ics20-1" } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "quick1cx82d7pm4dgffy7a93rl6ul5g84vjgxkvzk327" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From c8b0367b311e9daf98c8ecdb172a8637ffde3ea7 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:53:00 -0600 Subject: [PATCH 07/45] Update cosmoshub-omniflixhub.json --- _IBC/cosmoshub-omniflixhub.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-omniflixhub.json b/_IBC/cosmoshub-omniflixhub.json index 0ea02db..255a702 100644 --- a/_IBC/cosmoshub-omniflixhub.json +++ b/_IBC/cosmoshub-omniflixhub.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv" + }, + "chain_2": { + "address": "omniflix1cx82d7pm4dgffy7a93rl6ul5g84vjgxk6ch6yj" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From dc5011ebbdd12537212319797aec0597f6d019b0 Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:02:03 -0600 Subject: [PATCH 08/45] Update cosmoshub-umee.json --- _IBC/cosmoshub-umee.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-umee.json b/_IBC/cosmoshub-umee.json index e112797..d54ae89 100644 --- a/_IBC/cosmoshub-umee.json +++ b/_IBC/cosmoshub-umee.json @@ -24,5 +24,23 @@ "version": "ics20-1", "tags": {} } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1ln3l6waaqdjcskt3ztzqlzkpvmzp7zw4ky2xgp" + }, + "chain_2": { + "address": "umee1cx82d7pm4dgffy7a93rl6ul5g84vjgxk4smuh7" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From add06148ff67251fd939c1aaa28b1095da6d74dc Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:06:09 -0600 Subject: [PATCH 09/45] Update cosmoshub-juno.json --- _IBC/cosmoshub-juno.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-juno.json b/_IBC/cosmoshub-juno.json index c57b10d..f12c4c9 100644 --- a/_IBC/cosmoshub-juno.json +++ b/_IBC/cosmoshub-juno.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1w8kzcqk25vr0fx0k7yxn2vjw49qerut2tfv8up" + }, + "chain_2": { + "address": "juno1w8kzcqk25vr0fx0k7yxn2vjw49qerut2am0uma" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From 4429323f862336b36ebbdf374e1ced31a9f6080b Mon Sep 17 00:00:00 2001 From: Architect Nodes <109033531+social244305-Architect@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:08:26 -0600 Subject: [PATCH 10/45] Update cosmoshub-crescent.json --- _IBC/cosmoshub-crescent.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_IBC/cosmoshub-crescent.json b/_IBC/cosmoshub-crescent.json index 4455b4a..3e23407 100644 --- a/_IBC/cosmoshub-crescent.json +++ b/_IBC/cosmoshub-crescent.json @@ -28,5 +28,23 @@ "dex": "crescent" } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1w8kzcqk25vr0fx0k7yxn2vjw49qerut2tfv8up" + }, + "chain_2": { + "address": "cre1cx82d7pm4dgffy7a93rl6ul5g84vjgxkrw4xxp" + }, + "memo": "Relayed by Architect Nodes! ", + "name": "Architect Nodes", + "discord": { + "handle": "architectnodes" + }, + "telegram": { + "handle": "social244305_Architect_Nodes" + } + } ] -} \ No newline at end of file +} From 26e9eb67942c3c7b412f232b5bdabbd5fe13cdf8 Mon Sep 17 00:00:00 2001 From: Galadrin Date: Tue, 16 Jan 2024 09:27:51 +0100 Subject: [PATCH 11/45] Add Crosnest relayer addresses --- _IBC/archway-cosmoshub.json | 18 ++++++++++++++++++ _IBC/aura-cosmoshub.json | 18 ++++++++++++++++++ _IBC/axelar-cosmoshub.json | 18 ++++++++++++++++++ _IBC/cosmoshub-cryptoorgchain.json | 18 ++++++++++++++++++ _IBC/cosmoshub-emoney.json | 18 ++++++++++++++++++ _IBC/cosmoshub-injective.json | 18 ++++++++++++++++++ _IBC/cosmoshub-juno.json | 18 ++++++++++++++++++ _IBC/cosmoshub-kava.json | 18 ++++++++++++++++++ _IBC/cosmoshub-kichain.json | 18 ++++++++++++++++++ _IBC/cosmoshub-kujira.json | 18 ++++++++++++++++++ _IBC/cosmoshub-lumnetwork.json | 18 ++++++++++++++++++ _IBC/cosmoshub-omniflixhub.json | 18 ++++++++++++++++++ _IBC/cosmoshub-osmosis.json | 16 ++++++++++++++++ _IBC/cosmoshub-persistence.json | 18 ++++++++++++++++++ _IBC/cosmoshub-quicksilver.json | 18 ++++++++++++++++++ _IBC/cosmoshub-stride.json | 18 ++++++++++++++++++ _IBC/cosmoshub-teritori.json | 18 ++++++++++++++++++ _IBC/cosmoshub-terra2.json | 18 ++++++++++++++++++ 18 files changed, 322 insertions(+) diff --git a/_IBC/archway-cosmoshub.json b/_IBC/archway-cosmoshub.json index 4b8be7b..572fe9a 100644 --- a/_IBC/archway-cosmoshub.json +++ b/_IBC/archway-cosmoshub.json @@ -26,5 +26,23 @@ "status": "live" } } + ], + "operators": [ + { + "chain_1": { + "address": "archway1l267dmlmprhu4p5aqslf50f495vjqlg3glkqcu" + }, + "chain_2": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/aura-cosmoshub.json b/_IBC/aura-cosmoshub.json index 2203b05..54f39d0 100644 --- a/_IBC/aura-cosmoshub.json +++ b/_IBC/aura-cosmoshub.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "aura19pjtx7dah2fquf7udyxjv94h0eraha787qxuts" + }, + "chain_2": { + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/axelar-cosmoshub.json b/_IBC/axelar-cosmoshub.json index 841f379..9a845bc 100644 --- a/_IBC/axelar-cosmoshub.json +++ b/_IBC/axelar-cosmoshub.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "axelar19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqzxn3p9" + }, + "chain_2": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-cryptoorgchain.json b/_IBC/cosmoshub-cryptoorgchain.json index 36dc820..7753710 100644 --- a/_IBC/cosmoshub-cryptoorgchain.json +++ b/_IBC/cosmoshub-cryptoorgchain.json @@ -24,5 +24,23 @@ "version": "ics20-1", "tags": {} } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "chain_2": { + "address": "cro19kzuzfmmy9wjr3cl0ss8wjzjup9g49hq7ndqk4" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-emoney.json b/_IBC/cosmoshub-emoney.json index 408b6ae..eaf5c2a 100644 --- a/_IBC/cosmoshub-emoney.json +++ b/_IBC/cosmoshub-emoney.json @@ -24,5 +24,23 @@ "version": "ics20-1", "tags": {} } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "chain_2": { + "address": "emoney19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqftldae" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-injective.json b/_IBC/cosmoshub-injective.json index 9629991..8378c8b 100644 --- a/_IBC/cosmoshub-injective.json +++ b/_IBC/cosmoshub-injective.json @@ -28,5 +28,23 @@ "dex": "osmosis" } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "inj1lagtgtck8627009uw39rlmsa6ty5dhwwuujq3m" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-juno.json b/_IBC/cosmoshub-juno.json index c57b10d..ed4c37d 100644 --- a/_IBC/cosmoshub-juno.json +++ b/_IBC/cosmoshub-juno.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff" + }, + "chain_2": { + "address": "juno19pjtx7dah2fquf7udyxjv94h0eraha78nyj9w4" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-kava.json b/_IBC/cosmoshub-kava.json index 85698a6..1115a3a 100644 --- a/_IBC/cosmoshub-kava.json +++ b/_IBC/cosmoshub-kava.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff" + }, + "chain_2": { + "address": "kava19pjtx7dah2fquf7udyxjv94h0eraha78er9rlw" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-kichain.json b/_IBC/cosmoshub-kichain.json index a617c9f..8b6f90d 100644 --- a/_IBC/cosmoshub-kichain.json +++ b/_IBC/cosmoshub-kichain.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "chain_2": { + "address": "ki19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqh95kws" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-kujira.json b/_IBC/cosmoshub-kujira.json index 32b964f..76df18a 100644 --- a/_IBC/cosmoshub-kujira.json +++ b/_IBC/cosmoshub-kujira.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "kujira1l267dmlmprhu4p5aqslf50f495vjqlg3vugulp" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-lumnetwork.json b/_IBC/cosmoshub-lumnetwork.json index 47a8472..1a1ff7f 100644 --- a/_IBC/cosmoshub-lumnetwork.json +++ b/_IBC/cosmoshub-lumnetwork.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "chain_2": { + "address": "lum19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqnzcsls" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-omniflixhub.json b/_IBC/cosmoshub-omniflixhub.json index 0ea02db..1b3a1b1 100644 --- a/_IBC/cosmoshub-omniflixhub.json +++ b/_IBC/cosmoshub-omniflixhub.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y" + }, + "chain_2": { + "address": "omniflix19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqmk5qa6" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-osmosis.json b/_IBC/cosmoshub-osmosis.json index fc4c143..3bab0a9 100644 --- a/_IBC/cosmoshub-osmosis.json +++ b/_IBC/cosmoshub-osmosis.json @@ -45,6 +45,22 @@ "telegram": { "handle": "clemensg" } + }, + { + "chain_1": { + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff" + }, + "chain_2": { + "address": "osmo19pjtx7dah2fquf7udyxjv94h0eraha78ddzwlm" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-persistence.json b/_IBC/cosmoshub-persistence.json index af7346f..4a15447 100644 --- a/_IBC/cosmoshub-persistence.json +++ b/_IBC/cosmoshub-persistence.json @@ -24,5 +24,23 @@ "version": "ics20-1", "tags": {} } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "persistence1l267dmlmprhu4p5aqslf50f495vjqlg3ncvhu0" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-quicksilver.json b/_IBC/cosmoshub-quicksilver.json index 4e87ecc..f02ad85 100644 --- a/_IBC/cosmoshub-quicksilver.json +++ b/_IBC/cosmoshub-quicksilver.json @@ -23,5 +23,23 @@ "ordering": "unordered", "version": "ics20-1" } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "quick1l267dmlmprhu4p5aqslf50f495vjqlg3ks6kte" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-stride.json b/_IBC/cosmoshub-stride.json index 8fba6bd..60bbe8e 100644 --- a/_IBC/cosmoshub-stride.json +++ b/_IBC/cosmoshub-stride.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "stride1l267dmlmprhu4p5aqslf50f495vjqlg37l2cx8" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-teritori.json b/_IBC/cosmoshub-teritori.json index dbea6be..455ef01 100644 --- a/_IBC/cosmoshub-teritori.json +++ b/_IBC/cosmoshub-teritori.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt" + }, + "chain_2": { + "address": "tori1l267dmlmprhu4p5aqslf50f495vjqlg3lqadfm" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file diff --git a/_IBC/cosmoshub-terra2.json b/_IBC/cosmoshub-terra2.json index cda7a1d..0df5046 100644 --- a/_IBC/cosmoshub-terra2.json +++ b/_IBC/cosmoshub-terra2.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff" + }, + "chain_2": { + "address": "terra19pjtx7dah2fquf7udyxjv94h0eraha78rjt7tf" + }, + "memo": "Relayed by Crosnest.", + "name": "Crosnest", + "discord": { + "handle": "galadrin_crosnest" + }, + "telegram": { + "handle": "crosnest_com" + } + } ] } \ No newline at end of file From d3b9d4c3b7e1c5312b25680301e8ec8d64a52890 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Tue, 16 Jan 2024 09:50:09 +0100 Subject: [PATCH 12/45] Set execute permissions for validation script --- .github/workflows/validate_ibc_path.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index 962b071..053d892 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -30,6 +30,8 @@ jobs: repo: cosmos/relayer tag: v2.4.2 binaries-location: Cosmos Relayer_2.4.2_linux_amd64 + - name: Set execute permission for the script + run: chmod +x scripts/validate_ibc_path.sh - name: Validate trusting period shell: bash {0} run: | From e0b9b523be1a03318800eef42b4e8168f93568ed Mon Sep 17 00:00:00 2001 From: clemensgg Date: Tue, 16 Jan 2024 09:52:17 +0100 Subject: [PATCH 13/45] Execute permissions --- scripts/validate_ibc_path.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/validate_ibc_path.sh diff --git a/scripts/validate_ibc_path.sh b/scripts/validate_ibc_path.sh old mode 100644 new mode 100755 From bc3411d331cc99573779e9c6130394e0d7d4f5b5 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Tue, 16 Jan 2024 09:56:41 +0100 Subject: [PATCH 14/45] Add debug print --- .github/workflows/validate_ibc_path.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index 053d892..101d726 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -31,7 +31,9 @@ jobs: tag: v2.4.2 binaries-location: Cosmos Relayer_2.4.2_linux_amd64 - name: Set execute permission for the script - run: chmod +x scripts/validate_ibc_path.sh + run: chmod +x $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh + - name: List files in the script directory + run: ls -l $GITHUB_WORKSPACE/scripts/ - name: Validate trusting period shell: bash {0} run: | @@ -39,7 +41,7 @@ jobs: paths=(${{ needs.changes.outputs.paths }}) for path in "${paths[@]}"; do if [[ "$path" != *"cosmoshub-osmosis"* ]]; then - $(scripts/validate_ibc_path.sh $path) + $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh $path result=$(($result+$?)) else echo "cosmoshub-osmosis ommitted for path validation." @@ -48,4 +50,5 @@ jobs: if [[ "$result" -gt 0 ]]; then echo "Error: Incorrect trusting period for all or some clients" >&2 exit 1 - fi \ No newline at end of file + fi + \ No newline at end of file From dfe4b5e290e928ad145ea45654bed6448840de13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 16 Jan 2024 09:16:04 +0000 Subject: [PATCH 15/45] Automated data updates --- operators.json | 144 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 141 insertions(+), 3 deletions(-) diff --git a/operators.json b/operators.json index 52647bf..8d7b125 100644 --- a/operators.json +++ b/operators.json @@ -7,10 +7,148 @@ "discord": "ccclaimens", "telegram": "clemensg", "feegrant": { - "enabled": true, - "period_spend_limit": 10000000, + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + }, + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-evmos": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-persistence": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-quicksilver": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-crescent": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1w8kzcqk25vr0fx0k7yxn2vjw49qerut2tfv8up", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-umee": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1ln3l6waaqdjcskt3ztzqlzkpvmzp7zw4ky2xgp", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-omniflixhub": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-stride": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "bitsong-cosmoshub": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1cx82d7pm4dgffy7a93rl6ul5g84vjgxk8xxrnv", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-juno": [ + { + "name": "Architect Nodes", + "memo": "Relayed by Architect Nodes! ", + "address": "cosmos1w8kzcqk25vr0fx0k7yxn2vjw49qerut2tfv8up", + "discord": "architectnodes", + "telegram": "social244305_Architect_Nodes", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, "active_period_spend_limit": 0 } } ] -} +} \ No newline at end of file From 26cb2fa82214feaa0d0997c9b8bfe98cfa0165cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 16 Jan 2024 09:23:35 +0000 Subject: [PATCH 16/45] Sync Cosmoshub files --- _IBC/bitsong-cosmoshub.json | 2 +- _IBC/cosmoshub-crescent.json | 2 +- _IBC/cosmoshub-evmos.json | 2 +- _IBC/cosmoshub-juno.json | 2 +- _IBC/cosmoshub-omniflixhub.json | 2 +- _IBC/cosmoshub-osmosis.json | 2 +- _IBC/cosmoshub-persistence.json | 2 +- _IBC/cosmoshub-quicksilver.json | 2 +- _IBC/cosmoshub-stride.json | 2 +- _IBC/cosmoshub-umee.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_IBC/bitsong-cosmoshub.json b/_IBC/bitsong-cosmoshub.json index 48ad78e..d7c5a9d 100644 --- a/_IBC/bitsong-cosmoshub.json +++ b/_IBC/bitsong-cosmoshub.json @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-crescent.json b/_IBC/cosmoshub-crescent.json index 3e23407..bde50c6 100644 --- a/_IBC/cosmoshub-crescent.json +++ b/_IBC/cosmoshub-crescent.json @@ -47,4 +47,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-evmos.json b/_IBC/cosmoshub-evmos.json index 2a7b49d..369b640 100644 --- a/_IBC/cosmoshub-evmos.json +++ b/_IBC/cosmoshub-evmos.json @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-juno.json b/_IBC/cosmoshub-juno.json index f12c4c9..926f1df 100644 --- a/_IBC/cosmoshub-juno.json +++ b/_IBC/cosmoshub-juno.json @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-omniflixhub.json b/_IBC/cosmoshub-omniflixhub.json index 255a702..1e7f2c7 100644 --- a/_IBC/cosmoshub-omniflixhub.json +++ b/_IBC/cosmoshub-omniflixhub.json @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-osmosis.json b/_IBC/cosmoshub-osmosis.json index 0238a76..ed9942a 100644 --- a/_IBC/cosmoshub-osmosis.json +++ b/_IBC/cosmoshub-osmosis.json @@ -63,4 +63,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-persistence.json b/_IBC/cosmoshub-persistence.json index 6700e54..ae6e45b 100644 --- a/_IBC/cosmoshub-persistence.json +++ b/_IBC/cosmoshub-persistence.json @@ -43,4 +43,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-quicksilver.json b/_IBC/cosmoshub-quicksilver.json index fb11cf5..ffe1881 100644 --- a/_IBC/cosmoshub-quicksilver.json +++ b/_IBC/cosmoshub-quicksilver.json @@ -42,4 +42,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-stride.json b/_IBC/cosmoshub-stride.json index 5c06115..d8aa8ce 100644 --- a/_IBC/cosmoshub-stride.json +++ b/_IBC/cosmoshub-stride.json @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-umee.json b/_IBC/cosmoshub-umee.json index d54ae89..0057df7 100644 --- a/_IBC/cosmoshub-umee.json +++ b/_IBC/cosmoshub-umee.json @@ -43,4 +43,4 @@ } } ] -} +} \ No newline at end of file From 7f321a9de4576fda85769a73d495737679a41fc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 16 Jan 2024 09:34:11 +0000 Subject: [PATCH 17/45] Automated data updates --- operators.json | 240 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) diff --git a/operators.json b/operators.json index 8d7b125..f347992 100644 --- a/operators.json +++ b/operators.json @@ -23,6 +23,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-evmos": [ @@ -51,6 +63,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-quicksilver": [ @@ -65,6 +89,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-crescent": [ @@ -107,6 +143,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-stride": [ @@ -121,6 +169,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "bitsong-cosmoshub": [ @@ -149,6 +209,186 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-teritori": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-lumnetwork": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "axelar-cosmoshub": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "aura-cosmoshub": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-kujira": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-terra2": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "archway-cosmoshub": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-cryptoorgchain": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-emoney": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-kava": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19pjtx7dah2fquf7udyxjv94h0eraha789k37ff", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-kichain": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos19kzuzfmmy9wjr3cl0ss8wjzjup9g49hqxg9e2y", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } + ], + "cosmoshub-injective": [ + { + "name": "Crosnest", + "memo": "Relayed by Crosnest.", + "address": "cosmos1l267dmlmprhu4p5aqslf50f495vjqlg3a52yjt", + "discord": "galadrin_crosnest", + "telegram": "crosnest_com", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ] } \ No newline at end of file From 8b094fd6da9172ad7bdd2326c9b334608f863ad2 Mon Sep 17 00:00:00 2001 From: Jerry Chong Date: Wed, 17 Jan 2024 01:04:36 +0800 Subject: [PATCH 18/45] Add IcyCRO --- _IBC/axelar-cosmoshub.json | 18 +++++++++++++++++- _IBC/cosmoshub-crescent.json | 19 ++++++++++++++++++- _IBC/cosmoshub-evmos.json | 18 +++++++++++++++++- _IBC/cosmoshub-juno.json | 18 +++++++++++++++++- _IBC/cosmoshub-kujira.json | 18 +++++++++++++++++- _IBC/cosmoshub-neutron.json | 20 +++++++++++++++++++- _IBC/cosmoshub-stride.json | 18 +++++++++++++++++- 7 files changed, 122 insertions(+), 7 deletions(-) diff --git a/_IBC/axelar-cosmoshub.json b/_IBC/axelar-cosmoshub.json index 9a845bc..42dc12e 100644 --- a/_IBC/axelar-cosmoshub.json +++ b/_IBC/axelar-cosmoshub.json @@ -44,6 +44,22 @@ "telegram": { "handle": "crosnest_com" } + }, + { + "chain_1": { + "address": "axelar1nna7k5lywn99cd63elcfqm6p8c5c4qcuvmt3z4" + }, + "chain_2": { + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-crescent.json b/_IBC/cosmoshub-crescent.json index bde50c6..f0feeab 100644 --- a/_IBC/cosmoshub-crescent.json +++ b/_IBC/cosmoshub-crescent.json @@ -45,6 +45,23 @@ "telegram": { "handle": "social244305_Architect_Nodes" } + }, + { + "chain_1": { + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5" + }, + "chain_2": { + "address": "cre1nna7k5lywn99cd63elcfqm6p8c5c4qcuvawuue" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } + ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-evmos.json b/_IBC/cosmoshub-evmos.json index 369b640..e182ee7 100644 --- a/_IBC/cosmoshub-evmos.json +++ b/_IBC/cosmoshub-evmos.json @@ -44,6 +44,22 @@ "telegram": { "handle": "social244305_Architect_Nodes" } + }, + { + "chain_1": { + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg" + }, + "chain_2": { + "address": "evmos1lldjhjnn32e8vek7cxe9g05nf8j74y0xa6dt3p" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-juno.json b/_IBC/cosmoshub-juno.json index 8f326cf..7474fda 100644 --- a/_IBC/cosmoshub-juno.json +++ b/_IBC/cosmoshub-juno.json @@ -60,6 +60,22 @@ "telegram": { "handle": "social244305_Architect_Nodes" } + }, + { + "chain_1": { + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg" + }, + "chain_2": { + "address": "juno1nna7k5lywn99cd63elcfqm6p8c5c4qcu787zwg" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-kujira.json b/_IBC/cosmoshub-kujira.json index 76df18a..0c2a3e1 100644 --- a/_IBC/cosmoshub-kujira.json +++ b/_IBC/cosmoshub-kujira.json @@ -44,6 +44,22 @@ "telegram": { "handle": "crosnest_com" } + }, + { + "chain_1": { + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5" + }, + "chain_2": { + "address": "kujira1nna7k5lywn99cd63elcfqm6p8c5c4qcuealpy7" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-neutron.json b/_IBC/cosmoshub-neutron.json index 48f0f77..45e0583 100644 --- a/_IBC/cosmoshub-neutron.json +++ b/_IBC/cosmoshub-neutron.json @@ -27,5 +27,23 @@ "preferred": true } } + ], + "operators": [ + { + "chain_1": { + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5" + }, + "chain_2": { + "address": "neutron1nna7k5lywn99cd63elcfqm6p8c5c4qcuv25mnn" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } + } ] -} \ No newline at end of file +} diff --git a/_IBC/cosmoshub-stride.json b/_IBC/cosmoshub-stride.json index a1b35d9..53336fe 100644 --- a/_IBC/cosmoshub-stride.json +++ b/_IBC/cosmoshub-stride.json @@ -60,6 +60,22 @@ "telegram": { "handle": "social244305_Architect_Nodes" } + }, + { + "chain_1": { + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg" + }, + "chain_2": { + "address": "stride1nna7k5lywn99cd63elcfqm6p8c5c4qcut7a9ac" + }, + "memo": "Relayed by IcyCRO 🧊", + "name": "IcyCRO", + "discord": { + "handle": "zanglang" + }, + "telegram": { + "handle": "zanglang" + } } ] -} \ No newline at end of file +} From e0cbc98d7bb0cb8bf45299ceea4159684dfdbdc4 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:12:01 +0100 Subject: [PATCH 19/45] Add trusting period boundary vars, update boundarys --- scripts/validate_ibc_path.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/validate_ibc_path.sh b/scripts/validate_ibc_path.sh index 7194834..4c423e1 100755 --- a/scripts/validate_ibc_path.sh +++ b/scripts/validate_ibc_path.sh @@ -4,6 +4,9 @@ set -euo pipefail +tp_boundary_high="0.89" +tp_boundary_low="0.55" + DATA=$(jq . $1) RLY_HOME=$(mktemp -d) @@ -31,11 +34,11 @@ is_client_valid() { # Print the trusting and unbonding periods for debugging or logging echo $trusting_period $unbonding_period \ - | awk '{printf "trusting_period: %ss, required_trusting_period_min: %ss, required_trusting_period_max: %ss, unbonding_period: %ss\n", $1, (0.60 * $2), (0.85 * $2), $2;}' >&2 + | awk '{printf "trusting_period: %ss, required_trusting_period_min: %ss, required_trusting_period_max: %ss, unbonding_period: %ss\n", $1, ('$tp_boundary_low' * $2), ('$tp_boundary_high' * $2), $2;}' >&2 # Check if the trusting period is between 60% and 85% of the unbonding period echo $trusting_period $unbonding_period \ - | awk '{if ($1 >= 0.60 * $2 && $1 <= 0.85 * $2) print "yes"; else print "no"}' + | awk '{if ($1 >= '$tp_boundary_low' * $2 && $1 <= '$tp_boundary_high' * $2) print "yes"; else print "no"}' } echo "Checking $1" >&2 From 237e2198e764f6a969305a3b8c75e497967e7b85 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:19:21 +0100 Subject: [PATCH 20/45] Deprecate automatic client state validation for now --- .github/workflows/validate_ibc_path.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index 101d726..fecc38e 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -1,9 +1,10 @@ --- name: Validate IBC path on: - pull_request: - branches: - - main +# pull_request: +# branches: +# - main + workflow_dispatch: jobs: changes: From 3acdad86b2216e30f0ba36093821066fcb818637 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jan 2024 19:21:10 +0000 Subject: [PATCH 21/45] Automated data updates --- operators.json | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/operators.json b/operators.json index f347992..d7a7035 100644 --- a/operators.json +++ b/operators.json @@ -49,6 +49,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-persistence": [ @@ -115,6 +127,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-umee": [ @@ -181,6 +205,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "bitsong-cosmoshub": [ @@ -221,6 +257,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1p7d8mnjttcszv34pk2a5yyug3474mhffasa7tg", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-teritori": [ @@ -263,6 +311,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "aura-cosmoshub": [ @@ -291,6 +351,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ], "cosmoshub-terra2": [ @@ -390,5 +462,19 @@ "active_period_spend_limit": 0 } } + ], + "cosmoshub-neutron": [ + { + "name": "IcyCRO", + "memo": "Relayed by IcyCRO \ud83e\uddca", + "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5", + "discord": "zanglang", + "telegram": "zanglang", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } + } ] } \ No newline at end of file From 9602350f9d4153c4df6e18447feadf7bff4fceb1 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:27:54 +0100 Subject: [PATCH 22/45] Add json validation --- .github/workflows/validate_ibc_path.yaml | 82 +++++++++++++++--------- 1 file changed, 51 insertions(+), 31 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index fecc38e..cebfb16 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -1,9 +1,9 @@ --- name: Validate IBC path on: -# pull_request: -# branches: -# - main + pull_request: + paths: + - '_IBC/*.json' workflow_dispatch: jobs: @@ -19,37 +19,57 @@ jobs: filters: | ibc: - added|modified: '(_IBC|testnets/_IBC)/*.json' - Validation: - needs: changes + validate-json: runs-on: ubuntu-latest - if: ${{ needs.changes.outputs.paths != null }} steps: - uses: actions/checkout@v4 - - name: Install rly - uses: jaxxstorm/action-install-gh-release@v1 - with: - repo: cosmos/relayer - tag: v2.4.2 - binaries-location: Cosmos Relayer_2.4.2_linux_amd64 - - name: Set execute permission for the script - run: chmod +x $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh - - name: List files in the script directory - run: ls -l $GITHUB_WORKSPACE/scripts/ - - name: Validate trusting period - shell: bash {0} + name: Checkout code + + - name: Install JSON Schema Validator + run: sudo npm install -g ajv-cli + + - name: Validate JSON files run: | - declare -i result=0 - paths=(${{ needs.changes.outputs.paths }}) - for path in "${paths[@]}"; do - if [[ "$path" != *"cosmoshub-osmosis"* ]]; then - $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh $path - result=$(($result+$?)) - else - echo "cosmoshub-osmosis ommitted for path validation." - fi - done - if [[ "$result" -gt 0 ]]; then - echo "Error: Incorrect trusting period for all or some clients" >&2 + ajv compile -s /ibc_data.schema.json -r /ibc_data.schema.json + for file in _IBC/*.json; do + output=$(ajv test -s /ibc_data.schema.json -d "$file" --all-errors --json) + if [ $? -ne 0 ]; then + echo "Validation failed for $file" + echo "$output" exit 1 - fi + fi + done + # validate-client-states: + # needs: changes + # runs-on: ubuntu-latest + # if: ${{ needs.changes.outputs.paths != null }} + # steps: + # - uses: actions/checkout@v4 + # - name: Install rly + # uses: jaxxstorm/action-install-gh-release@v1 + # with: + # repo: cosmos/relayer + # tag: v2.4.2 + # binaries-location: Cosmos Relayer_2.4.2_linux_amd64 + # - name: Set execute permission for the script + # run: chmod +x $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh + # - name: List files in the script directory + # run: ls -l $GITHUB_WORKSPACE/scripts/ + # - name: Validate trusting period + # shell: bash {0} + # run: | + # declare -i result=0 + # paths=(${{ needs.changes.outputs.paths }}) + # for path in "${paths[@]}"; do + # if [[ "$path" != *"cosmoshub-osmosis"* ]]; then + # $GITHUB_WORKSPACE/scripts/validate_ibc_path.sh $path + # result=$(($result+$?)) + # else + # echo "cosmoshub-osmosis ommitted for trusting period validation." + # fi + # done + # if [[ "$result" -gt 0 ]]; then + # echo "Error: Incorrect trusting period for all or some clients" >&2 + # exit 1 + # fi \ No newline at end of file From a48074dfb5c7e983721a945212facb75eea3c3a7 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:32:18 +0100 Subject: [PATCH 23/45] Set default PR template --- .../operator_onboarding.md => PULL_REQUEST_TEMPLATE.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{PULL_REQUEST_TEMPLATE/operator_onboarding.md => PULL_REQUEST_TEMPLATE.md} (100%) diff --git a/.github/PULL_REQUEST_TEMPLATE/operator_onboarding.md b/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/operator_onboarding.md rename to .github/PULL_REQUEST_TEMPLATE.md From 521327c19f073058e35f285bc044540ee0e0012e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jan 2024 19:34:02 +0000 Subject: [PATCH 24/45] Sync Cosmoshub files --- _IBC/axelar-cosmoshub.json | 4 ++-- _IBC/cosmoshub-crescent.json | 5 ++--- _IBC/cosmoshub-evmos.json | 4 ++-- _IBC/cosmoshub-juno.json | 4 ++-- _IBC/cosmoshub-kujira.json | 4 ++-- _IBC/cosmoshub-neutron.json | 4 ++-- _IBC/cosmoshub-stride.json | 4 ++-- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/_IBC/axelar-cosmoshub.json b/_IBC/axelar-cosmoshub.json index 42dc12e..ae486a8 100644 --- a/_IBC/axelar-cosmoshub.json +++ b/_IBC/axelar-cosmoshub.json @@ -52,7 +52,7 @@ "chain_2": { "address": "cosmos1nna7k5lywn99cd63elcfqm6p8c5c4qcug4aef5" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -62,4 +62,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-crescent.json b/_IBC/cosmoshub-crescent.json index f0feeab..6a4c567 100644 --- a/_IBC/cosmoshub-crescent.json +++ b/_IBC/cosmoshub-crescent.json @@ -53,7 +53,7 @@ "chain_2": { "address": "cre1nna7k5lywn99cd63elcfqm6p8c5c4qcuvawuue" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -62,6 +62,5 @@ "handle": "zanglang" } } - ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-evmos.json b/_IBC/cosmoshub-evmos.json index e182ee7..3a8aebe 100644 --- a/_IBC/cosmoshub-evmos.json +++ b/_IBC/cosmoshub-evmos.json @@ -52,7 +52,7 @@ "chain_2": { "address": "evmos1lldjhjnn32e8vek7cxe9g05nf8j74y0xa6dt3p" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -62,4 +62,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-juno.json b/_IBC/cosmoshub-juno.json index 7474fda..c43024f 100644 --- a/_IBC/cosmoshub-juno.json +++ b/_IBC/cosmoshub-juno.json @@ -68,7 +68,7 @@ "chain_2": { "address": "juno1nna7k5lywn99cd63elcfqm6p8c5c4qcu787zwg" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -78,4 +78,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-kujira.json b/_IBC/cosmoshub-kujira.json index 0c2a3e1..8c7ecf8 100644 --- a/_IBC/cosmoshub-kujira.json +++ b/_IBC/cosmoshub-kujira.json @@ -52,7 +52,7 @@ "chain_2": { "address": "kujira1nna7k5lywn99cd63elcfqm6p8c5c4qcuealpy7" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -62,4 +62,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-neutron.json b/_IBC/cosmoshub-neutron.json index 45e0583..2d6f7dc 100644 --- a/_IBC/cosmoshub-neutron.json +++ b/_IBC/cosmoshub-neutron.json @@ -36,7 +36,7 @@ "chain_2": { "address": "neutron1nna7k5lywn99cd63elcfqm6p8c5c4qcuv25mnn" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -46,4 +46,4 @@ } } ] -} +} \ No newline at end of file diff --git a/_IBC/cosmoshub-stride.json b/_IBC/cosmoshub-stride.json index 53336fe..04526ce 100644 --- a/_IBC/cosmoshub-stride.json +++ b/_IBC/cosmoshub-stride.json @@ -68,7 +68,7 @@ "chain_2": { "address": "stride1nna7k5lywn99cd63elcfqm6p8c5c4qcut7a9ac" }, - "memo": "Relayed by IcyCRO 🧊", + "memo": "Relayed by IcyCRO \ud83e\uddca", "name": "IcyCRO", "discord": { "handle": "zanglang" @@ -78,4 +78,4 @@ } } ] -} +} \ No newline at end of file From 6f484aca4a9613e8ab53cacd3127211b7eb4dbac Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:36:46 +0100 Subject: [PATCH 25/45] More clear wording, add link to CONTRIBUTE.md --- .github/PULL_REQUEST_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0374080..6397861 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,16 +1,16 @@ # Relayer Operator Onboarding -Thank you for your IBC relaying efforts for the Cosmos Hub. This pull request is for onboarding new operators. +Thank you for your IBC relaying efforts for the Cosmos Hub. This pull request template is for onboarding new operators. ## Instructions -Add your account addresses and contact information in the correct format to the specified JSON file in the `_IBC` folder. Ensure that your submission follows the provided format. If you have opened this pull request through a related issue, please link the issue number below: +Add your account addresses and contact information in the correct format to the specified JSON file(s) in the `_IBC` folder. Ensure that your submission follows the provided format. If you have opened this pull request through a related issue, please link the issue number below: Closes #issue_number ## Checklist -- [ ] I have read the onboarding documentation & contribution guidelines. +- [ ] I have read the [onboarding documentation & contribution guidelines](../CONTRIBUTE.md). - [ ] I have added my Account Addresses and Operator Information to the correct path file in the `_IBC` folder. - [ ] I have ensured my changes follow the required format. - [ ] I have linked the related onboarding issue (if one was created). From 7a6aadeef192a46621ce703a2b61b6b06dddf384 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:47:06 +0100 Subject: [PATCH 26/45] Fix: comment not posted on validation error --- scripts/add_operator_to_path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/add_operator_to_path.py b/scripts/add_operator_to_path.py index 40d58b0..2470c02 100644 --- a/scripts/add_operator_to_path.py +++ b/scripts/add_operator_to_path.py @@ -112,6 +112,7 @@ def main(): validation_error = validate_operator_data(operator_data, token, issue_number) if validation_error: print(f"Validation error: {validation_error}") + post_comment(issue_number, validation_error, token) sys.exit(1) ibc_path = operator_data['IBC Path'] @@ -135,6 +136,7 @@ def main(): except Exception as e: print(f"An error occurred: {e}") + post_comment(issue_number, f"An error occurred: {e}", token) sys.exit(1) if __name__ == "__main__": From 577179019e6044d79d0014844aa9a30f27b723dd Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:55:54 +0100 Subject: [PATCH 27/45] Remove unnessecary print statement --- scripts/add_operator_to_path.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/add_operator_to_path.py b/scripts/add_operator_to_path.py index 2470c02..f4237ca 100644 --- a/scripts/add_operator_to_path.py +++ b/scripts/add_operator_to_path.py @@ -80,7 +80,6 @@ def validate_operator_data(operator_data, token, issue_number): file_path = f'{ibc_folder_path}/{ibc_path}.json' if not os.path.exists(file_path): error_message = f"IBC path `{ibc_path}` not found! Please review your input." - post_comment(issue_number, error_message, token) return error_message return "" From 0aa87534b531b6b18e624179a684234871c5523b Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 20:59:16 +0100 Subject: [PATCH 28/45] Fix: PR link --- scripts/add_operator_to_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add_operator_to_path.py b/scripts/add_operator_to_path.py index f4237ca..5473ba0 100644 --- a/scripts/add_operator_to_path.py +++ b/scripts/add_operator_to_path.py @@ -121,7 +121,7 @@ def main(): operator_name = operator_data.get('Operator Name').replace(" ", "_") branch_name = f"operator-onboarding-{issue_number}-{operator_name}" repo_full_name = os.environ['GITHUB_REPOSITORY'] # "owner/repo" - pr_url = f"https://github.com/{repo_full_name}/compare/main...{branch_name}?expand=1&template=operator_onboarding.md" + pr_url = f"https://github.com/{repo_full_name}/compare/main...{branch_name}?expand=1" success_message = ( f"Input validation passed. Your changes have been committed to the branch `{branch_name}`.\n" "Please review the changes and [open a pull request](" + pr_url + From f1a544ddf7a86d9ae5cd315757362ed34d829d56 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 21:06:13 +0100 Subject: [PATCH 29/45] Add operator name to issue workflow commit message --- .github/workflows/operator_onboarding.yml | 5 +++-- scripts/add_operator_to_path.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/operator_onboarding.yml b/.github/workflows/operator_onboarding.yml index 45d488e..3b77f02 100644 --- a/.github/workflows/operator_onboarding.yml +++ b/.github/workflows/operator_onboarding.yml @@ -33,8 +33,9 @@ jobs: fi - name: Validate Input & Add operator to IBC path file + id: add_operator if: env.LABEL_FOUND == 'true' - run: python ./scripts/add_operator_to_path.py ${{ github.event.issue.number }} + run: echo "OPERATOR_NAME=$(python ./scripts/add_operator_to_path.py ${{ github.event.issue.number }})" >> $GITHUB_ENV env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -49,7 +50,7 @@ jobs: if: env.LABEL_FOUND == 'true' run: | git add -A - git commit -m "Add Operator d" + git commit -m "Add Operator ${OPERATOR_NAME}" - name: Push changes if: env.LABEL_FOUND == 'true' diff --git a/scripts/add_operator_to_path.py b/scripts/add_operator_to_path.py index 5473ba0..1573c65 100644 --- a/scripts/add_operator_to_path.py +++ b/scripts/add_operator_to_path.py @@ -130,6 +130,7 @@ def main(): "to link and close the issue when the pull request is merged." ) post_comment(issue_number, success_message, token) + print(operator_name) else: sys.exit(1) From c9da45322ef35cbc64d73b58ac57788d1fbe8786 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 21:17:41 +0100 Subject: [PATCH 30/45] Fix: script call return value --- .github/workflows/operator_onboarding.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/operator_onboarding.yml b/.github/workflows/operator_onboarding.yml index 3b77f02..a52ba8e 100644 --- a/.github/workflows/operator_onboarding.yml +++ b/.github/workflows/operator_onboarding.yml @@ -33,9 +33,11 @@ jobs: fi - name: Validate Input & Add operator to IBC path file - id: add_operator + id: add_operator if: env.LABEL_FOUND == 'true' - run: echo "OPERATOR_NAME=$(python ./scripts/add_operator_to_path.py ${{ github.event.issue.number }})" >> $GITHUB_ENV + run: | + OPERATOR_NAME=$(python ./scripts/add_operator_to_path.py ${{ github.event.issue.number }} | tail -n 1) + echo "OPERATOR_NAME=$OPERATOR_NAME" >> $GITHUB_ENV env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c67bf17f50a9230c0d495aa25aa6634fa9d3d215 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 21:17:53 +0100 Subject: [PATCH 31/45] Remove comment --- scripts/add_operator_to_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add_operator_to_path.py b/scripts/add_operator_to_path.py index 1573c65..3943728 100644 --- a/scripts/add_operator_to_path.py +++ b/scripts/add_operator_to_path.py @@ -120,7 +120,7 @@ def main(): operator_name = operator_data.get('Operator Name').replace(" ", "_") branch_name = f"operator-onboarding-{issue_number}-{operator_name}" - repo_full_name = os.environ['GITHUB_REPOSITORY'] # "owner/repo" + repo_full_name = os.environ['GITHUB_REPOSITORY'] pr_url = f"https://github.com/{repo_full_name}/compare/main...{branch_name}?expand=1" success_message = ( f"Input validation passed. Your changes have been committed to the branch `{branch_name}`.\n" From ce44eb40de72d21e3ccbdd541ac5484d7c725cc0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jan 2024 20:18:22 +0000 Subject: [PATCH 32/45] Add Operator CryptoCrew --- _IBC/cosmoshub-neutron.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_IBC/cosmoshub-neutron.json b/_IBC/cosmoshub-neutron.json index 2d6f7dc..166c200 100644 --- a/_IBC/cosmoshub-neutron.json +++ b/_IBC/cosmoshub-neutron.json @@ -44,6 +44,22 @@ "telegram": { "handle": "zanglang" } + }, + { + "chain_1": { + "address": "cosmos1yghndrffay859ma2ue4pa2cltw640vtayerdla" + }, + "chain_2": { + "address": "neutron1yghndrffay859ma2ue4pa2cltw640vtaqx2096" + }, + "memo": "relayed by CryptoCrew Validators", + "name": "CryptoCrew", + "discord": { + "handle": "@ccclaimens" + }, + "telegram": { + "handle": "@clemensg" + } } ] } \ No newline at end of file From a4ec25bb8af0ca2070a7c36cfa0931cecaf1c230 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 21:24:41 +0100 Subject: [PATCH 33/45] Fix: schema location --- .github/workflows/validate_ibc_path.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index cebfb16..fe6548e 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -30,9 +30,9 @@ jobs: - name: Validate JSON files run: | - ajv compile -s /ibc_data.schema.json -r /ibc_data.schema.json + ajv compile -s ./ibc_data.schema.json -r ./ibc_data.schema.json for file in _IBC/*.json; do - output=$(ajv test -s /ibc_data.schema.json -d "$file" --all-errors --json) + output=$(ajv test -s ./ibc_data.schema.json -d "$file" --all-errors --json) if [ $? -ne 0 ]; then echo "Validation failed for $file" echo "$output" From 6bbc21a395034bdb452d420d51b4ad244226e800 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 21:58:25 +0100 Subject: [PATCH 34/45] Fix: schema location --- .github/workflows/validate_ibc_path.yaml | 6 +++--- ibc_data.schema.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index fe6548e..eb02b26 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -26,13 +26,13 @@ jobs: name: Checkout code - name: Install JSON Schema Validator - run: sudo npm install -g ajv-cli + run: sudo npm install -g ajv-cli@latest - name: Validate JSON files run: | - ajv compile -s ./ibc_data.schema.json -r ./ibc_data.schema.json + ajv compile -s ../../ibc_data.schema.json -r ../../ibc_data.schema.json for file in _IBC/*.json; do - output=$(ajv test -s ./ibc_data.schema.json -d "$file" --all-errors --json) + output=$(ajv test -s ../../ibc_data.schema.json -d "$file" --all-errors --json) if [ $? -ne 0 ]; then echo "Validation failed for $file" echo "$output" diff --git a/ibc_data.schema.json b/ibc_data.schema.json index 1c114a5..2a48321 100644 --- a/ibc_data.schema.json +++ b/ibc_data.schema.json @@ -1,5 +1,5 @@ { - "$schema": "https://json-schema.org/draft-07/schema", + "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "required": ["chain_1", "chain_2", "channels"], "properties": { From f7bff2c08b13cae446c82b4f63547123627636b3 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:02:24 +0100 Subject: [PATCH 35/45] Fix: schma path for workflow runner --- .github/workflows/validate_ibc_path.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index eb02b26..d8747bb 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -30,7 +30,7 @@ jobs: - name: Validate JSON files run: | - ajv compile -s ../../ibc_data.schema.json -r ../../ibc_data.schema.json + ajv compile -s ../ibc_data.schema.json -r ../ibc_data.schema.json for file in _IBC/*.json; do output=$(ajv test -s ../../ibc_data.schema.json -d "$file" --all-errors --json) if [ $? -ne 0 ]; then From e52df1f3af50afcde9cc6ba1187c1bda4bad0b98 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:06:08 +0100 Subject: [PATCH 36/45] Fix: schema path for workflow runner #2 --- .github/workflows/validate_ibc_path.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index d8747bb..682acca 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -30,9 +30,9 @@ jobs: - name: Validate JSON files run: | - ajv compile -s ../ibc_data.schema.json -r ../ibc_data.schema.json + ajv compile -s ./ibc_data.schema.json -r ./ibc_data.schema.json for file in _IBC/*.json; do - output=$(ajv test -s ../../ibc_data.schema.json -d "$file" --all-errors --json) + output=$(ajv test -s ./ibc_data.schema.json -d "$file" --all-errors --json) if [ $? -ne 0 ]; then echo "Validation failed for $file" echo "$output" From 0ed7b78a1744ded5d1ec137bbad94065e37ef9f4 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:10:03 +0100 Subject: [PATCH 37/45] Fix: ajv validation call --- .github/workflows/validate_ibc_path.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index 682acca..bfa4f9e 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -32,7 +32,7 @@ jobs: run: | ajv compile -s ./ibc_data.schema.json -r ./ibc_data.schema.json for file in _IBC/*.json; do - output=$(ajv test -s ./ibc_data.schema.json -d "$file" --all-errors --json) + output=$(ajv test -s ./ibc_data.schema.json -d "$file") if [ $? -ne 0 ]; then echo "Validation failed for $file" echo "$output" From d20d2425469458d994c29ef61efae2a46c696a1f Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:15:11 +0100 Subject: [PATCH 38/45] ajv only needs to test --- .github/workflows/validate_ibc_path.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index bfa4f9e..36e1366 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -30,7 +30,6 @@ jobs: - name: Validate JSON files run: | - ajv compile -s ./ibc_data.schema.json -r ./ibc_data.schema.json for file in _IBC/*.json; do output=$(ajv test -s ./ibc_data.schema.json -d "$file") if [ $? -ne 0 ]; then From 15fd47c17b5e758d3c17096c1f71566a3a681f60 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:17:44 +0100 Subject: [PATCH 39/45] Add required --valid flag --- .github/workflows/validate_ibc_path.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_ibc_path.yaml b/.github/workflows/validate_ibc_path.yaml index 36e1366..274c647 100644 --- a/.github/workflows/validate_ibc_path.yaml +++ b/.github/workflows/validate_ibc_path.yaml @@ -31,7 +31,7 @@ jobs: - name: Validate JSON files run: | for file in _IBC/*.json; do - output=$(ajv test -s ./ibc_data.schema.json -d "$file") + output=$(ajv test -s ./ibc_data.schema.json -d "$file" --valid) if [ $? -ne 0 ]; then echo "Validation failed for $file" echo "$output" From 8896af058105b22b0a949e3aba650f5650ffe9ae Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:21:39 +0100 Subject: [PATCH 40/45] commit to main branch --- .github/workflows/sync_operator_data.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_operator_data.yml b/.github/workflows/sync_operator_data.yml index 3839c23..c4a3b79 100644 --- a/.github/workflows/sync_operator_data.yml +++ b/.github/workflows/sync_operator_data.yml @@ -39,8 +39,9 @@ jobs: run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' + git checkout main git add -A git commit -m "Automated data updates" || echo "No changes to commit" - git push + git push origin main # Push to the main branch env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 170215bf3967ee76da38f4350c5fc409831f1720 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:23:58 +0100 Subject: [PATCH 41/45] Checkout main branch --- .github/workflows/sync_operator_data.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_operator_data.yml b/.github/workflows/sync_operator_data.yml index c4a3b79..875171f 100644 --- a/.github/workflows/sync_operator_data.yml +++ b/.github/workflows/sync_operator_data.yml @@ -16,8 +16,10 @@ jobs: sync-operators-update-feegrant: runs-on: ubuntu-latest steps: - - name: Checkout Repository + - name: Checkout Repository and Switch to Main uses: actions/checkout@v2 + with: + ref: main - name: Set up Python uses: actions/setup-python@v2 @@ -39,7 +41,6 @@ jobs: run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' - git checkout main git add -A git commit -m "Automated data updates" || echo "No changes to commit" git push origin main # Push to the main branch From c349e949810a2bea19337b1ea6f737c719d7e78e Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 22:25:43 +0100 Subject: [PATCH 42/45] better commit msg --- .github/workflows/sync_operator_data.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_operator_data.yml b/.github/workflows/sync_operator_data.yml index 875171f..09f3ad5 100644 --- a/.github/workflows/sync_operator_data.yml +++ b/.github/workflows/sync_operator_data.yml @@ -42,7 +42,7 @@ jobs: git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' git add -A - git commit -m "Automated data updates" || echo "No changes to commit" - git push origin main # Push to the main branch + git commit -m "Sync Operators file" || echo "No changes to commit" + git push env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 2e2ae2bdda5ed2654af86dee6831351ffae637de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jan 2024 21:27:56 +0000 Subject: [PATCH 43/45] Sync Operators file --- operators.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/operators.json b/operators.json index d7a7035..5b46f6f 100644 --- a/operators.json +++ b/operators.json @@ -475,6 +475,18 @@ "period_spend_limit": 0, "active_period_spend_limit": 0 } + }, + { + "name": "CryptoCrew", + "memo": "relayed by CryptoCrew Validators", + "address": "cosmos1yghndrffay859ma2ue4pa2cltw640vtayerdla", + "discord": "@ccclaimens", + "telegram": "@clemensg", + "feegrant": { + "enabled": false, + "period_spend_limit": 0, + "active_period_spend_limit": 0 + } } ] } \ No newline at end of file From 3536e71be26d5084af3354a24cd7dacbee08e5f7 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Wed, 17 Jan 2024 23:08:01 +0100 Subject: [PATCH 44/45] Add multisig setup --- .env | 10 ++++++- utils/generate_feegrant_messages.py | 44 ++++++++++++++++++++++++++++- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 72ee7c9..2e6afb0 100644 --- a/.env +++ b/.env @@ -11,12 +11,20 @@ CR_REPO_OWNER='cosmos' CR_REPO_NAME='chain-registry' CR_FOLDER_PATH='_IBC' CR_CHAIN_NAME='cosmoshub' -RPC_URL = "https://rpc.cosmos.directory:443/cosmoshub" +RPC_URL='https://rpc.cosmos.directory:443/cosmoshub' REST_URL='https://rest.cosmos.directory:443/cosmoshub' GRANTER_ACCOUNT='cosmos14r8ff03jkyac2fukjtfrfgaj8ehjlhds5ec2zp' PERIOD_DURATION='86400' +TOTAL_SIGNERS='5' +MULTISIG_THRESHOLD='3' +SIGNER_1_PUBKEY='AiIW8DesZL5lGOihwuuFvy68qpsgNnagoqPyiL1gRxlP' +SIGNER_2_PUBKEY='AwtmdDXDpjJnujcV4QRpL7mSrXr/rTru+oKKQNbe4v0h' +SIGNER_3_PUBKEY='ApClmSS+8M3x3lLWPdGEzd3fyVCx4jXEPrDmcXs0CRzh' +SIGNER_4_PUBKEY='A67JHk7NWw3pKfEk/DkjsAWXhqN+OeZHKS0cmdh6dSry' +SIGNER_5_PUBKEY='A2zAex39vqIQw/oxrFS/D5FemgA+N/xxDwCB7HzlPKrP' + # INDEXER START_BLOCK_HEIGHT='18734300' diff --git a/utils/generate_feegrant_messages.py b/utils/generate_feegrant_messages.py index 0dbd9b6..6f58d4e 100644 --- a/utils/generate_feegrant_messages.py +++ b/utils/generate_feegrant_messages.py @@ -23,6 +23,48 @@ rpc = os.getenv('RPC_URL', 'https://rpc.cosmos.directory:443/cosmoshub') period_duration = os.getenv('PERIOD_DURATION', '86400') +total_signers_str = os.getenv('TOTAL_SIGNERS', '5') +multisig_threshold_str = os.getenv('MULTISIG_THRESHOLD', '3') + +try: + total_signers = int(total_signers_str) + multisig_threshold = int(multisig_threshold_str) +except ValueError: + raise ValueError("Error: Invalid values for TOTAL_SIGNERS or MULTISIG_THRESHOLD in the environment variables.") + +signer_pubkeys = [ + os.getenv(f"SIGNER_{i}_PUBKEY") for i in range(1, total_signers + 1) +] + +if None in signer_pubkeys: + raise ValueError("Error: Not all signer public keys are provided.") + +# Check if the local key named multisig-relayer-feegrant exists +def check_if_key_exists(): + command = f"{daemon_name} --home {daemon_home} keys list --output json" + try: + result = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) + keys_list = json.loads(result.stdout) + return any(key.get("name") == "multisig-relayer-feegrant" for key in keys_list) + except subprocess.CalledProcessError as e: + print(f"Error running command: {e.stderr}") + return False + except json.JSONDecodeError as e: + print(f"Error parsing JSON from command output: {e.msg}") + return False + +if not check_if_key_exists(): + # Add individual signer keys to the keyring + for i, signer_pubkey in enumerate(signer_pubkeys, start=1): + signer_pubkey_json = f'{{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"{signer_pubkey}"}}' + add_signer_key_command = f"{daemon_name} --home {daemon_home} keys add ms{i} --pubkey '{signer_pubkey_json}'" + subprocess.run(add_signer_key_command, shell=True, check=True) + + # Add the multisig key + multisig_pubkeys = ",".join([f"ms{i}" for i in range(1, total_signers + 1)]) # Adjust for the number of signers + add_multisig_key_command = f"{daemon_name} --home {daemon_home} keys add multisig-relayer-feegrant --multisig {multisig_pubkeys} --multisig-threshold {multisig_threshold}" + subprocess.run(add_multisig_key_command, shell=True, check=True) + def fetch_account_data(granter_account): url = f"https://rest.cosmos.directory/cosmoshub/cosmos/auth/v1beta1/accounts/{granter_account}" response = requests.get(url) @@ -91,7 +133,7 @@ def main(): print(f" - Revocation due to either disabled status or renewal requirement.") total_gas_limit = 80000 + 40000 * (len(all_messages) + 1) - flags = f"--home '{daemon_home}' --from '{granter_account}' --chain-id '{chain_id}' --gas {total_gas_limit} --gas-prices '{gas_prices}' --node '{rpc}' --offline --output json --yes --generate-only --sequence {sequence} --account-number {account_number}" + flags = f"--home '{daemon_home}' --from multisig-relayer-feegrant --chain-id '{chain_id}' --gas {total_gas_limit} --gas-prices '{gas_prices}' --node '{rpc}' --offline --output json --yes --generate-only --sequence {sequence} --account-number {account_number}" if renew_needed or revoke_needed: revoke_command = generate_feegrant_command(granter_account, operator['address'], None, None, None, flags, revoke=True) From be11a88328aada9e73fc1962761cd2e26a50bda3 Mon Sep 17 00:00:00 2001 From: clemensgg Date: Fri, 19 Jan 2024 15:11:56 +0100 Subject: [PATCH 45/45] Fix grant checks --- utils/generate_feegrant_messages.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/generate_feegrant_messages.py b/utils/generate_feegrant_messages.py index 6f58d4e..11480bd 100644 --- a/utils/generate_feegrant_messages.py +++ b/utils/generate_feegrant_messages.py @@ -111,9 +111,9 @@ def main(): current_period_limit = feegrant.get('period_spend_limit') enabled = feegrant.get('enabled') - grant_needed = enabled and current_period_limit > 0 and active_period_limit != current_period_limit - renew_needed = enabled and (is_expiration_past(expiration) or current_period_limit != active_period_limit) - revoke_needed = not enabled or current_period_limit == 0 or renew_needed + grant_needed = enabled and current_period_limit > 0 and active_period_limit == 0 + renew_needed = enabled and (is_expiration_past(expiration) or (current_period_limit != active_period_limit and active_period_limit != 0)) + revoke_needed = (not enabled and active_period_limit != 0) or (current_period_limit == 0 and active_period_limit != 0) or renew_needed if grant_needed or renew_needed or revoke_needed: update_actions = [] @@ -166,6 +166,7 @@ def main(): def run_subprocess_command(command, all_messages): global last_tx_fields try: + print(f"[DEBUG] running command: {command}") result = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) command_output = json.loads(result.stdout.strip()) messages = command_output.get("body", {}).get("messages", [])