Skip to content

Commit

Permalink
Compiling stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dastansam committed Jan 29, 2024
1 parent a36d88d commit b0371f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
resolver = "2"

[workspace.package]
name = "iso8583-chain"
authors = ["Dastanbek Samatov <dastanbeksamatov@gmail.com>"]
edition = "2021"
license = "MIT-0"
Expand Down
2 changes: 1 addition & 1 deletion pallets/iso-8583/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pallet-timestamp = { workspace = true }
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-benchmarking",
"frame-support/std",
"frame-system/std",
"scale-info/std",
Expand Down
9 changes: 5 additions & 4 deletions pallets/iso-8583/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ mod traits;
mod types;

use frame_support::{
dispatch::Vec,
pallet_prelude::{ValueQuery, *},
traits::{BuildGenesisConfig, Currency, ReservableCurrency},
};
use frame_system::{ensure_signed, pallet_prelude::OriginFor};
use sp_runtime::Saturating;

use frame_support::weights::WeightToFee;
use frame_system::pallet_prelude::*;

pub use pallet::*;
use traits::*;
use types::*;
Expand All @@ -28,9 +32,6 @@ mod tests;
pub mod pallet {
use super::*;

use frame_support::weights::WeightToFee;
use frame_system::pallet_prelude::*;

#[pallet::pallet]
pub struct Pallet<T>(_);

Expand Down Expand Up @@ -277,8 +278,8 @@ pub mod pallet {
fn offchain_worker(_now: BlockNumberFor<T>) {}
}

#[derive(frame_support::DefaultNoBound)]
#[pallet::genesis_config]
#[derive(frame_support::DefaultNoBound)]
pub struct GenesisConfig<T: Config> {
pub oracle_accounts: Vec<AccountIdOf<T>>,
pub accounts: Vec<AccountIdOf<T>>,
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iso-8583-runtime"
version = "0.1.0"
description = "Template node for ISO-8583 demo"
description = "Template runtime for ISO-8583 demo"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down

0 comments on commit b0371f4

Please sign in to comment.