File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export class GearboxSDK {
178178 this ,
179179 addressProviderAddress ,
180180 ) ;
181- await this . #addressProvider. fetchState ( this . currentBlock ) ;
181+ await this . #addressProvider. syncState ( this . currentBlock ) ;
182182
183183 // Attaching bot list contract
184184 const botListAddress = this . #addressProvider. getAddress ( AP_BOT_LIST , 300 ) ;
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class AddressProviderContractV3_1 extends BaseContract<abi> {
8686 return this . getAddress ( contract , this . latest [ contract ] ) ;
8787 }
8888
89- public async fetchState ( blockNumber ?: bigint ) : Promise < void > {
89+ public async syncState ( blockNumber ?: bigint ) : Promise < void > {
9090 const entries = await this . contract . read . getAllSavedContracts ( {
9191 blockNumber,
9292 } ) ;
You can’t perform that action at this time.
0 commit comments