Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45994e9
commit ee4ae73
Showing
4 changed files
with
103 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity ^0.8.0; | ||
|
||
import { ProtocolBase } from "../protocol/bases/ProtocolBase.sol"; | ||
|
||
/** | ||
* @title MockMetaTransactionsHandlerFacet | ||
* | ||
* @notice Handles meta-transaction requests | ||
*/ | ||
contract MockMetaTransactionsHandlerFacet is ProtocolBase { | ||
/** | ||
* @notice Sets the cached chain id value. | ||
* | ||
* @param _chainId - chain id | ||
*/ | ||
function setCachedChainId(uint256 _chainId) public { | ||
protocolMetaTxInfo().cachedChainId = _chainId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters