gethstorage-sdk 5.0.3 → 5.0.4

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.
@@ -29,7 +29,7 @@ declare const DEFAULT_PRIORITY_FEE_PER_GAS: bigint;
29
29
  /**
30
30
  * Fraction applied to the latest-block base fee when deriving the default
31
31
  * maxFeePerGas: baseFee * NUMERATOR / DENOMINATOR + priority fee.
32
- * 11/10 = 1.1x, leaving headroom for one ~10% base-fee increase between blocks.
32
+ * 12/10 = 1.2x, leaving headroom for one ~20% base-fee increase between blocks.
33
33
  */
34
34
  declare const BASE_FEE_MULTIPLIER_NUMERATOR: bigint;
35
35
  declare const BASE_FEE_MULTIPLIER_DENOMINATOR: bigint;
@@ -226,8 +226,8 @@ declare class TxSender {
226
226
  * taken from the node unless overridden via custom.gasPrice.
227
227
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
228
228
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
229
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
230
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
229
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
230
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
231
231
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
232
232
  * price actually charged per gas unit.
233
233
  */
@@ -236,8 +236,8 @@ var CONTRACT_MAX_CHUNK_SIZE = (4 * 31 + 3) * 1024 - 4;
236
236
  var MAX_CHUNKS = 100;
237
237
  var CALLDATA_CHUNK_OVERHEAD = 326;
238
238
  var DEFAULT_MAX_CHUNK_SIZE_KB = 64;
239
- var DEFAULT_PRIORITY_FEE_PER_GAS = 100n;
240
- var BASE_FEE_MULTIPLIER_NUMERATOR = 11n;
239
+ var DEFAULT_PRIORITY_FEE_PER_GAS = 150n;
240
+ var BASE_FEE_MULTIPLIER_NUMERATOR = 12n;
241
241
  var BASE_FEE_MULTIPLIER_DENOMINATOR = 10n;
242
242
  var LEGACY_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([56, 97]);
243
243
  var AVALANCHE_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([43114, 43113]);
@@ -283,8 +283,8 @@ var TxSender = class {
283
283
  * taken from the node unless overridden via custom.gasPrice.
284
284
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
285
285
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
286
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
287
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
286
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
287
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
288
288
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
289
289
  * price actually charged per gas unit.
290
290
  */
@@ -281,8 +281,8 @@ var CONTRACT_MAX_CHUNK_SIZE = (4 * 31 + 3) * 1024 - 4;
281
281
  var MAX_CHUNKS = 100;
282
282
  var CALLDATA_CHUNK_OVERHEAD = 326;
283
283
  var DEFAULT_MAX_CHUNK_SIZE_KB = 64;
284
- var DEFAULT_PRIORITY_FEE_PER_GAS = 100n;
285
- var BASE_FEE_MULTIPLIER_NUMERATOR = 11n;
284
+ var DEFAULT_PRIORITY_FEE_PER_GAS = 150n;
285
+ var BASE_FEE_MULTIPLIER_NUMERATOR = 12n;
286
286
  var BASE_FEE_MULTIPLIER_DENOMINATOR = 10n;
287
287
  var LEGACY_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([56, 97]);
288
288
  var AVALANCHE_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([43114, 43113]);
@@ -328,8 +328,8 @@ var TxSender = class {
328
328
  * taken from the node unless overridden via custom.gasPrice.
329
329
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
330
330
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
331
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
332
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
331
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
332
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
333
333
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
334
334
  * price actually charged per gas unit.
335
335
  */
@@ -29,7 +29,7 @@ declare const DEFAULT_PRIORITY_FEE_PER_GAS: bigint;
29
29
  /**
30
30
  * Fraction applied to the latest-block base fee when deriving the default
31
31
  * maxFeePerGas: baseFee * NUMERATOR / DENOMINATOR + priority fee.
32
- * 11/10 = 1.1x, leaving headroom for one ~10% base-fee increase between blocks.
32
+ * 12/10 = 1.2x, leaving headroom for one ~20% base-fee increase between blocks.
33
33
  */
34
34
  declare const BASE_FEE_MULTIPLIER_NUMERATOR: bigint;
35
35
  declare const BASE_FEE_MULTIPLIER_DENOMINATOR: bigint;
@@ -226,8 +226,8 @@ declare class TxSender {
226
226
  * taken from the node unless overridden via custom.gasPrice.
227
227
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
228
228
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
229
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
230
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
229
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
230
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
231
231
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
232
232
  * price actually charged per gas unit.
233
233
  */
@@ -29,7 +29,7 @@ declare const DEFAULT_PRIORITY_FEE_PER_GAS: bigint;
29
29
  /**
30
30
  * Fraction applied to the latest-block base fee when deriving the default
31
31
  * maxFeePerGas: baseFee * NUMERATOR / DENOMINATOR + priority fee.
32
- * 11/10 = 1.1x, leaving headroom for one ~10% base-fee increase between blocks.
32
+ * 12/10 = 1.2x, leaving headroom for one ~20% base-fee increase between blocks.
33
33
  */
34
34
  declare const BASE_FEE_MULTIPLIER_NUMERATOR: bigint;
35
35
  declare const BASE_FEE_MULTIPLIER_DENOMINATOR: bigint;
@@ -226,8 +226,8 @@ declare class TxSender {
226
226
  * taken from the node unless overridden via custom.gasPrice.
227
227
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
228
228
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
229
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
230
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
229
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
230
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
231
231
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
232
232
  * price actually charged per gas unit.
233
233
  */
@@ -236,8 +236,8 @@ var CONTRACT_MAX_CHUNK_SIZE = (4 * 31 + 3) * 1024 - 4;
236
236
  var MAX_CHUNKS = 100;
237
237
  var CALLDATA_CHUNK_OVERHEAD = 326;
238
238
  var DEFAULT_MAX_CHUNK_SIZE_KB = 64;
239
- var DEFAULT_PRIORITY_FEE_PER_GAS = 100n;
240
- var BASE_FEE_MULTIPLIER_NUMERATOR = 11n;
239
+ var DEFAULT_PRIORITY_FEE_PER_GAS = 150n;
240
+ var BASE_FEE_MULTIPLIER_NUMERATOR = 12n;
241
241
  var BASE_FEE_MULTIPLIER_DENOMINATOR = 10n;
242
242
  var LEGACY_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([56, 97]);
243
243
  var AVALANCHE_GAS_CHAIN_IDS = /* @__PURE__ */ new Set([43114, 43113]);
@@ -283,8 +283,8 @@ var TxSender = class {
283
283
  * taken from the node unless overridden via custom.gasPrice.
284
284
  * - Avalanche C-Chain: EIP-1559 with a protocol-enforced minimum base fee of
285
285
  * 25 nAVAX; the node-reported base fee is clamped to that floor.
286
- * - Other (EIP-1559) chains: tip defaults to 100 wei,
287
- * maxFeePerGas defaults to 1.1 * baseFee + tip (baseFee from the latest block).
286
+ * - Other (EIP-1559) chains: tip defaults to 150 wei,
287
+ * maxFeePerGas defaults to 1.2 * baseFee + tip (baseFee from the latest block).
288
288
  * Caller-provided fields take precedence. effectiveGasPrice is the expected
289
289
  * price actually charged per gas unit.
290
290
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gethstorage-sdk",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "EthStorage flat directory upload sdk (calldata only)",
5
5
  "files": [
6
6
  "dist"