Skip to content

Commit

Permalink
add random str
Browse files Browse the repository at this point in the history
  • Loading branch information
kmd-fl committed Sep 13, 2024
1 parent 95bf9d3 commit 8d9d0c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/services/vm_effector/vm_effector/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ module_manifest!();

const VERSION: &str = env!("CARGO_PKG_VERSION");

const RANDOM_ID: &str = "bafkreiei3vrjgjfbzsayj6jmvebbpxvuafv2ypfzatzm5zuufoh7aaqy5m";

pub fn main() {}

#[marine]
pub fn version() -> String {
VERSION.to_string()
}


#[marine]
pub fn random_id() -> String {
RANDOM_ID.to_string()
}

0 comments on commit 8d9d0c3

Please sign in to comment.