Skip to content

Commit ce0813f

Browse files
authored
feat: Further helper update (#86)
* feat: Further helper update Signed-off-by: chrismaree <christopher.maree@gmail.com> * nit Signed-off-by: chrismaree <christopher.maree@gmail.com>
1 parent b70f212 commit ce0813f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

test/fixtures/SpokePool.Fixture.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)