File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @across-protocol/contracts-v2" ,
3- "version" : " 0.0.25 " ,
3+ "version" : " 0.0.27 " ,
44 "author" : " UMA Team" ,
55 "license" : " AGPL-3.0" ,
66 "repository" : {
Original file line number Diff line number Diff line change @@ -131,9 +131,9 @@ export async function fillRelay(
131131 consts . repaymentChainId
132132 )
133133 ) ;
134- const [ events , networkInfo ] = await Promise . all ( [
134+ const [ events , destinationChainId ] = await Promise . all ( [
135135 spokePool . queryFilter ( spokePool . filters . FilledRelay ( ) ) ,
136- spokePool . provider . getNetwork ( ) ,
136+ spokePool . chainId ( ) ,
137137 ] ) ;
138138 const lastEvent = events [ events . length - 1 ] ;
139139 if ( lastEvent . args )
@@ -152,7 +152,7 @@ export async function fillRelay(
152152 depositor : lastEvent . args . depositor ,
153153 recipient : lastEvent . args . recipient ,
154154 isSlowRelay : lastEvent . args . isSlowRelay ,
155- destinationChainId : networkInfo . chainId ,
155+ destinationChainId : Number ( destinationChainId ) ,
156156 } ;
157157 else return null ;
158158}
You can’t perform that action at this time.
0 commit comments