Skip to content

Commit

Permalink
update chain
Browse files Browse the repository at this point in the history
  • Loading branch information
SuQiang2007 committed Nov 29, 2023
1 parent ad2045c commit b92a66b
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 26 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/client/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


<link rel="icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApZiTOaCWjpytpqDVt7Kq77ayrfCwpKLWoZePnqWZlDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAppyUmbu0r//k4eD/+Pj5//T09P/z8/T/9fX1/+Tj4f+8trH/ppyWngAAAAAAAAAAAAAAAAAAAAAAAAAAqqKewdLPzP///////f///5SNhv+Xjoj/n5aP/6aemf/4+fr//////9XSz/+tpJ7IAAAAAAAAAAAAAAAAsKijmdnW1f///////Pv8/4uBev+Lgnv/0s/M/8vGw/+EeHH/k4iD//X19f//////3NnY/7CnoqMAAAAAt7GrK87Kxv//////9vb2/4l/eP+gmpT/////////////////8fDw/5SKhP+cko7/8/Ly///////Qy8j/ua+qM7+5tJ3t7Ov//////7awrP9lWVD/8PDv///////09PT/9fX1//////+/u7f/a15W/6ihnf/+/v7/8/Ly/8C6tafPzcjc+vr7//////+noJv/pZ6Y///////4+Pj/9vb2//b29v//////1dLQ/25iWf+up6L/+/v8//7////Rz8ng2tbU9v7/////////qKCb/7Cqpf//////+Pj4//f39//39/f///////Py8v+FenP/y8bE///////8/f7/29jY9d7b2vX//////////7iyrv9+cmr/8fDv///////4+Pj/+Pj4///////d2tn/g3dw/9nW1P///////v///+Dd2/Xf393a/v7+//r6+v/19PT/qaGc/7Krpv//////+vr6//7+/v/9/f3/joV9/4F1bf/u7e3///////7+/v/j4Nvf39zXmvn4+P/8/Pz///////38/P+qopz/5uTj////////////vri0/3xwZ//Iw8D/+/v7///////6+fn/3tvbpN7e1yfx7+////////r6+v//////5uTi/8nEwP//////6Obk/4d8c//b2NX///////v7+///////8fDw/97Z2S8AAAAA6Obkkvz8+////////Pz8///////p5+b/8fDv/62knv/NyMX//////////////////Pz8/+jm5Z0AAAAAAAAAAAAAAADu7uq6/v7+/////////////////8jCvv/JxMD//////////////////v7+/+/s7MAAAAAAAAAAAAAAAAAAAAAAAAAAAPLy8pD7+/v///////z8/P/m5OL//////////////////Pv7//Pz8ZYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9PT0Mfn5+JP6+vrQ/Pz87/z8/O/7+/vS+Pj4lvX19TUAAAAAAAAAAAAAAAAAAAAA8A8AAOAHAADAAwAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAMADAADgBwAA8A8AAA=="/>
<script type="module" crossorigin src="/assets/index-19c1a354.js"></script>
<script type="module" crossorigin src="/assets/index-56766acc.js"></script>
<link rel="stylesheet" href="/assets/index-922bc049.css">
</head>
<body>
Expand Down
12 changes: 6 additions & 6 deletions packages/contracts/src/systems/GameFlowSystem.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ contract GameFlowSystem is System {

// //Trade
// AssetsList.deleteRecord(tmpPlayer);
// UnsolicitedTransaction.deleteRecord(tmpPlayer);
// PassiveTransaction.deleteRecord(tmpPlayer);
// TradeList.deleteRecord(tmpPlayer);
// TransactionList.deleteRecord(tmpPlayer);
// RaiseColddown.deleteRecord(tmpPlayer);
UnsolicitedTransaction.deleteRecord(tmpPlayer);
PassiveTransaction.deleteRecord(tmpPlayer);
TradeList.deleteRecord(tmpPlayer);
TransactionList.deleteRecord(tmpPlayer);
RaiseColddown.deleteRecord(tmpPlayer);

// //
//
HasDebt.deleteRecord(tmpPlayer);
Debt.deleteRecord(tmpPlayer);
}
Expand Down
14 changes: 7 additions & 7 deletions packages/contracts/src/systems/LobbySystem.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ contract LobbySystem is System {
function clearComs(bytes32 tmpPlayer) private {
//Trade
AssetsList.deleteRecord(tmpPlayer);
UnsolicitedTransaction.deleteRecord(tmpPlayer);
PassiveTransaction.deleteRecord(tmpPlayer);
TradeList.deleteRecord(tmpPlayer);
TransactionList.deleteRecord(tmpPlayer);
RaiseColddown.deleteRecord(tmpPlayer);
// UnsolicitedTransaction.deleteRecord(tmpPlayer);
// PassiveTransaction.deleteRecord(tmpPlayer);
// TradeList.deleteRecord(tmpPlayer);
// TransactionList.deleteRecord(tmpPlayer);
// RaiseColddown.deleteRecord(tmpPlayer);

//
HasDebt.deleteRecord(tmpPlayer);
Debt.deleteRecord(tmpPlayer);
// HasDebt.deleteRecord(tmpPlayer);
// Debt.deleteRecord(tmpPlayer);
}

//A player think the game is about to start, ask himself's game info
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/worlds.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"4242": {
"address": "0x0e8D6AC5641ec34b52Ef42B0b37A44530AAcae48",
"blockNumber": 31480005
"address": "0xe119348C6C50228Ab826cd51cB08Bbb9660D816A",
"blockNumber": 31539590
},
"17001": {
"address": "0x2D6E6A6430F0121d6949D743DF54730b40C5c74F",
Expand Down

0 comments on commit b92a66b

Please sign in to comment.