From c3c48d0e98397d8da80a4465a8150f841823d5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Dan?= Date: Tue, 12 Sep 2023 10:34:55 +0200 Subject: [PATCH] fix: set gas limit in register subnet script (#109) --- package.json | 2 +- scripts/register-subnet.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9d839b4..970c1eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@topos-protocol/topos-smart-contracts", - "version": "1.2.1", + "version": "1.2.2", "description": "Topos Smart Contracts", "repository": { "type": "git", diff --git a/scripts/register-subnet.ts b/scripts/register-subnet.ts index 45e0558..d07e44b 100644 --- a/scripts/register-subnet.ts +++ b/scripts/register-subnet.ts @@ -102,7 +102,8 @@ const main = async function (...args: string[]) { subnetName, subnetId, subnetCurrencySymbol, - subnetChainId + subnetChainId, + { gasLimit: 4_000_000 } ) await tx