From 2c47ccccd9d44cfc1af8d67267e2000b9096b9ee Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Fri, 4 Oct 2024 15:23:17 +0800 Subject: [PATCH] Update ProverSet.sol --- packages/protocol/contracts/layer1/provers/ProverSet.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/protocol/contracts/layer1/provers/ProverSet.sol b/packages/protocol/contracts/layer1/provers/ProverSet.sol index 88817329a00..d710f635bf6 100644 --- a/packages/protocol/contracts/layer1/provers/ProverSet.sol +++ b/packages/protocol/contracts/layer1/provers/ProverSet.sol @@ -58,9 +58,6 @@ contract ProverSet is EssentialContract, IERC1271 { IERC20(tkoToken()).approve(taikoL1(), type(uint256).max); } - /// @notice Receives ETH as fees. - receive() external payable { } - function approveAllowance(address _address, uint256 _allowance) external onlyOwner { IERC20(tkoToken()).approve(_address, _allowance); } @@ -89,7 +86,6 @@ contract ProverSet is EssentialContract, IERC1271 { bytes calldata _txList ) external - payable onlyProver { ITaikoL1(taikoL1()).proposeBlockV2(_params, _txList); @@ -101,7 +97,6 @@ contract ProverSet is EssentialContract, IERC1271 { bytes[] calldata _txListArr ) external - payable onlyProver { ITaikoL1(taikoL1()).proposeBlocksV2(_paramsArr, _txListArr);