Skip to content

Commit

Permalink
Add counter party channels to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 committed May 6, 2024
1 parent a23426b commit 20d0ffb
Show file tree
Hide file tree
Showing 11 changed files with 155 additions and 134 deletions.
6 changes: 4 additions & 2 deletions input/penumbra-testnet-deimos-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
{
"displayName": "Osmosis",
"chainId": "osmo-test-5",
"ibcChannel": "channel-3",
"channelId": "channel-4",
"counterpartyChannelId": "channel-7780",
"addressPrefix": "osmo",
"cosmosRegistryDir": "testnets/osmosistestnet",
"images": [
Expand All @@ -27,7 +28,8 @@
{
"displayName": "Noble",
"chainId": "grand-1",
"ibcChannel": "channel-2",
"channelId": "channel-3",
"counterpartyChannelId": "channel-164",
"addressPrefix": "noble",
"cosmosRegistryDir": "testnets/nobletestnet",
"images": [
Expand Down
6 changes: 4 additions & 2 deletions input/penumbra-testnet-deimos-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
{
"displayName": "Osmosis",
"chainId": "osmo-test-5",
"ibcChannel": "channel-4",
"channelId": "channel-4",
"counterpartyChannelId": "channel-7780",
"addressPrefix": "osmo",
"cosmosRegistryDir": "testnets/osmosistestnet",
"images": [
Expand All @@ -27,7 +28,8 @@
{
"displayName": "Noble",
"chainId": "grand-1",
"ibcChannel": "channel-3",
"channelId": "channel-3",
"counterpartyChannelId": "channel-164",
"addressPrefix": "noble",
"cosmosRegistryDir": "testnets/nobletestnet",
"images": [
Expand Down
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

## 6.0.0

### Major Changes

- Counterparty chain id added + renamed ibcChannel to channelId

## 5.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@penumbra-labs/registry",
"version": "5.2.0",
"version": "6.0.0",
"description": "Chain and asset registry for Penumbra",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
3 changes: 2 additions & 1 deletion npm/src/registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const testRegistry: GithubRegistryResponse = {
{
addressPrefix: 'osmo',
chainId: 'osmo-test-5',
ibcChannel: 'channel-3',
channelId: 'channel-4',
counterpartyChannelId: 'channel-7780',
displayName: 'Osmosis',
images: [
{
Expand Down
3 changes: 2 additions & 1 deletion npm/src/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export type Base64AssetId = Stringified<AssetId['inner']>;
export interface Chain {
addressPrefix: string;
chainId: string;
ibcChannel: string;
channelId: string;
counterpartyChannelId: string;
images: Image[];
displayName: string;
}
Expand Down
Loading

0 comments on commit 20d0ffb

Please sign in to comment.