Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonmanRolls committed Nov 28, 2024
1 parent 4601acb commit ccb7c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 182 deletions.
7 changes: 2 additions & 5 deletions src/constants/resolverAddressData.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getChainContractAddress } from 'viem/utils'
import { describe, expect, it } from 'vitest'
import { expect, it } from 'vitest'

import { goerliWithEns, localhostWithEns, mainnetWithEns, sepoliaWithEns } from './chains'
import { mainnetWithEns, sepoliaWithEns } from './chains'

;(process.env as any).NODE_ENV = 'development'

Expand All @@ -12,9 +12,6 @@ it('should have the most recent resolver as the first address', async () => {
expect(KNOWN_RESOLVER_DATA['1']![0].address).toEqual(
getChainContractAddress({ chain: mainnetWithEns, contract: 'ensPublicResolver' }),
)
expect(KNOWN_RESOLVER_DATA['5']![0].address).toEqual(
getChainContractAddress({ chain: goerliWithEns, contract: 'ensPublicResolver' }),
)
expect(KNOWN_RESOLVER_DATA['11155111']![0].address).toEqual(
getChainContractAddress({ chain: sepoliaWithEns, contract: 'ensPublicResolver' }),
)
Expand Down
177 changes: 0 additions & 177 deletions src/constants/resolverAddressData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,183 +123,6 @@ export const KNOWN_RESOLVER_DATA: KnownResolverData = {
],
},
],
'5': [
{
address: '0xd7a4F6473f32aC2Af804B3686AE8F1932bC35750',
deployer: 'ENS Labs',
tag: 'latest',
isNameWrapperAware: true,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
RESOLVER_INTERFACE_IDS.VersionableResolver,
],
},
{
address: '0x342cf18D3e41DE491aa1a3067574C849AdA6a2Ad',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
RESOLVER_INTERFACE_IDS.VersionableResolver,
],
},
{
address: '0x19c2d5D0f035563344dBB7bE5fD09c8dad62b001',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
RESOLVER_INTERFACE_IDS.VersionableResolver,
],
},
{
address: '0x2800Ec5BAB9CE9226d19E0ad5BC607e3cfC4347E',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
RESOLVER_INTERFACE_IDS.VersionableResolver,
],
},
{
address: '0x121304143ea8101E69335F309e2062d299A234B5',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0xfF77b96d6bafCec0D684bB528b22e0Ab09C70663',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0x6e1b40ed2d626b97A43d2c12e48a6De49A03c7A4',
deployer: 'ENS Labs',
tag: null,
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0xc1EA41786094D1fBE5aded033B5370d51F7a3F96',
deployer: 'ENS Labs',
tag: 'outdated',
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0xBbe3fD189D18C8b73BA54e9dD01F89E6b3Ee71f0',
deployer: 'ENS Labs',
tag: 'outdated',
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
],
},
{
address: '0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329',
deployer: 'ENS Labs',
tag: 'outdated',
isNameWrapperAware: false,
supportedInterfaces: [
RESOLVER_INTERFACE_IDS.AddressResolver,
RESOLVER_INTERFACE_IDS.NameResolver,
RESOLVER_INTERFACE_IDS.AbiResolver,
RESOLVER_INTERFACE_IDS.TextResolver,
RESOLVER_INTERFACE_IDS.ContentHashResolver,
RESOLVER_INTERFACE_IDS.DnsRecordResolver,
RESOLVER_INTERFACE_IDS.InterfaceResolver,
RESOLVER_INTERFACE_IDS.MultiCoinAddressResolver,
],
},
],
'11155111': [
{
address: '0x8948458626811dd0c23EB25Cc74291247077cC51',
Expand Down

0 comments on commit ccb7c17

Please sign in to comment.