@riocrypto/common-server 1.0.2663 → 1.0.2664
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.
|
@@ -20,8 +20,7 @@ const node_cache_1 = __importDefault(require("node-cache"));
|
|
|
20
20
|
const cache = new node_cache_1.default({ stdTTL: 60 });
|
|
21
21
|
const cache2 = new node_cache_1.default({ stdTTL: 10000 });
|
|
22
22
|
const POLYGON_FEE_CONFIG = {
|
|
23
|
-
|
|
24
|
-
priorityFee: "50",
|
|
23
|
+
gasPrice: "15000",
|
|
25
24
|
gasLimit: "100000",
|
|
26
25
|
};
|
|
27
26
|
const POLYGON_ASSETS = [
|
|
@@ -167,8 +166,7 @@ class FireblocksClient {
|
|
|
167
166
|
: undefined,
|
|
168
167
|
}, amount: amountCrypto, operation: fireblocks_sdk_1.TransactionOperation.TRANSFER, note: notes }, (isPolygonAsset(crypto)
|
|
169
168
|
? {
|
|
170
|
-
|
|
171
|
-
priorityFee: POLYGON_FEE_CONFIG.priorityFee,
|
|
169
|
+
gasPrice: POLYGON_FEE_CONFIG.gasPrice,
|
|
172
170
|
gasLimit: POLYGON_FEE_CONFIG.gasLimit,
|
|
173
171
|
}
|
|
174
172
|
: {})));
|
|
@@ -408,8 +406,7 @@ class FireblocksClient {
|
|
|
408
406
|
},
|
|
409
407
|
}, amount: amountCrypto, operation: fireblocks_sdk_1.TransactionOperation.TRANSFER, externalTxId: rioId, note: notes }, (isPolygonAsset(crypto)
|
|
410
408
|
? {
|
|
411
|
-
|
|
412
|
-
priorityFee: POLYGON_FEE_CONFIG.priorityFee,
|
|
409
|
+
gasPrice: POLYGON_FEE_CONFIG.gasPrice,
|
|
413
410
|
gasLimit: POLYGON_FEE_CONFIG.gasLimit,
|
|
414
411
|
}
|
|
415
412
|
: {})));
|