This repository was archived by the owner on Mar 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/web3-eth-contract/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import {
55
55
import {
56
56
getSendTxParams ,
57
57
} from './utils.js' ;
58
+ // eslint-disable-next-line import/no-cycle
58
59
import { Contract } from './contract.js' ;
59
60
60
61
export type ContractDeploySend < Abi extends ContractAbi > = Web3PromiEvent <
@@ -225,7 +226,7 @@ export class DeployerMethodClass<FullContractAbi extends ContractAbi> {
225
226
format (
226
227
{ format : 'bytes' } ,
227
228
this . deployData as Bytes ,
228
- this . parent . defaultReturnFormat as typeof DEFAULT_RETURN_FORMAT ,
229
+ this . parent . defaultReturnFormat ,
229
230
) ,
230
231
) ;
231
232
}
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ import {
121
121
getSendTxParams ,
122
122
isWeb3ContractContext ,
123
123
} from './utils.js' ;
124
+ // eslint-disable-next-line import/no-cycle
124
125
import { DeployerMethodClass } from './contract-deployer-method-class.js' ;
125
126
126
127
type ContractBoundMethod <
@@ -1259,7 +1260,7 @@ export class Contract<Abi extends ContractAbi>
1259
1260
this ,
1260
1261
tx ,
1261
1262
block ,
1262
- this . defaultReturnFormat as typeof DEFAULT_RETURN_FORMAT ,
1263
+ this . defaultReturnFormat ,
1263
1264
) ;
1264
1265
return decodeMethodReturn ( abi , result ) ;
1265
1266
} catch ( error : unknown ) {
You can’t perform that action at this time.
0 commit comments