diff --git a/modules/allowances/contracts/test/ISafe.sol b/modules/allowances/contracts/test/ISafe.sol index 25ec8df5..3df5a512 100644 --- a/modules/allowances/contracts/test/ISafe.sol +++ b/modules/allowances/contracts/test/ISafe.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: LGPL-3.0-only pragma solidity >=0.8.0 <0.9.0; -interface ITestSafe { +interface ISafeTest { function getThreshold() external view returns (uint256); function getChainId() external view returns (uint256); diff --git a/modules/allowances/test/test-helpers/execSafeTransaction.ts b/modules/allowances/test/test-helpers/execSafeTransaction.ts index 5ccc380b..f27d7d69 100644 --- a/modules/allowances/test/test-helpers/execSafeTransaction.ts +++ b/modules/allowances/test/test-helpers/execSafeTransaction.ts @@ -1,9 +1,9 @@ import { SignerWithAddress } from '@nomicfoundation/hardhat-ethers/signers' import { TransactionRequest, ZeroAddress } from 'ethers' -import { ITestSafe } from '../../typechain-types' +import { ISafeTest } from '../../typechain-types' -export default async function execSafeTransaction(safe: ITestSafe, { to, data, value = 0 }: TransactionRequest, signer: SignerWithAddress) { +export default async function execSafeTransaction(safe: ISafeTest, { to, data, value = 0 }: TransactionRequest, signer: SignerWithAddress) { const address = await safe.getAddress() const chainId = await safe.getChainId() const nonce = await safe.nonce() diff --git a/modules/allowances/test/test-helpers/setup.ts b/modules/allowances/test/test-helpers/setup.ts index ff15bbdd..7e4096b4 100644 --- a/modules/allowances/test/test-helpers/setup.ts +++ b/modules/allowances/test/test-helpers/setup.ts @@ -1,7 +1,7 @@ import { SignerWithAddress } from '@nomicfoundation/hardhat-ethers/signers' import hre from 'hardhat' -import { AllowanceModule__factory, ITestSafe__factory, TestToken, TestToken__factory } from '../../typechain-types' +import { AllowanceModule__factory, ISafeTest__factory, TestToken, TestToken__factory } from '../../typechain-types' import deploySafeProxy from './deploySafeProxy' import deploySingletons from './deploySingletons' @@ -18,7 +18,7 @@ export default async function setup() { // both the safe and the allowance work by signature // connect the contracts to a signer that has funds // but isn't safe owner, or allowance spender - const safe = ITestSafe__factory.connect(safeAddress, relayer) + const safe = ISafeTest__factory.connect(safeAddress, relayer) const allowanceModule = AllowanceModule__factory.connect(allowanceModuleAddress, relayer) // fund the safe