File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import yargs from "yargs";
22import { hideBin } from "yargs/helpers" ;
33import { DefaultStore , EvmChain , toPrivateKey } from "../src" ;
44import { COMMON_DEPLOY_OPTIONS , findEntropyContract } from "./common" ;
5- import Web3 from "web3" ;
65
76const parser = yargs ( hideBin ( process . argv ) )
87 . usage (
@@ -58,7 +57,7 @@ const ABI = [
5857 stateMutability : "nonpayable" ,
5958 type : "function" ,
6059 } ,
61- ] as any ;
60+ ] as any ; // eslint-disable-line @typescript-eslint/no-explicit-any
6261
6362async function main ( ) {
6463 const argv = await parser . argv ;
Original file line number Diff line number Diff line change @@ -174,10 +174,12 @@ export class GlobalChain extends Chain {
174174 ) ;
175175 }
176176
177+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
177178 async getAccountAddress ( _privateKey : PrivateKey ) : Promise < string > {
178179 throw new Error ( "Can not get account for GlobalChain." ) ;
179180 }
180181
182+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
181183 async getAccountBalance ( _privateKey : PrivateKey ) : Promise < number > {
182184 throw new Error ( "Can not get account balance for GlobalChain." ) ;
183185 }
@@ -439,7 +441,7 @@ export class EvmChain extends Chain {
439441 }
440442
441443 async estiamteAndSendTransaction (
442- transactionObject : any ,
444+ transactionObject : any , // eslint-disable-line @typescript-eslint/no-explicit-any
443445 txParams : { from ?: string ; value ?: string }
444446 ) {
445447 const GAS_ESTIMATE_MULTIPLIER = 2 ;
Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ export class SuiWormholeContract extends WormholeContract {
527527 return { id : result . digest , info : result } ;
528528 }
529529
530- private async getStateFields ( ) : Promise < any > {
530+ private async getStateFields ( ) : Promise < any > { // eslint-disable-line @typescript-eslint/no-explicit-any
531531 const provider = this . chain . getProvider ( ) ;
532532 const result = await provider . getObject ( {
533533 id : this . stateId ,
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ export class Store {
234234 */
235235 getChainOrThrow < T extends Chain > (
236236 chainId : string ,
237- ChainClass ?: { new ( ...args : any [ ] ) : T ; type : string }
237+ ChainClass ?: { new ( ...args : any [ ] ) : T ; type : string } // eslint-disable-line @typescript-eslint/no-explicit-any
238238 ) : T {
239239 const chain = this . chains [ chainId ] ;
240240 if ( ! chain ) {
You can’t perform that action at this time.
0 commit comments