Skip to content

Commit

Permalink
style: update audit param (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytqaljn authored Jan 6, 2025
1 parent 2e17d16 commit 94cad0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/audit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ pub mod pallet {
weight = weight.saturating_add(T::DbWeight::get().reads_writes(1, 1));
}

if count >= 30 {
if count >= 100 {
let result = T::MinerControl::force_miner_exit(&miner);
weight = weight.saturating_add(T::DbWeight::get().reads_writes(5, 5));
if result.is_err() {
Expand Down
2 changes: 1 addition & 1 deletion standalone/chain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,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: 122,
spec_version: 124,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 94cad0f

Please sign in to comment.