Skip to content

Commit

Permalink
bump gas multiplier to 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka committed Oct 17, 2024
1 parent 41027e6 commit e2188c9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions v4-client-js/__native__/__ios__/v4-native-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -208110,13 +208110,13 @@ const stargate_1 = __webpack_require__(/*! @cosmjs/stargate */ "./node_modules/@
const tx_1 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.ts");
const tx_2 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/tx.ts");
const tx_3 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/delaymsg/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/delaymsg/tx.ts");
const tx_4 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx.ts");
const tx_5 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx.ts");
const tx_4 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.ts");
const tx_5 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx.ts");
const tx_6 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx.ts");
const transfer_1 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/transfer */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/transfer.ts");
const tx_6 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx.ts");
const tx_7 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.ts");
const tx_7 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx.ts");
const tx_8 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.ts");
const constants_1 = __webpack_require__(/*! ../constants */ "./src/clients/constants.ts");
const types_1 = __webpack_require__(/*! ../types */ "./src/clients/types.ts");
exports.registry = [];
function generateRegistry() {
return new proto_signing_1.Registry([
Expand All @@ -208129,16 +208129,16 @@ function generateRegistry() {
// delaymsg
[constants_1.TYPE_URL_MSG_DELAY_MESSAGE, tx_3.MsgDelayMessage],
// listing
[constants_1.TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS, types_1.MsgCreateMarketPermissionless],
[constants_1.TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS, tx_4.MsgCreateMarketPermissionless],
// perpetuals
[constants_1.TYPE_URL_MSG_CREATE_PERPETUAL, tx_4.MsgCreatePerpetual],
[constants_1.TYPE_URL_MSG_CREATE_PERPETUAL, tx_5.MsgCreatePerpetual],
// prices
[constants_1.TYPE_URL_MSG_CREATE_ORACLE_MARKET, tx_5.MsgCreateOracleMarket],
[constants_1.TYPE_URL_MSG_CREATE_ORACLE_MARKET, tx_6.MsgCreateOracleMarket],
// vaults
[constants_1.TYPE_URL_MSG_DEPOSIT_TO_MEGAVAULT, tx_7.MsgDepositToMegavault],
[constants_1.TYPE_URL_MSG_WITHDRAW_FROM_MEGAVAULT, tx_7.MsgWithdrawFromMegavault],
[constants_1.TYPE_URL_MSG_DEPOSIT_TO_MEGAVAULT, tx_8.MsgDepositToMegavault],
[constants_1.TYPE_URL_MSG_WITHDRAW_FROM_MEGAVAULT, tx_8.MsgWithdrawFromMegavault],
// sending
[constants_1.TYPE_URL_MSG_CREATE_TRANSFER, tx_6.MsgCreateTransfer],
[constants_1.TYPE_URL_MSG_CREATE_TRANSFER, tx_7.MsgCreateTransfer],
[constants_1.TYPE_URL_MSG_WITHDRAW_FROM_SUBACCOUNT, transfer_1.MsgWithdrawFromSubaccount],
[constants_1.TYPE_URL_MSG_DEPOSIT_TO_SUBACCOUNT, transfer_1.MsgDepositToSubaccount],
// affiliates
Expand All @@ -208148,7 +208148,7 @@ function generateRegistry() {
]);
}
exports.generateRegistry = generateRegistry;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2xpZW50cy9saWIvcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQWdFO0FBQ2hFLCtDQUF3RDtBQUN4RCxzRkFBcUc7QUFDckcsZ0ZBTWlFO0FBQ2pFLG9GQUE4RjtBQUM5RixzRkFBbUc7QUFDbkcsa0ZBQWtHO0FBQ2xHLCtGQUcwRTtBQUMxRSxtRkFBK0Y7QUFDL0YsaUZBR2tFO0FBRWxFLDRDQWdCc0I7QUFDdEIsb0NBQXlEO0FBRTVDLFFBQUEsUUFBUSxHQUEyQyxFQUFFLENBQUM7QUFDbkUsU0FBZ0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QUFFLHNCQUFrQyxDQUFDO1FBQ2xFLENBQUMsaURBQXFDLEVBQUUsb0NBQTBDLENBQUM7UUFDbkYsQ0FBQyw4Q0FBa0MsRUFBRSxpQ0FBdUMsQ0FBQztRQUU3RSxhQUFhO1FBQ2IsQ0FBQywyQ0FBK0IsRUFBRSx5QkFBcUMsQ0FBQztRQUV4RSxnQkFBZ0I7UUFDaEIsR0FBRywrQkFBb0I7S0FDeEIsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQXBDRCw0Q0FvQ0MifQ==

/***/ }),

Expand Down Expand Up @@ -211508,7 +211508,7 @@ exports.BROADCAST_TIMEOUT_MS = 8000;
// API Defaults
exports.API_TIMEOUT_DEFAULT_MS = 5000;
// Gas
exports.GAS_MULTIPLIER = 1.4;
exports.GAS_MULTIPLIER = 1.5;
exports.ZERO_FEE = {
amount: [],
gas: '0',
Expand Down
4 changes: 2 additions & 2 deletions v4-client-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "1.3.10",
"version": "1.3.11",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion v4-client-js/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const BROADCAST_TIMEOUT_MS: number = 8_000;
export const API_TIMEOUT_DEFAULT_MS: number = 5_000;

// Gas
export const GAS_MULTIPLIER: number = 1.4;
export const GAS_MULTIPLIER: number = 1.5;

export const ZERO_FEE: StdFee = {
amount: [],
Expand Down

0 comments on commit e2188c9

Please sign in to comment.