From f4f79f0303d603874499911ba27539eed430f7be Mon Sep 17 00:00:00 2001 From: Richard Meissner Date: Mon, 8 Mar 2021 09:58:02 +0100 Subject: [PATCH] Allow off-chain signing and collectibles with 1.0.0 safes (#1966) --- src/logic/safe/transactions/offchainSigner/index.ts | 2 +- src/logic/safe/utils/safeVersion.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logic/safe/transactions/offchainSigner/index.ts b/src/logic/safe/transactions/offchainSigner/index.ts index 08e04803..4a1e3b6b 100644 --- a/src/logic/safe/transactions/offchainSigner/index.ts +++ b/src/logic/safe/transactions/offchainSigner/index.ts @@ -17,7 +17,7 @@ const SIGNERS = { const getSignersByWallet = (isHW) => isHW ? [SIGNERS.ETH_SIGN] : [SIGNERS.EIP712_V3, SIGNERS.EIP712_V4, SIGNERS.EIP712, SIGNERS.ETH_SIGN] -export const SAFE_VERSION_FOR_OFFCHAIN_SIGNATURES = '>=1.1.1' +export const SAFE_VERSION_FOR_OFFCHAIN_SIGNATURES = '>=1.0.0' export const tryOffchainSigning = async (safeTxHash: string, txArgs, isHW: boolean): Promise => { let signature diff --git a/src/logic/safe/utils/safeVersion.ts b/src/logic/safe/utils/safeVersion.ts index 1c085225..116d2068 100644 --- a/src/logic/safe/utils/safeVersion.ts +++ b/src/logic/safe/utils/safeVersion.ts @@ -14,7 +14,7 @@ type FeatureConfigByVersion = { } const FEATURES_BY_VERSION: FeatureConfigByVersion[] = [ - { name: FEATURES.ERC721, validVersion: '>=1.1.1' }, + { name: FEATURES.ERC721 }, { name: FEATURES.ERC1155, validVersion: '>=1.1.1' }, { name: FEATURES.SAFE_APPS }, { name: FEATURES.CONTRACT_INTERACTION },