From 59e893c09a3f1d48786803ac26b3ad13a9e7d055 Mon Sep 17 00:00:00 2001 From: ruijialin Date: Tue, 12 Nov 2024 10:57:04 -0500 Subject: [PATCH] chore: expose calculateFee --- src/vms/pvm/index.ts | 1 + src/vms/pvm/txs/fee/index.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/vms/pvm/index.ts b/src/vms/pvm/index.ts index 063e2d988..73091b284 100644 --- a/src/vms/pvm/index.ts +++ b/src/vms/pvm/index.ts @@ -1,6 +1,7 @@ export * from './builder'; export * from './models'; export * from './api'; +export * from './txs/fee'; // Exposed Etna builder functions under `e` namespace export * as e from './etna-builder'; diff --git a/src/vms/pvm/txs/fee/index.ts b/src/vms/pvm/txs/fee/index.ts index 12752c769..6354e7c5c 100644 --- a/src/vms/pvm/txs/fee/index.ts +++ b/src/vms/pvm/txs/fee/index.ts @@ -22,3 +22,5 @@ export { getBytesComplexity, getConvertSubnetValidatorsComplexity, } from './complexity'; + +export { calculateFee } from './calculator';