Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 973349f

Browse files
authored
fix(ci): fix canary build and re-enable docs (#690)
* fix(ci): fix `canary` build and re-enable `docs` * Fix docs
1 parent da624f1 commit 973349f

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ jobs:
5858

5959
docs:
6060
runs-on: ubuntu-latest
61-
# There is an ICE in rustc nightly which prevents this workflow from running:
62-
# https://github.com/rust-lang/rust/issues/101844
63-
# Until this is resolved, we allow this job to fail.
64-
continue-on-error: true
6561
env:
6662
RUSTDOCFLAGS: "-D warnings"
6763
steps:

src/bin/inx-chronicle/launcher.rs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
use async_trait::async_trait;
55
use bytesize::ByteSize;
66
use chronicle::{
7-
db::{
8-
collections::{BlockCollection, LedgerUpdateCollection, MilestoneCollection, OutputCollection},
9-
MongoDb,
10-
},
7+
db::MongoDb,
118
runtime::{Actor, ActorContext, ErrorLevel, RuntimeError},
129
};
1310
use clap::Parser;
@@ -80,10 +77,18 @@ impl Actor for Launcher {
8077

8178
#[cfg(feature = "stardust")]
8279
{
83-
db.collection::<OutputCollection>().create_indexes().await?;
84-
db.collection::<BlockCollection>().create_indexes().await?;
85-
db.collection::<LedgerUpdateCollection>().create_indexes().await?;
86-
db.collection::<MilestoneCollection>().create_indexes().await?;
80+
db.collection::<chronicle::db::collections::OutputCollection>()
81+
.create_indexes()
82+
.await?;
83+
db.collection::<chronicle::db::collections::BlockCollection>()
84+
.create_indexes()
85+
.await?;
86+
db.collection::<chronicle::db::collections::LedgerUpdateCollection>()
87+
.create_indexes()
88+
.await?;
89+
db.collection::<chronicle::db::collections::MilestoneCollection>()
90+
.create_indexes()
91+
.await?;
8792
}
8893

8994
#[cfg(all(feature = "inx", feature = "stardust"))]

src/types/stardust/block/output/unlock_condition/timelock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mod rand {
3636
use super::*;
3737

3838
impl TimelockUnlockCondition {
39-
/// Generates a random [`StorageDepositReturnUnlockCondition`].
39+
/// Generates a random [`TimelockUnlockCondition`].
4040
pub fn rand() -> Self {
4141
Self {
4242
timestamp: rand_number::<u32>().into(),

src/types/stardust/block/signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ mod rand {
5050
use super::*;
5151

5252
impl Signature {
53-
/// Generates a random [`Signature`] with an [`Ed25519Signature`].
53+
/// Generates a random [`Signature`] with an [`bee::Ed25519Signature`].
5454
pub fn rand() -> Self {
5555
Self::from(&bee::Signature::Ed25519(bee::Ed25519Signature::new(
5656
rand_bytes_array(),

0 commit comments

Comments
 (0)