Skip to content

Commit

Permalink
contracts: realm leveling update
Browse files Browse the repository at this point in the history
  • Loading branch information
credence0x committed Sep 27, 2024
1 parent 53a26e7 commit 5fff80f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion contracts/scripts/system_models.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"ProductionOutput",
"DetachedResource",
"ResourceCost",
"TravelStaminaCostConfig"
"TravelStaminaCostConfig",
"RealmLevelConfig"
],
"DEV_RESOURCE_SYSTEMS": ["Resource", "OwnedResourcesTracker", "Production"],
"DEV_BANK_SYSTEMS": ["Tile", "Position", "Owner", "Bank", "Structure", "StructureCount", "CapacityCategory"],
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/systems/realm/tests.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn test_upgrade_level_success() {

#[test]
#[available_gas(3000000000000)]
#[should_panic(expected: ('Caller is not the owner', 'ENTRYPOINT_FAILED'))]
#[should_panic(expected: ('Not Owner', 'ENTRYPOINT_FAILED'))]
fn test_upgrade_level_not_owner() {
let (world, realm_systems_dispatcher) = setup();

Expand Down

0 comments on commit 5fff80f

Please sign in to comment.