Skip to content
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ coverage/

# cairo
.snfoundry_cache/

# docs
docs/src/content/docs/architecture/voyager/*
5 changes: 5 additions & 0 deletions .helix/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ name = "nix"
scope = "source.nix"
shebangs = []

[[language]]
formatter = { command = "deno", args = ["fmt", "-", "--ext", "md"] }
name = "markdown"
# auto-format = true

[[grammar]]
name = "astro"
source = { git = "https://github.com/virchau13/tree-sitter-astro", rev = "4be180759ec13651f72bacee65fa477c64222a1a" }
Expand Down
2 changes: 1 addition & 1 deletion app2/app2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _: {
packages = {
app2 = buildPnpmPackage rec {
packageJsonPath = ./package.json;
extraSrcs = [
extraSrcs = pkgs.lib.fileset.unions [
../app2
../effect-svelte
../ts-sdk
Expand Down
5 changes: 2 additions & 3 deletions app2/src/routes/explorer/dust/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const prerender = false

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand All @@ -18,4 +18,3 @@ export const load: PageLoad = ({ params }) => {
}),
})
}

4 changes: 2 additions & 2 deletions app2/src/routes/explorer/packets/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand Down
4 changes: 2 additions & 2 deletions app2/src/routes/explorer/stakes/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const prerender = false

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand Down
4 changes: 2 additions & 2 deletions app2/src/routes/explorer/transfers/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand Down
4 changes: 2 additions & 2 deletions app2/src/routes/explorer/unstakes/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const prerender = false

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand Down
5 changes: 2 additions & 3 deletions app2/src/routes/explorer/withdrawals/[packet_hash]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { redirect } from "@sveltejs/kit"
import { PacketHash } from "@unionlabs/sdk/schema"
import { PacketHashFromLenient } from "@unionlabs/sdk/schema"
import * as E from "effect/Either"
import * as S from "effect/Schema"
import type { PageLoad } from "./$types"

export const prerender = false

export const load: PageLoad = ({ params }) => {
const packetHash = S.decodeEither(PacketHash)(params.packet_hash)
const packetHash = S.decodeEither(PacketHashFromLenient)(params.packet_hash)

return E.match(packetHash, {
onLeft: () => {
Expand All @@ -18,4 +18,3 @@ export const load: PageLoad = ({ params }) => {
}),
})
}

2 changes: 1 addition & 1 deletion ceremony/ceremony.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _: {
ceremony = buildPnpmPackage {
hash = "sha256-1R/7+vIllXY+KmNgxxH2fEHM4UzVmHDiDA3XqmODuJI=";
packageJsonPath = ./package.json;
extraSrcs = [
extraSrcs = pkgs.lib.fileset.unions [
../ceremony
];
pnpmWorkspaces = [
Expand Down
2 changes: 1 addition & 1 deletion cosmwasm/lightclient/attested/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Note that all attestations contain a height and a timestamp. Rather than having

An existing attestor service for EVM-compatible chains is provided via a [Voyager plugin][attestor-evm]. See the plugin's documentation for how to run the attestor service. Alternative implementations are welcome, both for EVM-compatible chains and other execution environments.

## Light Client Flow
## Light Client

This contract fully supports the union IBC light client specification, as follows:

Expand Down
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ pnpm-debug.log*
.wrangler
.stackbit
.eslintcache

./src/content/docs/architecture/voyager/*
Loading