Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Sep 24, 2024
1 parent cabe349 commit b98b0d9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions v2/contracts/zevm/GatewayZEVM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";

import "forge-std/console.sol";

/// @title GatewayZEVM
/// @notice The GatewayZEVM contract is the endpoint to call smart contracts on omnichain.
/// @dev The contract doesn't hold any funds and should never have active allowances.
Expand Down Expand Up @@ -364,7 +362,6 @@ contract GatewayZEVM is
nonReentrant
whenNotPaused
{
console.log(msg.sender);
_call(receiver, zrc20, message, CallOptions({ gasLimit: gasLimit, isArbitraryCall: true }), revertOptions);
}

Expand All @@ -377,7 +374,6 @@ contract GatewayZEVM is
)
internal
{
console.log(msg.sender);
if (receiver.length == 0) revert ZeroAddress();
if (message.length == 0) revert EmptyMessage();

Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/gatewayevmzevm.t.sol/gatewayevmzevmtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayzevm.sol/gatewayzevm.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayzevm.t.sol/gatewayzevminboundtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayzevm.t.sol/gatewayzevmoutboundtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/zrc20.t.sol/zrc20test.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/types/factories/GatewayZEVM__factory.ts

Large diffs are not rendered by default.

0 comments on commit b98b0d9

Please sign in to comment.