Skip to content

Commit adcb3bd

Browse files
authored
Narrow the list of chains on which we enforce sentinel redemption (#372)
1 parent e554b84 commit adcb3bd

2 files changed

Lines changed: 4 additions & 22 deletions

File tree

packages/gator-permissions-snap/src/core/sentinelRedeemer.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,12 @@ export const SENTINEL_REDEEMER_ADDRESSES = [
1616

1717
export const SENTINEL_SUPPORTED_CHAINS = [
1818
0x1, // Ethereum Mainnet
19-
0xa, // OP Mainnet
20-
0x38, // BNB Smart Chain Mainnet
21-
0x89, // Polygon Mainnet
2219
0xa4b1, // Arbitrum One
23-
0xa86a, // Avalanche C-Chain
24-
0xe708, // Linea Mainnet
2520
0x2105, // Base
26-
0x531, // Sei Network
27-
0x8f, // Monad
28-
0x10e6, // MegaETH Mainnet
29-
0x1079, // Tempo Mainnet Presto
30-
0x13b2, // Arc
21+
0x38, // BNB Smart Chain Mainnet
3122
0xaa36a7, // Ethereum Sepolia
3223
0x14a34, // Base Sepolia
33-
] as const satisfies readonly number[];
24+
] satisfies readonly number[];
3425

3526
const UNISWAP_HOSTNAME = 'uniswap.org';
3627

packages/gator-permissions-snap/test/core/sentinelRedeemer.test.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,12 @@ describe('normalizePermissionRequestWithSentinelRedeemerRule', () => {
5353
]);
5454
});
5555

56-
it('supports all Sentinel-enabled mainnets and testnets', () => {
56+
it('supports all designated Sentinel mainnets and testnets', () => {
5757
expect(SENTINEL_SUPPORTED_CHAINS).toStrictEqual([
5858
0x1, // Ethereum Mainnet
59-
0xa, // OP Mainnet
60-
0x38, // BNB Smart Chain Mainnet
61-
0x89, // Polygon Mainnet
6259
0xa4b1, // Arbitrum One
63-
0xa86a, // Avalanche C-Chain
64-
0xe708, // Linea Mainnet
6560
0x2105, // Base
66-
0x531, // Sei Network
67-
0x8f, // Monad
68-
0x10e6, // MegaETH Mainnet
69-
0x1079, // Tempo Mainnet Presto
70-
0x13b2, // Arc
61+
0x38, // BNB Smart Chain Mainnet
7162
0xaa36a7, // Ethereum Sepolia
7263
0x14a34, // Base Sepolia
7364
]);

0 commit comments

Comments
 (0)