File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class PriceFeedStore extends SDKConstruct {
3131 constructor ( sdk : GearboxSDK ) {
3232 super ( sdk ) ;
3333 this . #store = this . sdk . addressProvider . getAddress ( "PRICE_FEED_STORE" ) ;
34- this . #compressor = this . sdk . addressProvider . getAddress (
34+ this . #compressor = this . sdk . addressProvider . getLatestVersion (
3535 AP_PRICE_FEED_COMPRESSOR ,
3636 ) ;
3737 this . #logger = sdk . logger ?. child ?.( {
@@ -71,8 +71,9 @@ export class PriceFeedStore extends SDKConstruct {
7171 } ) ;
7272 if ( update ) {
7373 const feeds = result . map ( f => this . sdk . priceFeeds . create ( f ) ) ;
74- const { txs } =
75- await this . sdk . priceFeeds . generatePriceFeedsUpdateTxs ( feeds ) ;
74+ const { txs } = await this . sdk . priceFeeds . generatePriceFeedsUpdateTxs (
75+ feeds ,
76+ ) ;
7677 const resp = await this . provider . publicClient . multicall ( {
7778 contracts : [
7879 ...txs . map ( rawTxToMulticallPriceUpdate ) ,
You can’t perform that action at this time.
0 commit comments