Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename binance-smart-chain to bnb-chain for dappradar list gen #99

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "token-lists",
"version": "1.15.0",
"version": "1.16.0",
"description": "Manages custom token lists for Brave Wallet",
"dependencies": {
"@metamask/contract-metadata": "git+https://[email protected]/MetaMask/contract-metadata.git",
Expand Down
6 changes: 3 additions & 3 deletions scripts/util.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const generateDappLists = async () => {
'solana',
'ethereum',
'polygon',
'binance-smart-chain',
'bnb-chain',
'optimism',
'aurora',
'avalanche',
Expand All @@ -451,9 +451,9 @@ const generateDappLists = async () => {
const dappLists = {}
for (let chain of chains) {
const dapps = await generateDappListsForChain(chain)
// Replace 'binance-smart-chain' with 'binance_smart_chain' so it plays well
// Replace 'bnb-chain' with 'binance_smart_chain' so it plays well
// with the browser JSON parser.
if (chain === 'binance-smart-chain') {
if (chain === 'bnb-chain') {
chain = 'binance_smart_chain'
}

Expand Down