Skip to content

Commit

Permalink
add slashing mechanism, improve errors, improve performances when unb…
Browse files Browse the repository at this point in the history
…onding
  • Loading branch information
Leouarz committed Oct 19, 2024
1 parent d52e0eb commit a6283f9
Show file tree
Hide file tree
Showing 11 changed files with 1,502 additions and 1,590 deletions.
1,049 changes: 474 additions & 575 deletions avail-rust/src/api_dev.rs

Large diffs are not rendered by default.

981 changes: 442 additions & 539 deletions avail-subxt/src/api_dev.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pallets/fusion/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ mod benchmarks {
use super::*;

#[benchmark]
fn kick_user() -> Result<(), BenchmarkError> {
fn set_slash_destination() -> Result<(), BenchmarkError> {
let origin = RawOrigin::Root;

#[extrinsic_call]
_(origin, EvmAddress::zero());
_(origin, Some(EvmAddress::zero()), None);

Ok(())
}
Expand Down
Loading

0 comments on commit a6283f9

Please sign in to comment.