Skip to content

Commit

Permalink
comment out metadata tests and set starting gold to stock setting
Browse files Browse the repository at this point in the history
  • Loading branch information
loothero committed Mar 10, 2024
1 parent 59ee3ca commit 1e2eb6e
Show file tree
Hide file tree
Showing 3 changed files with 527 additions and 537 deletions.
12 changes: 1 addition & 11 deletions contracts/adventurer/src/constants/adventurer_constants.cairo
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
// Starting Setting

// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// TODO: DO NOT MERGE WITH THIS CONFIGURATION
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
const STARTING_GOLD: u16 = 511;
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// TODO: DO NOT MERGE WITH THIS CONFIGURATION
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


const STARTING_GOLD: u16 = 25;
const STARTING_HEALTH: u16 = 100;


// Adventurer Max Values
const MAX_ADVENTURER_HEALTH: u16 = 511; // 9 bits
const MAX_XP: u16 = 16383; // 14 bits
Expand Down
2 changes: 1 addition & 1 deletion contracts/adventurer/src/item_meta.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ mod tests {
}

#[test]
#[available_gas(4000000)]
#[available_gas(40000000)]
fn test_set_metadata_id() {
// start test with a new adventurer wielding a wand
let mut adventurer = ImplAdventurer::new(ItemId::Wand);
Expand Down
Loading

0 comments on commit 1e2eb6e

Please sign in to comment.