Skip to content

Commit

Permalink
chore: fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 19, 2024
1 parent ad6fa39 commit 95a933d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 2 additions & 4 deletions sui/gas-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const { Transaction } = require('@mysten/sui/transactions');
const { bcs } = require('@mysten/sui/bcs');
const { ethers } = require('hardhat');
const {
utils: { arrayify },
} = ethers
utils: { arrayify },
} = ethers;
const { saveConfig, loadConfig, printInfo, printError } = require('../common/utils');
const {
getWallet,
Expand All @@ -17,8 +17,6 @@ const {
addBaseOptions,
parseSuiUnitAmount,
} = require('./utils');
;

async function payGas(keypair, client, gasServiceConfig, args, options) {
const walletAddress = keypair.toSuiAddress();

Expand Down
6 changes: 3 additions & 3 deletions sui/gmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const { Transaction } = require('@mysten/sui/transactions');
const { bcs } = require('@mysten/sui/bcs');
const { saveConfig, printInfo } = require('../common/utils');
const {
loadConfig,
getBcsBytesByObjectId,
addBaseOptions,
loadConfig,
getBcsBytesByObjectId,
addBaseOptions,
addOptionsToCommands,
getUnitAmount,
getWallet,
Expand Down
2 changes: 1 addition & 1 deletion sui/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
...require('./types-utils'),
...require('./utils'),
...require('./upgrade-utils'),
...require("./cli-utils"),
...require('./cli-utils'),
};
5 changes: 4 additions & 1 deletion sui/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ const findPublishedObject = (published, packageDir, contractName) => {

const readMovePackageName = (moveDir) => {
try {
const moveToml = fs.readFileSync(`${__dirname}/../../node_modules/@axelar-network/axelar-cgp-sui/move/${moveDir}/Move.toml`, 'utf8');
const moveToml = fs.readFileSync(
`${__dirname}/../../node_modules/@axelar-network/axelar-cgp-sui/move/${moveDir}/Move.toml`,
'utf8',
);

const { package: movePackage } = toml.parse(moveToml);

Expand Down

0 comments on commit 95a933d

Please sign in to comment.