Skip to content
Draft
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
81 changes: 24 additions & 57 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ members = [
edition = "2024"

[workspace.dependencies]
beetswap = "0.5"
blockstore = "0.8"
leopard-codec = "0.2"
lumina-node = { version = "0.18.2", path = "node" }
Expand Down Expand Up @@ -94,7 +93,6 @@ web-sys = "0.3.70"

[patch.crates-io]
# Uncomment to apply local changes
# beetswap = { path = "../beetswap" }
# blockstore = { path = "../blockstore" }
# nmt-rs = { path = "../nmt-rs" }
# libp2p = { path = "../../rust-libp2p/libp2p" }
Expand Down
4 changes: 2 additions & 2 deletions ci/Dockerfile.node
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ FROM docker.io/alpine:3.20
RUN apk update && apk add --no-cache bash jq dasel

# Copy in the binary
COPY --from=ghcr.io/celestiaorg/celestia-node:v0.28.2 /bin/celestia /bin/celestia
COPY --from=ghcr.io/celestiaorg/celestia-node:v0.28.2 /bin/cel-key /bin/cel-key
COPY --from=celestia-node /bin/celestia /bin/celestia
COPY --from=celestia-node /bin/cel-key /bin/cel-key

COPY ./run-node.sh /opt/entrypoint.sh

Expand Down
6 changes: 3 additions & 3 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:

node-0:
image: node
platform: "linux/amd64"
# platform: "linux/amd64"
build:
context: .
dockerfile: Dockerfile.node
Expand All @@ -63,7 +63,7 @@ services:

node-1:
image: node
platform: "linux/amd64"
# platform: "linux/amd64"
build:
context: .
dockerfile: Dockerfile.node
Expand All @@ -76,7 +76,7 @@ services:

node-2:
image: node
platform: "linux/amd64"
# platform: "linux/amd64"
build:
context: .
dockerfile: Dockerfile.node
Expand Down
30 changes: 15 additions & 15 deletions flake.lock

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

12 changes: 6 additions & 6 deletions node-uniffi/src/types/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ pub enum NodeEvent {
/// The column of the share.
column: u16,
/// Share sampling timed out.
timed_out: bool,
failed: bool,
},
/// Sampling result.
SamplingResult {
/// The block height that was sampled.
height: u64,
/// Sampling timed out.
timed_out: bool,
failed: bool,
/// How much time sampling took in milliseconds.
took_ms: u64,
},
Expand Down Expand Up @@ -187,21 +187,21 @@ impl From<LuminaNodeEvent> for NodeEvent {
square_width,
row,
column,
timed_out,
failed,
} => NodeEvent::ShareSamplingResult {
height,
square_width,
row,
column,
timed_out,
failed,
},
LuminaNodeEvent::SamplingResult {
height,
timed_out,
failed,
took,
} => NodeEvent::SamplingResult {
height,
timed_out,
failed,
took_ms: took.as_millis() as u64,
},
LuminaNodeEvent::FatalDaserError { error } => NodeEvent::FatalDaserError { error },
Expand Down
Loading
Loading