@atomiqlabs/chain-starknet 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ function starknetGasAdd(a, b) {
13
13
  }
14
14
  exports.starknetGasAdd = starknetGasAdd;
15
15
  class StarknetFees {
16
- constructor(provider, maxFeeRate = { l1GasCost: 1000000000000000n, l2GasCost: 1000000000000000n, l1DataGasCost: 1000000000000000n } /*100 * 10000 GWei*/, feeMultiplier = 1.25, da) {
16
+ constructor(provider, maxFeeRate = { l1GasCost: 20000000000000000n, l2GasCost: 4000000000000000n, l1DataGasCost: 10000000000000000n }, feeMultiplier = 1.25, da) {
17
17
  this.logger = (0, Utils_1.getLogger)("StarknetFees: ");
18
18
  this.blockFeeCache = null;
19
19
  this.provider = provider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-starknet",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "Starknet specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -41,7 +41,7 @@ export class StarknetFees {
41
41
 
42
42
  constructor(
43
43
  provider: Provider,
44
- maxFeeRate: StarknetFeeRate = {l1GasCost: 1_000_000_000_000_000n, l2GasCost: 1_000_000_000_000_000n, l1DataGasCost: 1_000_000_000_000_000n} /*100 * 10000 GWei*/,
44
+ maxFeeRate: StarknetFeeRate = {l1GasCost: 20_000_000_000_000_000n, l2GasCost: 4_000_000_000_000_000n, l1DataGasCost: 10_000_000_000_000_000n},
45
45
  feeMultiplier: number = 1.25,
46
46
  da?: {fee?: "L1" | "L2", nonce?: "L1" | "L2"}
47
47
  ) {