Skip to content

Commit

Permalink
fix: expose calculateFee (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruijialin-avalabs authored Nov 13, 2024
1 parent f25ea16 commit 7900273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vms/pvm/index.ts
Original file line number Diff line number Diff line change
@@ -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';
2 changes: 2 additions & 0 deletions src/vms/pvm/txs/fee/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ export {
getBytesComplexity,
getConvertSubnetValidatorsComplexity,
} from './complexity';

export { calculateFee } from './calculator';

0 comments on commit 7900273

Please sign in to comment.