From a1fcdb6ac11d3b8713387aec56feee9ea24e46c0 Mon Sep 17 00:00:00 2001 From: Hendrik Hofstadt Date: Sat, 15 Oct 2022 18:15:25 +0200 Subject: [PATCH] wormchain: fix priv validator state blocking startup (#1716) Change-Id: I2b5018d7b16653ce825dff8b3045364cb133b602 --- wormhole_chain/Makefile | 2 +- wormhole_chain/build/config/addrbook.json | 4 ---- .../gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json | 1 - wormhole_chain/build/config/node_key.json | 1 - wormhole_chain/build/data/priv_validator_state.json | 7 ------- 5 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 wormhole_chain/build/config/addrbook.json delete mode 100644 wormhole_chain/build/config/gentx/gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json delete mode 100644 wormhole_chain/build/config/node_key.json delete mode 100644 wormhole_chain/build/data/priv_validator_state.json diff --git a/wormhole_chain/Makefile b/wormhole_chain/Makefile index fe98f625e..4211ca315 100644 --- a/wormhole_chain/Makefile +++ b/wormhole_chain/Makefile @@ -20,7 +20,7 @@ validators: # These files change when the genesis file changes, so we need to make # sure to copy them over touch -m $@ - rm -f build/config/gentx/gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json + ./build/wormhole-chaind --home build/ tendermint unsafe-reset-all ./build/wormhole-chaind --home build/ gentx tiltGuardian "0uworm" --chain-id=wormholechain --min-self-delegation="0" --keyring-dir=keyring-test # Copy config to validators/first_validator diff --git a/wormhole_chain/build/config/addrbook.json b/wormhole_chain/build/config/addrbook.json deleted file mode 100644 index 3bfcd89b2..000000000 --- a/wormhole_chain/build/config/addrbook.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "key": "349a5adb08e41f09f8e0e074", - "addrs": [] -} \ No newline at end of file diff --git a/wormhole_chain/build/config/gentx/gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json b/wormhole_chain/build/config/gentx/gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json deleted file mode 100644 index 0ff17b53e..000000000 --- a/wormhole_chain/build/config/gentx/gentx-c3f474217c930af3a4e998c4e52a57cee188ff43.json +++ /dev/null @@ -1 +0,0 @@ -{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"mynode","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"0","delegator_address":"wormhole1cyyzpxplxdzkeea7kwsydadg87357qna3zg3tq","validator_address":"wormholevaloper1cyyzpxplxdzkeea7kwsydadg87357qna87hzv8","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"fnfoo/C+i+Ng1J8vct6wfvrTS9JeNIG5UeO87ZHKMkY="},"value":{"denom":"uworm","amount":"0"}}],"memo":"c3f474217c930af3a4e998c4e52a57cee188ff43@172.16.14.80:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AuwYyCUBxQiBGSUWebU46c+OrlApVsyGLHd4qhSDZeiG"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["wksmbgHHl22UKLmZK3AuSIdPxfX5+BPmvhVxHJC3wB5dzE1l0n+qmMxpbEP/wr0Xi0aC/qIszss6VxVoUmiPKw=="]} diff --git a/wormhole_chain/build/config/node_key.json b/wormhole_chain/build/config/node_key.json deleted file mode 100644 index 72b591f84..000000000 --- a/wormhole_chain/build/config/node_key.json +++ /dev/null @@ -1 +0,0 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"DTmqnA3oDbIvGv8ovgsXdtyKEow5/ryWBzr0RKi4uv4btEaX/5hbQOm2PYRKuZYG4u8ESjNCxMPut9CLVM2AEA=="}} \ No newline at end of file diff --git a/wormhole_chain/build/data/priv_validator_state.json b/wormhole_chain/build/data/priv_validator_state.json deleted file mode 100644 index b4e0df18d..000000000 --- a/wormhole_chain/build/data/priv_validator_state.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "height": "7", - "round": 0, - "step": 3, - "signature": "t5IKJ4vt040h9AYTDotLzOIWPIcPyJGttV6F17UDKnZwgqAtQRZpI1KdihUiK/ETx/TuGcjQbRZfUY5RTky5Aw==", - "signbytes": "71080211070000000000000022480A207FCFF07D9D1F96B2D2BF33205CFDA6F5F23E4CE6EB8F083241B17702DCAB725D122408011220EEE1DC12493E08AF12B7EC70E55641D2E60FF2EAF14EFE1D57BF6BDCF870997A2A0B089289C7980610FDF6CA52320D776F726D686F6C65636861696E" -} \ No newline at end of file