Skip to content

Commit

Permalink
Merge pull request #576 from BibliothecaDAO/change-testnet-to-sepolia
Browse files Browse the repository at this point in the history
change testnet from goerli to sepolia
  • Loading branch information
ponderingdemocritus authored Apr 27, 2024
2 parents 92b945b + 19b018d commit 3f8faa8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/game/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod Game {
use core::starknet::SyscallResultTrait;
const TEST_ENTROPY: u64 = 12303548;
const MAINNET_CHAIN_ID: felt252 = 0x534e5f4d41494e;
const GOERLI_CHAIN_ID: felt252 = 0x534e5f474f45524c49;
const SEPOLIA_CHAIN_ID: felt252 = 0x534e5f5345504f4c4941;
const MINIMUM_SCORE_FOR_PAYOUTS: u16 = 200;
const LOOT_NAME_STORAGE_INDEX_1: u8 = 0;
const LOOT_NAME_STORAGE_INDEX_2: u8 = 1;
Expand Down Expand Up @@ -2472,7 +2472,7 @@ mod Game {
let chain_id = starknet::get_execution_info().unbox().tx_info.unbox().chain_id;
if chain_id == MAINNET_CHAIN_ID {
_get_mainnet_entropy(adventurer_id, start_block)
} else if chain_id == GOERLI_CHAIN_ID {
} else if chain_id == SEPOLIA_CHAIN_ID {
_get_testnet_entropy(adventurer_id, start_block)
} else {
_get_basic_entropy(adventurer_id, start_block)
Expand Down Expand Up @@ -3030,7 +3030,7 @@ mod Game {
let chain_id = starknet::get_execution_info().unbox().tx_info.unbox().chain_id;
if chain_id == MAINNET_CHAIN_ID {
_get_mainnet_entropy(adventurer_id, start_block)
} else if chain_id == GOERLI_CHAIN_ID {
} else if chain_id == SEPOLIA_CHAIN_ID {
_get_testnet_entropy(adventurer_id, start_block)
} else {
_get_basic_entropy(adventurer_id, start_block)
Expand Down

0 comments on commit 3f8faa8

Please sign in to comment.