Where are g1 specific parameters in gtest ?
name: g1 specific parameters
about: Ask a question about duniter-v2s and gtest.
title: "Where are g1 specific parameters in gtest ?"
labels: question
With the gdev, I can obtain the ud and identity parameters with :
const parameters = await api.query.Parameters.ParametersStorage.getValue()
expect(parameters).toMatchInlineSnapshot(`
{
"babe_epoch_duration": 30n,
"cert_max_by_issuer": 10,
"cert_min_received_cert_to_issue_cert": 2,
"cert_period": 15,
"cert_validity_period": 1000,
"distance_evaluation_period": 1000,
"idty_confirm_period": 40,
"idty_creation_period": 50,
"membership_period": 1000,
"membership_renewal_period": 500,
"smith_cert_max_by_issuer": 8,
"smith_inactivity_max_duration": 48,
"smith_wot_min_cert_for_membership": 2,
"ud_creation_period": 60000n,
"ud_reeval_period": 600000n,
"wot_first_cert_issuable_on": 20,
"wot_min_cert_for_create_idty_right": 2,
"wot_min_cert_for_membership": 2,
}
`)
})
But I can't get this parameters with the gtest (spec_version: 1000). How to get this info ?