Skip to content

Commit

Permalink
fixup for rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
OverOrion committed Jun 8, 2023
1 parent 661d3e5 commit e7cc921
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 0 additions & 2 deletions ceremonies/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ pub mod pallet {
use frame_support::pallet_prelude::*;
use frame_system::pallet_prelude::*;

const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::without_storage_info]
pub struct Pallet<T>(PhantomData<T>);
Expand Down
2 changes: 0 additions & 2 deletions communities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ pub mod pallet {
use frame_support::pallet_prelude::*;
use frame_system::pallet_prelude::*;

const STORAGE_VERSION: StorageVersion = StorageVersion::new(1);

#[pallet::pallet]
#[pallet::without_storage_info]
pub struct Pallet<T>(PhantomData<T>);
Expand Down
11 changes: 5 additions & 6 deletions faucet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub mod pallet {
{
#[pallet::call_index(0)]
#[pallet::weight({10_000})]
pub fn drip(
pub fn create_faucet(
origin: OriginFor<T>,
name: FaucetNameType,
amount: BalanceOf<T>,
Expand Down Expand Up @@ -141,10 +141,9 @@ pub mod pallet {

Ok(().into())
}

#[pallet::call_index(1)]
#[pallet::weight({10_000})]
pub fn set_drip_amount(
pub fn drip(
origin: OriginFor<T>,
faucet_account: T::AccountId,
cid: CommunityIdentifier,
Expand Down Expand Up @@ -184,7 +183,7 @@ pub mod pallet {
}

#[pallet::call_index(2)]
#[pallet::weight(10_000)]
#[pallet::weight({10_000})]
pub fn dissolve_faucet(
origin: OriginFor<T>,
faucet_account: T::AccountId,
Expand Down Expand Up @@ -213,7 +212,7 @@ pub mod pallet {
}

#[pallet::call_index(3)]
#[pallet::weight(10_000)]
#[pallet::weight({10_000})]
pub fn close_faucet(
origin: OriginFor<T>,
faucet_account: T::AccountId,
Expand Down Expand Up @@ -248,7 +247,7 @@ pub mod pallet {
}

#[pallet::call_index(4)]
#[pallet::weight(10_000)]
#[pallet::weight({10_000})]
pub fn set_reserve_amount(
origin: OriginFor<T>,
reserve_amount: BalanceOf<T>,
Expand Down

0 comments on commit e7cc921

Please sign in to comment.