Skip to content

Commit 51c0441

Browse files
committed
test(e2e): reenable finalizeInboundTransfer revert check
1 parent 4e2872b commit 51c0441

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

e2e/deployment/config/l1/l1GraphTokenGateway.test.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,16 @@ describe('[L1] L1GraphTokenGateway configuration', function () {
106106
await expect(tx).revertedWith('Only Controller governor')
107107
})
108108

109-
// TODO: why is this not working
110-
// it('finalizeInboundTransfer should revert', async function () {
111-
// const tx = L1GraphTokenGateway.connect(unauthorized).finalizeInboundTransfer(
112-
// unauthorized.address,
113-
// unauthorized.address,
114-
// unauthorized.address,
115-
// '100',
116-
// '0x00',
117-
// )
118-
119-
// await expect(tx).revertedWith('NOT_FROM_BRIDGE')
120-
// })
109+
it('finalizeInboundTransfer should revert', async function () {
110+
const tx = L1GraphTokenGateway.connect(unauthorized).finalizeInboundTransfer(
111+
unauthorized.address,
112+
unauthorized.address,
113+
unauthorized.address,
114+
'100',
115+
'0x00',
116+
)
117+
118+
await expect(tx).revertedWith('NOT_FROM_BRIDGE')
119+
})
121120
})
122121
})

0 commit comments

Comments
 (0)