From 336d81bb46fdfa3b5aaa2d6813cfd202dae01e64 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 26 Jun 2024 15:12:55 +0100 Subject: [PATCH] chore: update `alocDependentCost` to a HeavyOperation --- packages/account/test/fixtures/chain.ts | 4 ++-- packages/fuels/test/fixtures/project/.fuels/chainConfig.json | 4 ++-- packages/utils/src/utils/defaultSnapshots/chainConfig.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/account/test/fixtures/chain.ts b/packages/account/test/fixtures/chain.ts index 3be91c9af35..19ba34ae30f 100644 --- a/packages/account/test/fixtures/chain.ts +++ b/packages/account/test/fixtures/chain.ts @@ -140,9 +140,9 @@ export const MOCK_CHAIN: GqlChainInfoFragment = { xor: '1', xori: '1', alocDependentCost: { - type: 'LightOperation', + type: 'HeavyOperation', base: '2', - unitsPerGas: '214', + gasPerUnit: '0', }, cfe: { type: 'HeavyOperation', diff --git a/packages/fuels/test/fixtures/project/.fuels/chainConfig.json b/packages/fuels/test/fixtures/project/.fuels/chainConfig.json index 98f9c29c1a9..2977a19e76f 100644 --- a/packages/fuels/test/fixtures/project/.fuels/chainConfig.json +++ b/packages/fuels/test/fixtures/project/.fuels/chainConfig.json @@ -130,9 +130,9 @@ "xor": 2, "xori": 2, "alocDependentCost": { - "LightOperation": { + "HeavyOperation": { "base": 2, - "unitsPerGas": 214 + "gasPerUnit": 0 } }, "cfe": { diff --git a/packages/utils/src/utils/defaultSnapshots/chainConfig.json b/packages/utils/src/utils/defaultSnapshots/chainConfig.json index 563a7286278..e4ea2be7c8d 100644 --- a/packages/utils/src/utils/defaultSnapshots/chainConfig.json +++ b/packages/utils/src/utils/defaultSnapshots/chainConfig.json @@ -130,9 +130,9 @@ "xor": 2, "xori": 2, "alocDependentCost": { - "LightOperation": { + "HeavyOperation": { "base": 2, - "unitsPerGas": 214 + "gasPerUnit": 0 } }, "cfe": {