Skip to content

Commit

Permalink
style: adjustment param (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytqaljn authored Aug 19, 2024
1 parent 46b7960 commit 0a1d6e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pallets/sminer/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ pub(super) const STATE_OFFLINE: &str = "offline";

pub(super) const FAUCET_VALUE: u128 = 10_000_000_000_000_000_000_000;

pub(super) const IDLE_MUTI: Perbill = Perbill::from_percent(30);
pub(super) const IDLE_MUTI: Perbill = Perbill::from_percent(5);

pub(super) const SERVICE_MUTI: Perbill = Perbill::from_percent(70);
pub(super) const SERVICE_MUTI: Perbill = Perbill::from_percent(95);

pub(super) const RELEASE_NUMBER: u8 = 90;

Expand Down
4 changes: 2 additions & 2 deletions standalone/chain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 116,
spec_version: 117,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -1515,7 +1515,7 @@ parameter_types! {
pub const MaxWhitelist: u32 = 200;
pub const NoneAttestationEnabled: bool = if cfg!(not(feature = "only-attestation")) { true } else { false };
pub const VerifyCeseal: bool = if cfg!(not(feature = "verify-cesealbin")) { false } else { true };
pub const AtLeastWorkBlock: BlockNumber = DAYS;
pub const AtLeastWorkBlock: BlockNumber = DAYS / 2;
}

impl pallet_tee_worker::Config for Runtime {
Expand Down

0 comments on commit 0a1d6e0

Please sign in to comment.