Skip to content

Commit f93ff5b

Browse files
committed
Update proxy pallet name
1 parent 08d00b6 commit f93ff5b

File tree

11 files changed

+22
-24
lines changed

11 files changed

+22
-24
lines changed

Cargo.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
2-
name = "pallet-proxy"
2+
name = "pallet-proxy-financial"
33
version = "4.0.0-dev"
4-
description = "Proxy migration pallet"
4+
description = "Proxy Financial Pallet"
55
authors = ["Hashed <https://github.com/hashed-io"]
66
homepage = "https://hashed.io"
77
edition = "2021"
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,8 +844,6 @@ impl<T: Config> Pallet<T> {
844844
creator: Some(admin.clone()),
845845
};
846846

847-
let draws = DrawdownsByProjectByType::<T>::get(project_id, _);
848-
849847
// Insert drawdown data
850848
// Ensure drawdown id is unique
851849
ensure!(!DrawdownsInfo::<T>::contains_key(drawdown_id), Error::<T>::DrawdownAlreadyExists);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate as pallet_proxy;
1+
use crate as pallet_proxy_financial;
22
use frame_support::parameter_types;
33
use frame_system as system;
44
use sp_core::H256;
@@ -20,7 +20,7 @@ frame_support::construct_runtime!(
2020
UncheckedExtrinsic = UncheckedExtrinsic,
2121
{
2222
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
23-
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>},
23+
Proxy: pallet_proxy_financial::{Pallet, Call, Storage, Event<T>},
2424
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
2525
RBAC: pallet_rbac::{Pallet, Call, Storage, Event<T>},
2626
}
@@ -81,7 +81,7 @@ parameter_types! {
8181

8282
}
8383

84-
impl pallet_proxy::Config for Test {
84+
impl pallet_proxy_financial::Config for Test {
8585
type Event = Event;
8686
type RemoveOrigin = EnsureRoot<Self::AccountId>;
8787
type ProjectNameMaxLen = ProjectNameMaxLen;

runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pallet-bitcoin-vaults = { default-features = false, path = "../pallets/bitcoin-v
6767
pallet-gated-marketplace = { default-features = false, path = "../pallets/gated-marketplace" }
6868
pallet-rbac = { default-features = false, path = "../pallets/rbac" }
6969
pallet-confidential-docs = { default-features = false, path = "../pallets/confidential-docs" }
70-
pallet-proxy = { default-features = false, path = "../pallets/proxy" }
70+
pallet-proxy-financial = { default-features = false, path = "../pallets/proxy-financial" }
7171

7272

7373
[build-dependencies]
@@ -107,7 +107,7 @@ std = [
107107
"pallet-gated-marketplace/std",
108108
"pallet-rbac/std",
109109
"pallet-confidential-docs/std",
110-
"pallet-proxy/std",
110+
"pallet-proxy-financial/std",
111111
"sp-api/std",
112112
"sp-block-builder/std",
113113
"sp-consensus-aura/std",

0 commit comments

Comments
 (0)