Skip to content

Commit

Permalink
ocw pallet mock + runtime related code added
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi3700 committed Jul 25, 2023
1 parent fb17c5f commit 9d6f676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pallets/ocw/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ where
impl pallet_ocw::Config for Test {
type RuntimeEvent = RuntimeEvent;
type AuthorityId = pallet_ocw::crypto::TestAuthId;
type MaxPrices = ConstU32<64>;
}

fn test_pub() -> sp_core::sr25519::Public {
Expand Down
1 change: 1 addition & 0 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ impl pallet_eosio_system::Config for Runtime {
impl pallet_ocw::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type AuthorityId = pallet_ocw::crypto::TestAuthId;
type MaxPrices = ConstU32<64>;
}

use codec::Encode;
Expand Down

0 comments on commit 9d6f676

Please sign in to comment.