Skip to content
Snippets Groups Projects
Unverified Commit 11bc1f6e authored by Éloïs's avatar Éloïs
Browse files

Update gtests parameters according to Hugo suggestion

parent 24634c6b
No related branches found
No related tags found
No related merge requests found
Pipeline #40961 failed
......@@ -22,7 +22,7 @@ fn main() {
#[cfg(feature = "metadata-hash")]
substrate_wasm_builder::WasmBuilder::init_with_defaults()
.enable_metadata_hash(D", 2)
.enable_metadata_hash(T", 2)
.build();
}
}
......@@ -85,7 +85,7 @@ parameter_types! {
// 0.002_381_440 = 0.0488^2
pub const SquareMoneyGrowthRate: Perbill = Perbill::from_parts(2_381_440);
pub const UdCreationPeriod: BlockNumber = 86_400_000; // 1 day
pub const UdReevalPeriod: BlockNumber = 7 * 86_400_000; // 7 days
pub const UdReevalPeriod: BlockNumber = 182 * 86_400_000; // 180 days
}
/*******/
......@@ -102,7 +102,7 @@ parameter_types! {
// Identity
parameter_types! {
pub const ChangeOwnerKeyPeriod: BlockNumber = MONTHS;
pub const ConfirmPeriod: BlockNumber = 10 * DAYS;
pub const ConfirmPeriod: BlockNumber = 2 * MONTHS;
pub const IdtyCreationPeriod: BlockNumber = 1 * DAYS;
pub const AutorevocationPeriod: BlockNumber = YEARS;
pub const DeletionPeriod: BlockNumber = 10 * YEARS;
......@@ -110,13 +110,13 @@ parameter_types! {
// Membership
parameter_types! {
pub const MembershipPeriod: BlockNumber = 73 * DAYS;
pub const MembershipPeriod: BlockNumber = 1 * YEARS;
pub const MembershipRenewalPeriod: BlockNumber = 56 * DAYS;
}
// Certification
parameter_types! {
pub const CertPeriod: BlockNumber = DAYS;
pub const CertPeriod: BlockNumber = 5 * DAYS;
pub const MaxByIssuer: u32 = 100;
pub const ValidityPeriod: BlockNumber = 146 * DAYS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment