Skip to content

Commit

Permalink
roll back
Browse files Browse the repository at this point in the history
  • Loading branch information
joezhou618 committed Jun 22, 2024
1 parent fd55627 commit 2f1e665
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 77 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ fuzz_debug.json
/.idea
/yarn.lock
/package-lock.json
/json
14 changes: 0 additions & 14 deletions contracts/SmeMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,6 @@ contract SmeMarket is Ownable, ReentrancyGuard, ConsiderationBase {
return requestId;
}

event TestOrderEvent(AdvancedOrder[] advancedOrders );

function testOrderEvent(
AdvancedOrder[] calldata,
uint256[] calldata premiumOrdersIndex,
address[] calldata recipients,
uint32 numWords
) external {
AdvancedOrder[] memory advancedOrders =
_toAdvancedOrdersReturnType(_decodeAdvancedOrders)(CalldataStart.pptr());

emit TestOrderEvent(advancedOrders);
}

function cancelPrepared(uint256 requestId, AdvancedOrder[] calldata orders) external {
bytes32[] memory existingOrderHahes = originalOrderHashes[requestId];
uint256 orderSize = orders.length;
Expand Down
19 changes: 0 additions & 19 deletions json/arb.json

This file was deleted.

22 changes: 0 additions & 22 deletions json/arbitrum_sepolia.json

This file was deleted.

22 changes: 0 additions & 22 deletions json/sepolia.json

This file was deleted.

0 comments on commit 2f1e665

Please sign in to comment.