-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
232 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,10 +48,10 @@ | |
"subgraph:update": "ens-test-env subgraph --var NEXT_PUBLIC_DEPLOYMENT_ADDRESSES" | ||
}, | ||
"dependencies": { | ||
"@ensdomains/address-encoder": "^0.2.21", | ||
"@ensdomains/address-encoder": "^1.0.0-rc.3", | ||
"@ensdomains/content-hash": "^3.0.0-beta.5", | ||
"@ensdomains/ens-contracts": "1.0.0", | ||
"@ensdomains/ensjs": "3.0.1", | ||
"@ensdomains/ensjs": "3.1.0", | ||
"@ensdomains/thorin": "0.6.44", | ||
"@metamask/inpage-provider": "^8.1.0", | ||
"@metamask/mobile-provider": "^2.1.0", | ||
|
@@ -211,4 +211,4 @@ | |
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import * as coins from '@ensdomains/address-encoder/coins' | ||
|
||
import coinsWithIcons from '@app/constants/coinsWithIcons.json' | ||
import coinsWithoutIcons from '@app/constants/coinsWithoutIcons.json' | ||
|
||
import COIN_LIST from './coinList' | ||
const COIN_LIST = Object.keys(coins).filter((x) => !x.endsWith('Legacy')) | ||
|
||
describe('coins', () => { | ||
it('coins with and without icons should cover all the coins in coinlist', () => { | ||
const isIncluded = COIN_LIST.every((coin) => { | ||
const coinName = coin.toLowerCase() | ||
return coinsWithIcons.includes(coinName) || coinsWithoutIcons.includes(coinName) | ||
}) | ||
describe('coins with and without icons should cover all coins in coinlist', () => { | ||
it.each(COIN_LIST)('coin %s should be in coinlist', (coinName) => { | ||
const isIncluded = coinsWithIcons.includes(coinName) || coinsWithoutIcons.includes(coinName) | ||
expect(isIncluded).toBe(true) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const supportedAddresses = ['eth', 'btc', 'bnb', 'doge', 'ltc', 'dot', 'sol'] as const |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const supportedContentHashKeys = ['ipfs', 'swarm', 'onion', 'skynet', 'arweave'] as const |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const supportedGeneralRecordKeys = ['name', 'description', 'url', 'location'] as const |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const supportedOtherRecordKeys = ['abi'] as const |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.