Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #147 from Acurast/release/0.2.4
Browse files Browse the repository at this point in the history
release/0.2.4 to main
  • Loading branch information
RomarQ authored Jan 16, 2024
2 parents a474a8d + be968e5 commit 58828f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude = ["pallets/proxy"]
[workspace.package]
authors = [ "Papers AG" ]
repository = "https://github.com/Acurast/acurast-core"
version = "0.2.3"
version = "0.2.4"

# TODO: Temporary workaround (https://substrate.stackexchange.com/questions/9870)
[patch.crates-io]
Expand Down
3 changes: 2 additions & 1 deletion pallets/marketplace/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub struct Assignment<Reward> {
pub pub_keys: PubKeys,
}

pub const NUMBER_OF_PUB_KEYS: u32 = 2;
pub const NUMBER_OF_PUB_KEYS: u32 = 3;
pub const PUB_KEYS_MAX_LENGTH: u32 = 33;

pub type PubKeyBytes = BoundedVec<u8, ConstU32<PUB_KEYS_MAX_LENGTH>>;
Expand All @@ -153,6 +153,7 @@ pub type PubKeys = BoundedVec<PubKey, ConstU32<NUMBER_OF_PUB_KEYS>>;
pub enum PubKey {
SECP256r1(PubKeyBytes),
SECP256k1(PubKeyBytes),
ED25519(PubKeyBytes),
}

pub type AssignmentFor<T> = Assignment<<T as Config>::Balance>;
Expand Down

0 comments on commit 58828f3

Please sign in to comment.