-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fifth iteration of the Court pallet #233
Conversation
/// For each market, this holds the dispute information for each dispute that's | ||
/// been issued. | ||
#[pallet::storage] | ||
pub type Disputes<T: Config> = StorageMap< | ||
_, | ||
Blake2_128Concat, | ||
MarketIdOf<T>, | ||
Vec<MarketDispute<T::AccountId, T::BlockNumber>>, | ||
ValueQuery, | ||
>; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving back to PM because Disputes
is used by court
and simple-disputes
#231 was merged, conflicts need to get fixed here |
primitives/src/constants.rs
Outdated
@@ -25,6 +25,12 @@ parameter_types! { | |||
pub const MaxReserves: u32 = 50; | |||
} | |||
|
|||
// Court | |||
parameter_types! { | |||
pub const CourtCaseDuration: u64 = 2 * BLOCKS_PER_DAY; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pub const CourtCaseDuration: u64 = 2 * BLOCKS_PER_DAY; | |
pub const CourtCaseDuration: u64 = BLOCKS_PER_DAY; |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank you guys |
depends on #231
cc #200
on_dispute
implementation