Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

milkyway <> skip integration endpoints #173

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _packages/initia-registry/src/testnet/initia/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const info: Chain = {
rpc: [
{
address:
"https://b545809c-5562-4e60-b5a1-22e83df57748.initiation-1.mesa-rpc.ue1-prod.newmetric.xyz",
"https://b545809c-5562-4e60-b5a1-22e83df57748.initiation-1.mesa-rpc.newmetric.xyz",
provider: "newmetric",
},
{
Expand Down Expand Up @@ -105,15 +105,15 @@ const info: Chain = {
rest: [
{
address:
"https://b545809c-5562-4e60-b5a1-22e83df57748.initiation-1.mesa-rest.ue1-prod.newmetric.xyz",
"https://b545809c-5562-4e60-b5a1-22e83df57748.initiation-1.mesa-rest.newmetric.xyz",
provider: "newmetric",
},
{
address: "https://lcd.initiation-1.initia.xyz",
provider: "Initia Labs",
},
{
address: "https://initia-testnet-rpc.polkachu.com",
address: "https://initia-testnet-api.polkachu.com",
provider: "polkachu",
},
{
Expand Down
20 changes: 20 additions & 0 deletions _packages/initia-registry/src/testnet/milkyway/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,32 @@ const info: Chain = {
address: "https://rpc.testnet.milkyway.zone",
provider: "MilkyWay Labs",
},
{
address: " https://rpc-skip.testnet.milkyway.zone",
provider: "MilkyWay Labs",
authorizedUser: "skip",
indexForSkip: 0,
},
],
rest: [
{
address: "https://lcd.testnet.milkyway.zone",
provider: "MilkyWay Labs",
},
{
address: "https://lcd-skip.testnet.milkyway.zone",
provider: "MilkyWay Labs",
authorizedUser: "skip",
indexForSkip: 0,
},
],
grpc: [
{
address: "grpc-skip.testnet.milkyway.zone:443",
provider: "MilkyWay Labs",
authorizedUser: "skip",
indexForSkip: 0,
},
],
},
explorers: [
Expand Down
4 changes: 2 additions & 2 deletions _packages/types/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions _packages/types/src/types/Chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,12 @@ export interface Chain {
}[];
};
images?: (
{
| {
[k: string]: unknown;
}
}
| {
[k: string]: unknown;
}
)[];
logo_URIs?: {
png?: string;
Expand Down Expand Up @@ -271,6 +274,7 @@ export interface Endpoint {
provider?: string;
archive?: boolean;
authorizedUser?: string;
indexForSkip?: number;
}
export interface Explorer {
kind?: string;
Expand Down
7 changes: 7 additions & 0 deletions _packages/types/src/zods/Chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -349,6 +350,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -361,6 +363,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -373,6 +376,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -385,6 +389,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -397,6 +402,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand All @@ -409,6 +415,7 @@ export const ChainSchema = z
provider: z.string().optional(),
archive: z.boolean().default(false),
authorizedUser: z.string().optional(),
indexForSkip: z.number().optional(),
})
.strict()
)
Expand Down
3 changes: 3 additions & 0 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,9 @@
},
"authorizedUser": {
"type": "string"
},
"indexForSkip": {
"type": "number"
}
},
"additionalProperties": false
Expand Down
20 changes: 20 additions & 0 deletions testnets/milkyway/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,32 @@
{
"address": "https://rpc.testnet.milkyway.zone",
"provider": "MilkyWay Labs"
},
{
"address": " https://rpc-skip.testnet.milkyway.zone",
"provider": "MilkyWay Labs",
"authorizedUser": "skip",
"indexForSkip": 0
}
],
"rest": [
{
"address": "https://lcd.testnet.milkyway.zone",
"provider": "MilkyWay Labs"
},
{
"address": "https://lcd-skip.testnet.milkyway.zone",
"provider": "MilkyWay Labs",
"authorizedUser": "skip",
"indexForSkip": 0
}
],
"grpc": [
{
"address": "grpc-skip.testnet.milkyway.zone:443",
"provider": "MilkyWay Labs",
"authorizedUser": "skip",
"indexForSkip": 0
}
]
},
Expand Down
Loading