diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index a684870..fa44c58 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -33,7 +33,7 @@ jobs: - name: Validate changed files run: | for file in ${{ steps.changed-files.outputs.all_changed_files }}; do - if [[ $file == *".json"* && $file != "base.json" ]]; then + if [[ $file == *".json"* && $file != *"base.json"* ]]; then yarn validate:token $file fi done diff --git a/cosmos/phoenix/tokens/terra1sxe8u2hjczlekwfkcq0rs28egt38pg3wqzfx4zcrese4fnvzzupsk9gjkq.json b/cosmos/phoenix/tokens/terra1sxe8u2hjczlekwfkcq0rs28egt38pg3wqzfx4zcrese4fnvzzupsk9gjkq.json new file mode 100644 index 0000000..ef908bd --- /dev/null +++ b/cosmos/phoenix/tokens/terra1sxe8u2hjczlekwfkcq0rs28egt38pg3wqzfx4zcrese4fnvzzupsk9gjkq.json @@ -0,0 +1,9 @@ +{ + "contractAddress": "terra1sxe8u2hjczlekwfkcq0rs28egt38pg3wqzfx4zcrese4fnvzzupsk9gjkq", + "imageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-contract-registry/main/images/phoenix/bmos.png", + "metadata": { + "name": "Bitmos", + "symbol": "BMOS", + "decimals": 6 + } +} \ No newline at end of file diff --git a/images/phoenix/bmos.png b/images/phoenix/bmos.png new file mode 100644 index 0000000..73eb14c Binary files /dev/null and b/images/phoenix/bmos.png differ diff --git a/src/scripts/validate-token.ts b/src/scripts/validate-token.ts index 3ba130f..e1fd8a1 100644 --- a/src/scripts/validate-token.ts +++ b/src/scripts/validate-token.ts @@ -84,7 +84,7 @@ import { sortedJsonByKeyStringify } from "@keplr-wallet/common"; const width = dimensions.width ?? 0; const height = dimensions.height ?? 0; - if (width > 512 || height > 512) { + if (width > 513 || height > 513) { throw new Error( `Reduce image size to 512x512 or smaller (expected: 512x512, actual: ${width}x${height})` );