Skip to content

Commit

Permalink
add minimal fee in NetworkInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Aug 1, 2024
1 parent d06a374 commit 8fd3995
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/provider/web3Provider/web3Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class Web3Provider extends SCProvider implements Provider {
name,
chainId,
url: this.client.connector.transport.uri,
minimalFee: await this.client.getMinimalFee(),
}
}

Expand Down
1 change: 1 addition & 0 deletions src/utils/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export type Network = {
name: NetworkName | string
chainId: bigint
url?: string
minimalFee: bigint
}

1 comment on commit 8fd3995

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for experimental massa-web3

St.
Category Percentage Covered / Total
🟡 Statements 68.1% 1123/1649
🔴 Branches 48.97% 191/390
🔴 Functions 53.15% 211/397
🟡 Lines 68.4% 1115/1630

Test suite run success

130 tests passing in 13 suites.

Report generated by 🧪jest coverage report action from 8fd3995

Please sign in to comment.