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 12b5aac commit 6ea2546
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/zkbob/manager/MPCWrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ contract MPCWrapper is Ownable, CustomABIDecoder {

// Call the implementation.
// out and outsize are 0 because we don't know the size yet.
let result := delegatecall(gas(), contractAddress, 0, calldatasize(), 0, 0)
let result := call(gas(), contractAddress, 0, 0,calldatasize(), 0, 0)

// Copy the returned data.
returndatacopy(0, 0, returndatasize())
Expand Down
1 change: 0 additions & 1 deletion test/zkbob/manager/MPCWrapper.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ contract MPCOperatorManagerTest is
console2.logBytes32(digest);
(uint8 v, bytes32 r, bytes32 s) = vm.sign(key, digest);
signatureData = abi.encodePacked(
data,
r,
uint256(s) + (v == 28 ? (1 << 255) : 0)
);
Expand Down

0 comments on commit 6ea2546

Please sign in to comment.