Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 1b07f35

Browse files
disable import/no-cycle linting rule
1 parent 844b8a1 commit 1b07f35

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/web3-eth-contract/src/contract-deployer-method-class.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ import {
5555
import {
5656
getSendTxParams,
5757
} from './utils.js';
58+
// eslint-disable-next-line import/no-cycle
5859
import { Contract } from './contract.js';
5960

6061
export type ContractDeploySend<Abi extends ContractAbi> = Web3PromiEvent<
@@ -225,7 +226,7 @@ export class DeployerMethodClass<FullContractAbi extends ContractAbi> {
225226
format(
226227
{ format: 'bytes' },
227228
this.deployData as Bytes,
228-
this.parent.defaultReturnFormat as typeof DEFAULT_RETURN_FORMAT,
229+
this.parent.defaultReturnFormat,
229230
),
230231
);
231232
}

packages/web3-eth-contract/src/contract.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ import {
121121
getSendTxParams,
122122
isWeb3ContractContext,
123123
} from './utils.js';
124+
// eslint-disable-next-line import/no-cycle
124125
import { DeployerMethodClass } from './contract-deployer-method-class.js';
125126

126127
type ContractBoundMethod<
@@ -1259,7 +1260,7 @@ export class Contract<Abi extends ContractAbi>
12591260
this,
12601261
tx,
12611262
block,
1262-
this.defaultReturnFormat as typeof DEFAULT_RETURN_FORMAT,
1263+
this.defaultReturnFormat ,
12631264
);
12641265
return decodeMethodReturn(abi, result);
12651266
} catch (error: unknown) {

0 commit comments

Comments
 (0)