Skip to content

Commit

Permalink
feat/add-cosmos-rpclist
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0Koda committed Oct 26, 2023
1 parent 401a01d commit 20d78bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/0xsquid/v1/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export const parseCosmosChain = (data: any): CosmosChain => {
coinType,
features,
gasPriceStep,
chainToAxelarChannelId
chainToAxelarChannelId,
rpcList
} = data;

return removeEmpty({
Expand All @@ -115,7 +116,8 @@ export const parseCosmosChain = (data: any): CosmosChain => {
coinType,
features,
gasPriceStep,
chainToAxelarChannelId
chainToAxelarChannelId,
rpcList
}) as CosmosChain;
};

Expand Down
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export type CosmosChain = BaseChain & {
features?: string[];
gasPriceStep?: CosmosGasType;
chainToAxelarChannelId: string;
rpcList: string[];
};

export type ChainData = EvmChain | CosmosChain;
Expand Down

0 comments on commit 20d78bf

Please sign in to comment.