Skip to content

Commit 3de6703

Browse files
authored
Add missing pause tests (#303)
1 parent 536b923 commit 3de6703

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

migration/verification/verify-paused-methods.ts

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,10 @@ async function verifyNearContracts(config: NearConfig): Promise<void> {
381381
account,
382382
"Token Locker",
383383
config.contracts.tokenLocker,
384-
[{ feature: "ft_on_transfer", description: "NEAR→ETH transfers" }],
384+
[
385+
{ feature: "ft_on_transfer", description: "NEAR→ETH transfers" },
386+
{ feature: "withdraw", description: "ETH→NEAR transfers" }
387+
],
385388
);
386389

387390
// Check eNEAR on NEAR
@@ -398,15 +401,44 @@ async function verifyNearContracts(config: NearConfig): Promise<void> {
398401
],
399402
);
400403

404+
// Check Bridge Token Factory on NEAR
405+
await checkNearContract(
406+
account,
407+
"Bridge Token Factory",
408+
config.contracts.bridgeTokenFactoryNear,
409+
[
410+
{
411+
feature: "deposit",
412+
description: "ETH→NEAR transfers",
413+
},
414+
{
415+
feature: "deploy_bridge_token",
416+
description: "Deploy bridge token",
417+
},
418+
{
419+
feature: "update_metadata",
420+
description: "Update metadata",
421+
},
422+
],
423+
);
424+
401425
// Check OmniBridge on NEAR
402426
await checkNearContract(
403427
account,
404428
"OmniBridge NEAR",
405429
config.contracts.omniBridgeNear,
406430
[
407431
{
408-
feature: "ft_transfer_call",
409-
description: "Token transfers via OmniBridge",
432+
feature: "ft_on_transfer",
433+
description: "NEAR→ETH transfers",
434+
},
435+
{
436+
feature: "fin_transfer",
437+
description: "ETH→NEAR transfers",
438+
},
439+
{
440+
feature: "log_metadata",
441+
description: "Log metadata",
410442
},
411443
],
412444
);

0 commit comments

Comments
 (0)