From c018728f6c5944239ecfadec20c8cf201b904b37 Mon Sep 17 00:00:00 2001 From: loothero Date: Mon, 11 Mar 2024 04:56:35 +0000 Subject: [PATCH] adjust reward distribution phase for v1.1 * hard codes genesis timestamp to v1.0 contract to preserve reward schedule --- contracts/game/src/lib.cairo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/game/src/lib.cairo b/contracts/game/src/lib.cairo index ffbb31f0d..837b7f346 100644 --- a/contracts/game/src/lib.cairo +++ b/contracts/game/src/lib.cairo @@ -166,7 +166,9 @@ mod Game { self._collectible_beasts.write(collectible_beasts); self._terminal_timestamp.write(terminal_timestamp); self._genesis_block.write(starknet::get_block_info().unbox().block_number.into()); - self._genesis_timestamp.write(starknet::get_block_info().unbox().block_timestamp.into()); + + // Use genesis timestamp from LSV1.0 to preserve same reward distribution schedule for V1.1 + self._genesis_timestamp.write(1699552291); // set the golden token address self._golden_token.write(golden_token_address);