Skip to content

Commit

Permalink
Update workflows to target 'dev' branch and rename storage module
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesatomc committed Jan 29, 2025
1 parent d7a0e68 commit af4b341
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 79 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_node_devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Run Kari Node

on:
push:
branches: [ "main" ]
branches: [ "dev" ]
tags: "v*"
pull_request:
branches: [ "main" ]
branches: [ "dev" ]

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: [ "dev" ]
tags: "v*"
pull_request:
branches: [ "main" ]
branches: [ "dev" ]

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ rpc-api = { path = "crates/rpc/rpc-api" }


#Storage Path List
storage = { path = "monaos/storage" }
mona-storage = { path = "monaos/mona-storage" }
mona-types = { path = "monaos/mona-types" }
mona-enum-compat-util = { path = "monaos/mona-enum-compat-util" }

Expand Down
3 changes: 3 additions & 0 deletions crates/core/k2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ env_logger.workspace = true
colored.workspace = true
thiserror.workspace = true


mona-storage.workspace = true

# MoveVM
move-bytecode-verifier.workspace = true
move-disassembler.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/core/k2/src/blockchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use crate::transaction::{Transaction, TransactionType};
use bincode;
use consensus_pos::Blake3Algorithm;
use dirs;
use storage::{BlockchainStorage, RocksDBStorage, StorageError};
mod storage;
use mona_storage::{BlockchainStorage, RocksDBStorage, StorageError};


use std::collections::{HashMap, VecDeque};
use std::fs;
Expand Down
2 changes: 1 addition & 1 deletion crates/core/wallet/key/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bip39.workspace = true
secp256k1.workspace = true
rand.workspace = true
hex.workspace = true
serde_json = { workspace = true , default-features = false, features = ["alloc"] }
serde_json = { workspace = true , default-features = true }
lazy_static.workspace = true
consensus-pos.workspace = true

Expand Down
3 changes: 0 additions & 3 deletions framework/kanari-system/sources/kanari_system.move

This file was deleted.

10 changes: 7 additions & 3 deletions monaos/storage/Cargo.toml → monaos/mona-storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "storage"
name = "mona-storage"
edition.workspace = true
categories.workspace = true
keywords.workspace = true
Expand All @@ -14,7 +14,11 @@ description.workspace = true
[dependencies]
move-core-types.workspace =true
async-trait = "0.1"
thiserror = "2.0.9"

serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
tokio = { version = "1.0", features = ["full"] }
tokio = { version = "1.0", features = ["full"] }

rocksdb.workspace = true
bincode.workspace = true
thiserror.workspace = true
File renamed without changes.
10 changes: 0 additions & 10 deletions monaos/storage/src/config.rs

This file was deleted.

16 changes: 0 additions & 16 deletions monaos/storage/src/errors.rs

This file was deleted.

9 changes: 0 additions & 9 deletions monaos/storage/src/lib.rs

This file was deleted.

17 changes: 0 additions & 17 deletions monaos/storage/src/models.rs

This file was deleted.

13 changes: 0 additions & 13 deletions monaos/storage/src/storage.rs

This file was deleted.

0 comments on commit af4b341

Please sign in to comment.