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.
package/dist/browser/index.d.mts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
230
|
-
* maxFeePerGas defaults to 1.
|
|
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
|
*/
|
package/dist/browser/index.mjs
CHANGED
|
@@ -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 =
|
|
240
|
-
var BASE_FEE_MULTIPLIER_NUMERATOR =
|
|
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
|
|
287
|
-
* maxFeePerGas defaults to 1.
|
|
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/dist/node/index.cjs
CHANGED
|
@@ -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 =
|
|
285
|
-
var BASE_FEE_MULTIPLIER_NUMERATOR =
|
|
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
|
|
332
|
-
* maxFeePerGas defaults to 1.
|
|
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
|
*/
|
package/dist/node/index.d.mts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
230
|
-
* maxFeePerGas defaults to 1.
|
|
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
|
*/
|
package/dist/node/index.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
230
|
-
* maxFeePerGas defaults to 1.
|
|
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
|
*/
|
package/dist/node/index.mjs
CHANGED
|
@@ -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 =
|
|
240
|
-
var BASE_FEE_MULTIPLIER_NUMERATOR =
|
|
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
|
|
287
|
-
* maxFeePerGas defaults to 1.
|
|
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
|
*/
|