Skip to content

Commit 6d4a0d7

Browse files
committed
fix(e2e): gateways start paused
1 parent ff11ec2 commit 6d4a0d7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ describe('[L1] L1GraphTokenGateway configuration', function () {
1313
unauthorized = (await graph.getTestAccounts())[0]
1414
})
1515

16-
it('bridge should be unpaused', async function () {
16+
it('bridge should be paused', async function () {
1717
const paused = await L1GraphTokenGateway.paused()
18-
expect(paused).eq(false)
18+
expect(paused).eq(true)
1919
})
2020

2121
it('should be controlled by Controller', async function () {
@@ -77,7 +77,7 @@ describe('[L1] L1GraphTokenGateway configuration', function () {
7777
'0x00',
7878
)
7979

80-
await expect(tx).revertedWith('INBOX_NOT_SET')
80+
await expect(tx).revertedWith('Paused (contract)')
8181
})
8282
})
8383
})

e2e/deployment/config/l2/l2GraphTokenGateway.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ describe('[L2] L2GraphTokenGateway configuration', function () {
1313
unauthorized = (await graph.getTestAccounts())[0]
1414
})
1515

16-
it('bridge should be unpaused', async function () {
16+
it('bridge should be paused', async function () {
1717
const paused = await L2GraphTokenGateway.paused()
18-
expect(paused).eq(false)
18+
expect(paused).eq(true)
1919
})
2020

2121
it('should be controlled by Controller', async function () {
@@ -55,7 +55,7 @@ describe('[L2] L2GraphTokenGateway configuration', function () {
5555
'0x00',
5656
)
5757

58-
await expect(tx).revertedWith('ONLY_COUNTERPART_GATEWAY')
58+
await expect(tx).revertedWith('Paused (contract)')
5959
})
6060
})
6161
})

0 commit comments

Comments
 (0)