Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/configure-…
Browse files Browse the repository at this point in the history
…pages-5
  • Loading branch information
ryanleecode authored Jul 22, 2024
2 parents 6333d71 + f83aa2b commit d962e5d
Show file tree
Hide file tree
Showing 49 changed files with 455 additions and 397 deletions.
18 changes: 18 additions & 0 deletions .changeset/dependencies-GH-2355.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@substrate/wallet-template": patch
---

chore(deps): bump @radix-ui/react-dialog from 1.0.5 to 1.1.1

Bumps [@radix-ui/react-dialog](https://github.com/radix-ui/primitives) from 1.0.5 to 1.1.1.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-dialog"
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
18 changes: 18 additions & 0 deletions .changeset/dependencies-GH-2356.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@substrate/wallet-template": patch
---

chore(deps): bump @radix-ui/react-avatar from 1.0.4 to 1.1.0

Bumps [@radix-ui/react-avatar](https://github.com/radix-ui/primitives) from 1.0.4 to 1.1.0.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-avatar"
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
18 changes: 18 additions & 0 deletions .changeset/dependencies-GH-2357.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@substrate/wallet-template": patch
---

chore(deps): bump @radix-ui/react-toggle from 1.0.3 to 1.1.0

Bumps [@radix-ui/react-toggle](https://github.com/radix-ui/primitives) from 1.0.3 to 1.1.0.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-toggle"
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
20 changes: 20 additions & 0 deletions .changeset/dependencies-GH-2358.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@substrate/extension": patch
"@substrate/wallet-template": patch
---

chore(deps-dev): bump vite from 5.2.13 to 5.3.4

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.13 to 5.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
10 changes: 10 additions & 0 deletions .changeset/large-balloons-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@substrate/light-client-extension-helpers": minor
"@substrate/connect-known-chains": minor
"@substrate/smoldot-discovery": minor
"@substrate/wallet-template": minor
"@substrate/extension": minor
"@substrate/connect": minor
---

add paseo testnet
10 changes: 10 additions & 0 deletions .changeset/light-grapes-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@substrate/light-client-extension-helpers": patch
"@substrate/connect-known-chains": patch
"@substrate/smoldot-discovery": patch
"@substrate/wallet-template": patch
"@substrate/extension": patch
"@substrate/connect": patch
---

update chainspecs
2 changes: 1 addition & 1 deletion examples/light-client-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"vite": "^5.2.11"
"vite": "^5.3.4"
}
}
2 changes: 1 addition & 1 deletion examples/light-client-extension-helpers-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"vite": "^5.2.11"
"vite": "^5.3.4"
}
}
4 changes: 4 additions & 0 deletions packages/connect-known-chains/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
"./westend2_collectives": {
"import": "./dist/specs/westend2_collectives.js",
"require": "./dist/specs/westend2_collectives.cjs"
},
"./paseo": {
"import": "./dist/specs/paseo.js",
"require": "./dist/specs/paseo.cjs"
}
},
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/connect-known-chains/specs/ksmcc3.json

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions packages/connect-known-chains/specs/paseo.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/connect-known-chains/specs/polkadot.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/connect-known-chains/specs/rococo_v2_2.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/connect-known-chains/specs/westend2.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions packages/connect/src/connector/getSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ export async function getSpec(chain: string): Promise<string> {
)
break
}
case WellKnownChain.paseo: {
chains.set(
WellKnownChain.paseo,
import("@substrate/connect-known-chains/paseo"),
)
break
}
}

return (await chains.get(knownChain)!).chainSpec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { chainSpec as polkadot } from "./polkadot"
import { chainSpec as ksmcc3 } from "./ksmcc3"
import { chainSpec as westend2 } from "./westend2"
import { chainSpec as rococo_v2_2 } from "./rococo_v2_2"
import { chainSpec as paseo } from "./paseo"

export * from "@substrate/connect-known-chains"

Expand All @@ -15,4 +16,5 @@ export const wellKnownChainSpecs = {
westend2,
"0x6408de7737c59c238890533af25896a2c20608d8b380bb01029acb392781063e":
rococo_v2_2,
"0x77afd6190f1554ad45fd0d31aee62aacc33c6db0ea801129acb813f913e0764f": paseo,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { chainSpec } from "@substrate/connect-known-chains/paseo"
1 change: 1 addition & 0 deletions packages/smoldot-discovery/src/connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const defaultWellKnownChainGenesisHashes: Record<string, string> = {
ksmcc3: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe",
westend2:
"0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
paseo: "0x77afd6190f1554ad45fd0d31aee62aacc33c6db0ea801129acb813f913e0764f",
rococo_v2_2:
"0x6408de7737c59c238890533af25896a2c20608d8b380bb01029acb392781063e",
}
Expand Down
1 change: 1 addition & 0 deletions packages/smoldot-discovery/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export enum WellKnownChain {
ksmcc3 = "ksmcc3",
rococo_v2_2 = "rococo_v2_2",
westend2 = "westend2",
paseo = "paseo",
}

/**
Expand Down
Loading

0 comments on commit d962e5d

Please sign in to comment.