From ed4a1a2b85a0e1283ceb2142af64a1d74080d940 Mon Sep 17 00:00:00 2001 From: CallumGrindle Date: Tue, 12 Sep 2023 08:51:57 +0200 Subject: [PATCH] fix: use default SC version --- src/lib/helpers/config.helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/helpers/config.helper.ts b/src/lib/helpers/config.helper.ts index 6b3aa81f..55f852dd 100644 --- a/src/lib/helpers/config.helper.ts +++ b/src/lib/helpers/config.helper.ts @@ -1,6 +1,7 @@ import { Permissions } from '@erc725/erc725.js/build/main/src/types/Method'; import { keccak256 } from '@ethersproject/keccak256'; import { toUtf8Bytes } from '@ethersproject/strings'; +import { version as lspSmartContractsVersion } from '@lukso/lsp-smart-contracts/package.json'; import { Options } from 'ipfs-http-client'; import { UploadOptions } from '../interfaces/profile-upload-options'; @@ -59,7 +60,7 @@ export const DEFAULT_PERMISSIONS: Permissions = { REENTRANCY: true, }; -export const DEFAULT_CONTRACT_VERSION = '0.10.3'; +export const DEFAULT_CONTRACT_VERSION = lspSmartContractsVersion; export const GAS_PRICE = 10_000_000_000; export const GAS_BUFFER = 100_000;