Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump some artifact versions as the major update #430

Merged
merged 6 commits into from
Jan 17, 2025
Merged
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
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions pallets/file-bank/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ impl<T: Config> Pallet<T> {
false
}

// FIXME: Will this function still be used?
#[allow(dead_code)]
pub(super) fn check_name_spec(name: Vec<u8>) -> bool {
let mut point_flag: bool = false;
let mut count = 0;
Expand Down
2 changes: 1 addition & 1 deletion pallets/file-bank/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ use frame_support::{
PalletId,
dispatch::DispatchResult,
pallet_prelude::*,
weights::{Weight, WeightMeter},
weights::Weight,
};
use frame_system::pallet_prelude::*;
use scale_info::TypeInfo;
Expand Down
10 changes: 7 additions & 3 deletions pallets/file-bank/src/migration.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
use super::*;
use sp_std::collections::btree_map::BTreeMap;
use sp_runtime::{TryRuntimeError};
use frame_support::{
storage_alias, weights::WeightMeter,
storage_alias,
migrations::{MigrationId, SteppedMigration, SteppedMigrationError},
};

#[cfg(feature = "try-runtime")]
use sp_runtime::Vec;
#[cfg(feature = "try-runtime")]
use sp_std::collections::btree_map::BTreeMap;
#[cfg(feature = "try-runtime")]
use sp_runtime::{TryRuntimeError};
#[cfg(feature = "try-runtime")]
use frame_support::weights::WeightMeter;

pub const PALLET_MIGRATIONS_ID: &[u8; 26] = b"pallet-file-bank-migration";

Expand Down
2 changes: 1 addition & 1 deletion pallets/sminer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use cp_bloom_filter::BloomFilter;
use cp_cess_common::*;
use frame_support::{
dispatch::DispatchResult,
ensure, weights::{Weight, WeightMeter},
ensure, weights::Weight,
pallet_prelude::DispatchError,
storage::bounded_vec::BoundedVec,
traits::{
Expand Down
3 changes: 2 additions & 1 deletion pallets/sminer/src/migration.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use super::*;
#[cfg(feature = "try-runtime")]
use sp_runtime::{TryRuntimeError};
#[cfg(feature = "try-runtime")]
use sp_std::collections::btree_map::BTreeMap;
Expand Down Expand Up @@ -110,7 +111,7 @@ impl<T: Config, W: weights::WeightInfo> SteppedMigration for SteppedSminer<T, W>
}

pub mod v2 {
use super::{*, MinerItems as NewMinerItems};
use super::*;

#[storage_alias]
pub type MinerItems<T: Config> = StorageMap<Pallet<T>, Blake2_128Concat, AccountOf<T>, OldMinerInfo<T>>;
Expand Down
2 changes: 1 addition & 1 deletion standalone/chain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = '2021'
license = 'Unlicense'
name = 'cess-node'
repository = 'https://github.com/CESSProject/cess'
version = '0.8.2'
version = '0.9.0'

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
5 changes: 3 additions & 2 deletions standalone/teeworker/ceseal/Cargo.lock

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

2 changes: 1 addition & 1 deletion standalone/teeworker/ceseal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ceseal"
version = "0.3.4"
version = "0.4.0"
build = "build.rs"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion standalone/teeworker/cifrost/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cifrost"
version = "0.2.3"
version = "0.3.0"
authors = ["CESS Network"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion standalone/teeworker/handover/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "handover"
version = "0.1.1"
version = "0.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
Loading