Skip to content

Commit

Permalink
Merge branch 'develop' into price-impace-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Sep 26, 2024
2 parents b190fba + 1029292 commit 732eed7
Show file tree
Hide file tree
Showing 12 changed files with 2,641 additions and 3,395 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/lib/address/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ type ValidateAddressReturn = boolean
export type ValidateAddressByChainId = (args: ValidateAddressArgs) => Promise<ValidateAddressReturn>

export const validateAddress: ValidateAddressByChainId = async ({ chainId, maybeAddress }) => {
// Invalidate taproot addresses for BTC
if (chainId === btcChainId && maybeAddress.startsWith('bc1p')) return false
try {
const adapter = getChainAdapterManager().get(chainId)
if (!adapter) return false
Expand Down
81 changes: 18 additions & 63 deletions src/lib/asset-service/service/color-map.json

Large diffs are not rendered by default.

5,936 changes: 2,612 additions & 3,324 deletions src/lib/asset-service/service/generatedAssetData.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/state/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const clearNftsMigrations = {

export const clearAssetsMigrations = {
0: clearAssets,
1: clearAssets,
} as unknown as Omit<MigrationManifest, '_persist'>

export const clearMarketDataMigrations = {
Expand Down

0 comments on commit 732eed7

Please sign in to comment.