Skip to content
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
13 changes: 1 addition & 12 deletions 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 node/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node-cli"
version = "0.9.6"
version = "0.9.8"
authors = ["Liebi Technologies <bifrost@liebi.com>"]
description = "Bifrost Parachain Node"
build = "build.rs"
Expand Down
11 changes: 1 addition & 10 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ where
///
/// This is the actual implementation that is abstract over the executor and the
/// runtime api.
#[sc_tracing::logging::prefix_logs_with("Parachain")]
#[sc_tracing::logging::prefix_logs_with("Parachain🌈")]
async fn start_node_impl<RB, RuntimeApi, Executor, BIC>(
parachain_config: Configuration,
polkadot_config: Configuration,
Expand Down Expand Up @@ -340,15 +340,6 @@ where
})
};

if parachain_config.offchain_worker.enabled {
sc_service::build_offchain_workers(
&parachain_config,
task_manager.spawn_handle(),
client.clone(),
network.clone(),
);
};

sc_service::spawn_tasks(sc_service::SpawnTasksParams {
on_demand: None,
remote_blockchain: None,
Expand Down
19 changes: 0 additions & 19 deletions pallets/salp-lite/rpc/Cargo.toml

This file was deleted.

18 changes: 0 additions & 18 deletions pallets/salp-lite/rpc/runtime-api/Cargo.toml

This file was deleted.

35 changes: 0 additions & 35 deletions pallets/salp-lite/rpc/runtime-api/src/lib.rs

This file was deleted.

86 changes: 0 additions & 86 deletions pallets/salp-lite/rpc/src/lib.rs

This file was deleted.

32 changes: 0 additions & 32 deletions pallets/salp-lite/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,38 +72,6 @@ benchmarks! {
assert_last_event::<T>(Event::<T>::Refunded(caller.clone(), fund_index, contribution).into())
}

unlock {
let fund_index = create_fund::<T>(1);
let caller: T::AccountId = whitelisted_caller();
let caller_origin: T::Origin = RawOrigin::Signed(caller.clone()).into();
let contribution = T::MinContribution::get();
contribute_fund::<T>(&caller,fund_index);
assert_ok!(Salp::<T>::fund_success(RawOrigin::Root.into(), fund_index));
}: _(RawOrigin::Root, caller.clone(),fund_index)
verify {
let fund = Salp::<T>::funds(fund_index).unwrap();
let (_, status) = Salp::<T>::contribution(fund.trie_index, &caller);
assert_eq!(status, ContributionStatus::Unlocked);
}

batch_unlock {
let k in 1 .. T::BatchKeysLimit::get();
let fund_index = create_fund::<T>(1);
let contribution = T::MinContribution::get();
let mut caller: T::AccountId = whitelisted_caller();
for i in 0 .. k {
caller = account("contributor", i, 0);
contribute_fund::<T>(&caller,fund_index);
}
assert_ok!(Salp::<T>::fund_success(RawOrigin::Root.into(), fund_index));
}: _(RawOrigin::Signed(caller.clone()), fund_index)
verify {
let fund = Salp::<T>::funds(fund_index).unwrap();
let (_, status) = Salp::<T>::contribution(fund.trie_index, &caller);
assert_eq!(status, ContributionStatus::Unlocked);
assert_last_event::<T>(Event::<T>::AllUnlocked(fund_index).into());
}

redeem {
let fund_index = create_fund::<T>(1);
let caller: T::AccountId = whitelisted_caller();
Expand Down
Loading