mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 01:50:44 +00:00
Allow off-chain signing and collectibles with 1.0.0 safes (#1966)
This commit is contained in:
parent
760a2a2b0f
commit
f4f79f0303
@ -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<string> => {
|
||||
let signature
|
||||
|
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user