Skip to content

Commit

Permalink
fix: gateway imports
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 19, 2024
1 parent e35296d commit 4640ecf
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions sui/gateway.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { saveConfig, printInfo } = require('../common/utils');
const { Command, Option } = require('commander');
const { Transaction } = require('@mysten/sui/transactions');
const { bcs } = require('@mysten/sui/bcs');
Expand All @@ -8,11 +7,20 @@ const {
constants: { HashZero },
} = ethers;

const { loadConfig } = require('../common/utils');
const { addBaseOptions } = require('./cli-utils');
const { getWallet, printWalletInfo, getRawPrivateKey, broadcast } = require('./sign-utils');
const { bytes32Struct, signersStruct, messageToSignStruct, messageStruct, proofStruct } = require('./types-utils');
const { getSigners } = require('./deploy-gateway');
const { saveConfig, printInfo, loadConfig } = require('../common/utils');
const {
bytes32Struct,
signersStruct,
messageToSignStruct,
messageStruct,
proofStruct,
addBaseOptions,
getSigners,
getWallet,
printWalletInfo,
getRawPrivateKey,
broadcast,
} = require('./utils');
const secp256k1 = require('secp256k1');

const COMMAND_TYPE_APPROVE_MESSAGES = 0;
Expand Down

0 comments on commit 4640ecf

Please sign in to comment.