update for slow-claps: remove companions, updgrade block range storage, new way of commission accumulation
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
561d4430b4
commit
fa2cb811a8
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3834,7 +3834,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ghost-slow-clap"
|
||||
version = "0.3.15"
|
||||
version = "0.3.16"
|
||||
dependencies = [
|
||||
"frame-benchmarking",
|
||||
"frame-support",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ghost-slow-clap"
|
||||
version = "0.3.15"
|
||||
version = "0.3.16"
|
||||
description = "Applause protocol for the EVM bridge"
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
|
949
pallets/slow-clap/src/lib.rs
Executable file → Normal file
949
pallets/slow-clap/src/lib.rs
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
@ -1,18 +1,11 @@
|
||||
use frame_support::weights::Weight;
|
||||
|
||||
pub trait WeightInfo {
|
||||
fn slow_clap(claps_len: u32, companions_len: u32) -> Weight;
|
||||
fn propose_companion() -> Weight;
|
||||
fn release_companion() -> Weight;
|
||||
fn kill_companion() -> Weight;
|
||||
fn slow_clap() -> Weight;
|
||||
fn applause()-> Weight;
|
||||
}
|
||||
|
||||
impl WeightInfo for () {
|
||||
fn slow_clap(
|
||||
_claps_len: u32,
|
||||
_companions_len: u32,
|
||||
) -> Weight { Weight::zero() }
|
||||
fn propose_companion() -> Weight { Weight::zero() }
|
||||
fn release_companion() -> Weight { Weight::zero() }
|
||||
fn kill_companion() -> Weight { Weight::zero() }
|
||||
fn slow_clap()-> Weight { Weight::zero() }
|
||||
fn applause()-> Weight { Weight::zero() }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user