Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r0wdy1 committed Dec 13, 2023
1 parent 9f3a9c2 commit 12b5aac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion test/zkbob/ZkBobPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import "../mocks/DummyImpl.sol";
import "../../src/proxy/EIP1967Proxy.sol";
import "../../src/zkbob/ZkBobPool.sol";
import "../../src/zkbob/ZkBobDirectDepositQueue.sol";
import "../../src/zkbob/manager/MPCOperatorManager.sol";
import "../../src/zkbob/manager/MPCWrapper.sol";
import "../../src/zkbob/manager/MutableOperatorManager.sol";
import "../../src/zkbob/manager/kyc/SimpleKYCProviderManager.sol";
Expand Down
24 changes: 1 addition & 23 deletions test/zkbob/manager/MPCWrapper.t.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.8.15;
import "forge-std/Test.sol";
import "../../../src/zkbob/manager/MPCOperatorManager.sol";

import "../ZkBobPool.t.sol";
import "../../shared/Env.t.sol";

Expand All @@ -25,28 +25,6 @@ contract MPCOperatorManagerTest is
precision = 1_000_000_000;
}

function testIsOperator() public {
address operator = makeAddr("operator");
MPCOperatorManager _manager = new MPCOperatorManager(
operator,
operator,
"_"
);
_manager.transferOwnership(operator);

// (address signer1Addr, uint256 signer1Key) = makeAddrAndKey("signer1");
// (address signer2Addr, uint256 signer2Key) = makeAddrAndKey("signer2");
// signers.push(signer1Addr);
// signers.push(signer2Addr);
// vm.prank(operator);
// _manager.setSigners(signers);

// bytes memory data = _encodeDeposit(1 ether, 0.1 ether);
// data = abi.encodePacked(data, uint8(2));
// data = appendSignature(data, signer1Key);
// data = appendSignature(data, signer2Key);
}

function testTransact() public {
bytes memory data = _encodeDeposit(1 ether, 0.1 ether); //752
// data = abi.encodePacked(data, ); //753
Expand Down

0 comments on commit 12b5aac

Please sign in to comment.