Skip to content

Commit

Permalink
chore: useless balance_old removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Mar 4, 2024
1 parent 267ce2b commit 639b3fb
Show file tree
Hide file tree
Showing 18 changed files with 138 additions and 5,517 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@

.vscode
vendor/
/frame/balances_old/
268 changes: 134 additions & 134 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frame/balances/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use std::marker::{Send, Sync};

pub use pallet_balances_rpc_runtime_api::BalancesApi as BalancesRuntimeApi;

/// RPC trait that provides methods for interacting with the dev balances_old functionalities.
/// RPC trait that provides methods for interacting with the dev balances functionalities.
#[rpc(server)]
#[async_trait]
pub trait BalancesApi<BlockHash, AccountId, Balance> {
Expand Down
6 changes: 3 additions & 3 deletions frame/balances/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ pub mod pallet {

/// [Swanky Node specific]
/// We use unsigned extrinsic for `set_free_balance` call.
/// Modification added to the original pallet balances_old.
/// Modification added to the original pallet balances.
#[pallet::validate_unsigned]
impl<T: Config> ValidateUnsigned for Pallet<T> {
type Call = Call<T>;
Expand Down Expand Up @@ -630,8 +630,8 @@ pub mod pallet {
}

/// [Swanky Node specific]
/// Set the free balances_old of a given account.
/// This call is only for local development purpose which doesn't exist in official balances_old
/// Set the free balances of a given account.
/// This call is only for local development purpose which doesn't exist in official balances
/// pallet.
///
/// This will alter `FreeBalance` and `ReservedBalance` (in particular conditions) in
Expand Down
47 changes: 0 additions & 47 deletions frame/balances_old/Cargo.toml

This file was deleted.

125 changes: 0 additions & 125 deletions frame/balances_old/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions frame/balances_old/rpc/Cargo.toml

This file was deleted.

30 changes: 0 additions & 30 deletions frame/balances_old/rpc/runtime-api/Cargo.toml

This file was deleted.

17 changes: 0 additions & 17 deletions frame/balances_old/rpc/runtime-api/src/lib.rs

This file was deleted.

Loading

0 comments on commit 639b3fb

Please sign in to comment.