From 40e67ffca2e6d893e2bcd14a12c7c9e383003305 Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Tue, 17 Sep 2024 04:25:26 +0200 Subject: [PATCH] fix: use genesis init data for masterchef (#40) --- utils/update-genesis.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/update-genesis.go b/utils/update-genesis.go index 029353a..45e3949 100644 --- a/utils/update-genesis.go +++ b/utils/update-genesis.go @@ -137,6 +137,9 @@ func UpdateGenesis(validatorBalance, homePath, genesisFilePath string) { // update stablestake // genesis.AppState.StableStake = genesisInit.AppState.StableStake + // update masterchef + genesis.AppState.Masterchef = genesisInit.AppState.Masterchef + // temporary fix // genesis.InitialHeight = "0"