Skip to content

Commit

Permalink
adjust reward distribution phase for v1.1
Browse files Browse the repository at this point in the history
* hard codes genesis timestamp to v1.0 contract to preserve reward schedule
  • Loading branch information
loothero committed Mar 11, 2024
1 parent 24ca86f commit c018728
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/game/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c018728

Please sign in to comment.