Skip to content

Commit

Permalink
Merge branch 'feat-mvp' of tiankonglan.github.com:Mississippi-Labs/mi…
Browse files Browse the repository at this point in the history
…ssissippi into feat-mvp
  • Loading branch information
lewis committed Nov 9, 2023
2 parents 0b1ae16 + 04e71a5 commit 9bccbb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/src/systems/BoxSystem.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ contract BoxSystem is System {
require(msg.sender == _box.owner, "The box is waiting for its opener, please wait");
}

console.log(" box oreBalance , treasureBalance ", _box.oreBalance, _box.treasureBalance);
console.log("box oreBalance , treasureBalance ", _box.oreBalance, _box.treasureBalance);
require(_oreAmount <= _box.oreBalance && _treasureAmount <= _box.treasureBalance, "Invalid amount");
// check player strength
require(Player.getOreBalance(_box.owner) + _oreAmount < Player.getStrength(msg.sender), "Not enough strength");
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/worlds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"blockNumber": 29582781
},
"31337": {
"address": "0x06C1aAfcE623554950bc49c28B64398D0Eb5fa34"
"address": "0x60b886a32B2dC612532a6E0ADF62ACd9093D0EDF"
},
"33784": {
"address": "0x2a810409872AfC346F9B5b26571Fd6eC42EA4849",
Expand Down

0 comments on commit 9bccbb0

Please sign in to comment.