Skip to content

Commit

Permalink
New validator input requirements (#42)
Browse files Browse the repository at this point in the history
* Update validator input method

* update pnpm version in ci

* update tests
  • Loading branch information
grod220 committed May 31, 2024
1 parent a6a16eb commit ebed99c
Show file tree
Hide file tree
Showing 18 changed files with 3,750 additions and 2,927 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/typescript-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm install
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm install
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install dependencies
run: pnpm install
Expand Down
15 changes: 15 additions & 0 deletions images/full-moon-face.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions images/new-moon-face.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions input/penumbra-testnet-deimos-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
]
}
],
"validators": [],
"nativeAssets": [
{
"denomUnits": [
Expand Down
1 change: 1 addition & 0 deletions input/penumbra-testnet-deimos-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
]
}
],
"validators": [],
"nativeAssets": [
{
"denomUnits": [
Expand Down
123 changes: 42 additions & 81 deletions input/penumbra-testnet-deimos-8.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,35 @@
]
}
],
"validators": [
{
"name": "Penumbra Labs CI 1",
"base": "udelegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja",
"images": [
{
"png": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/penumbra-favicon.png"
}
]
},
{
"name": "Penumbra Labs CI 2",
"base": "udelegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63",
"images": [
{
"png": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/penumbra-favicon.png"
}
]
},
{
"name": "Starling Staking",
"base": "udelegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u",
"images": [
{
"svg": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/starling-staking.svg"
}
]
}
],
"nativeAssets": [
{
"denomUnits": [
Expand Down Expand Up @@ -85,7 +114,12 @@
"symbol": "GM",
"penumbraAssetId": {
"inner": "HW2Eq3UZVSBttoUwUi/MUtE7rr2UU7/UH500byp7OAc="
}
},
"images": [
{
"svg": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/full-moon-face.svg"
}
]
},
{
"denomUnits": [
Expand All @@ -106,7 +140,12 @@
"symbol": "GN",
"penumbraAssetId": {
"inner": "nwPDkQq3OvLnBwGTD+nmv1Ifb2GEmFCgNHrU++9BsRE="
}
},
"images": [
{
"svg": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/new-moon-face.svg"
}
]
},
{
"denomUnits": [
Expand Down Expand Up @@ -160,88 +199,10 @@
"svg": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/pizza.svg"
}
]
},
{
"denomUnits": [
{
"denom": "delegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja",
"exponent": 6
},
{
"denom": "mdelegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja",
"exponent": 3
},
{
"denom": "udelegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja"
}
],
"base": "udelegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja",
"display": "delegation_penumbravalid1sqwq8p8fqxx4aflthtwmu6kte8je7sh4tj7pyd82qpvdap5ajgrsv0q0ja",
"penumbraAssetId": {
"inner": "s82FyPdtSi8r0syejJHbC6PcjKTQ8a5hCbrnROuBxQ8="
},
"symbol": "delUM(Penumbra Labs CI 1)",
"images": [
{
"png": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/penumbra-favicon.png"
}
]
},
{
"denomUnits": [
{
"denom": "delegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63",
"exponent": 6
},
{
"denom": "mdelegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63",
"exponent": 3
},
{
"denom": "udelegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63"
}
],
"base": "udelegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63",
"display": "delegation_penumbravalid173zelmfxtk7r5mhj0k9n96zh9amkr0aucjtsj9j7rdyuj05f4yyqqg5w63",
"penumbraAssetId": {
"inner": "eeD8X4rWeMaC3Oqdw8tyU6YBLryAYCBLwEbiIKoo5Qc="
},
"symbol": "delUM(Penumbra Labs CI 2)",
"images": [
{
"png": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/penumbra-favicon.png"
}
]
},
{
"denomUnits": [
{
"denom": "delegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u",
"exponent": 6
},
{
"denom": "mdelegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u",
"exponent": 3
},
{
"denom": "udelegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u"
}
],
"base": "udelegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u",
"display": "delegation_penumbravalid1gjdvn0u85rgldqk5adfexn6n4y8d2m3tfla54sc4gu95xwpzssxsjutk7u",
"symbol": "delUM(Starling Staking)",
"penumbraAssetId": {
"inner": "/5AHh95RAybBbUhQ5zXMWCvstH4rRK/5KMVIVGQltAw="
},
"images": [
{
"svg": "https://raw.githubusercontent.com/prax-wallet/registry/main/images/starling-staking.svg"
}
]
}
],
"canonicalNumeraires": [
"wtest_usd",
"transfer/channel-3/uusdc"
"transfer/channel-4/uusdc"
]
}
6 changes: 6 additions & 0 deletions npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @penumbra-labs/registry

## 7.5.0

### Minor Changes

- New gm/gn icons

## 7.4.1

### Patch Changes
Expand Down
18 changes: 9 additions & 9 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@penumbra-labs/registry",
"version": "7.4.1",
"version": "7.5.0",
"description": "Chain and asset registry for Penumbra",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand All @@ -16,17 +16,17 @@
"test": "vitest run"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240505174225-78be1d64b1cb.1",
"@bufbuild/protobuf": "^1.9.0",
"@changesets/cli": "^2.27.1",
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.2.0",
"eslint": "^9.2.0",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240528180215-8fe1c79485f8.1",
"@bufbuild/protobuf": "^1.10.0",
"@changesets/cli": "^2.27.5",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.3.0",
"eslint": "^9.3.0",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vite": "^5.2.11",
"typescript-eslint": "^7.11.0",
"vite": "^5.2.12",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
},
Expand Down
Loading

0 comments on commit ebed99c

Please sign in to comment.