mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 02:32:16 +00:00
update to marine, marine-test, bump versions
This commit is contained in:
parent
0f1425c650
commit
38e8d13b31
@ -19,7 +19,7 @@ use crate::Result;
|
||||
use fluence::marine;
|
||||
use serde_json::Value;
|
||||
|
||||
#[fce]
|
||||
#[marine]
|
||||
#[derive(Debug)]
|
||||
pub struct JsonRpcResult {
|
||||
pub jsonrpc: String,
|
||||
@ -59,7 +59,7 @@ impl From<Result<String>> for JsonRpcResult {
|
||||
}
|
||||
}
|
||||
|
||||
#[fce]
|
||||
#[marine]
|
||||
#[derive(Debug)]
|
||||
pub struct TestResult {
|
||||
pub test_passed: bool,
|
||||
|
@ -50,7 +50,7 @@ pub struct InitResult {
|
||||
pub err_msg: String,
|
||||
}
|
||||
|
||||
#[fmarinece]
|
||||
#[marine]
|
||||
pub fn init_service() -> InitResult {
|
||||
if !is_owner() {
|
||||
return InitResult {
|
||||
|
Loading…
x
Reference in New Issue
Block a user