Configuration wot noeud dev local

J’ai un problème avec ma config de noeud dev local, dont voici le json:

{
  "first_ud": 1000,
  "first_ud_reeval": 100,
  "identities": {
    "poka": {
      "balance": 1000,
      "certs": ["ChristCosmic", "poka2", "poka3", "poka4"],
      "pubkey": "5CQ8T4qpbYJq7uVsxGPQ5q2df7x3Wa4aRY6HUWMBYjfLZhnn"
    },
    "ChristCosmic": {
      "balance": 1000,
      "certs": ["poka", "poka2"],
      "pubkey": "5CJKhFCpdSpumgWjSZ3TQmejJuHV6iELJrtdrfs38SXuiQeB"
    },
    "poka2": {
      "balance": 1000,
      "certs": ["poka", "ChristCosmic", "poka3", "poka4"],
      "pubkey": "5CXrPW6v6gakVUrip6ZoXzP7jwz6YeRGdujG2NYGCEDTWHeb"
    },
    "poka3": {
      "balance": 1000,
      "certs": ["poka", "ChristCosmic", "poka2", "poka4"],
      "pubkey": "5G27hLdxFgtaZtwFDhs6iMp5fBgwCaoEXaKFJzk16wV6MhnG"
    },
    "poka4": {
      "balance": 1000,
      "certs": ["poka", "ChristCosmic", "poka2", "poka3"],
      "pubkey": "5Chxv8CqEKGam6tDK4MJ3tnGePSkcgmTo1qkMTZuxiV2aPGN"
    }
  },
  "parameters": {
    "babe_epoch_duration": 30,
    "cert_period": 15,
    "cert_max_by_issuer": 10,
    "cert_min_received_cert_to_issue_cert": 2,
    "cert_validity_period": 1000,
    "idty_confirm_period": 40,
    "idty_creation_period": 50,
    "membership_period": 1000,
    "pending_membership_period": 500,
    "ud_creation_period": 10,
    "ud_reeval_period": 50,
    "smith_cert_period": 15,
    "smith_cert_max_by_issuer": 8,
    "smith_cert_min_received_cert_to_issue_cert": 2,
    "smith_cert_validity_period": 1000,
    "smith_membership_period": 1000,
    "smith_pending_membership_period": 500,
    "smiths_wot_first_cert_issuable_on": 20,
    "smiths_wot_min_cert_for_membership": 2,
    "wot_first_cert_issuable_on": 20,
    "wot_min_cert_for_create_idty_right": 2,
    "wot_min_cert_for_membership": 2
  },
  "smiths": {
    "poka": {
      "certs": ["ChristCosmic", "poka2"]
    },
    "ChristCosmic": {
      "certs": ["poka", "poka2"]
    },
    "poka2": {
      "certs": ["poka", "ChristCosmic"]
    }
  },
  "sudo_key": "5CQ8T4qpbYJq7uVsxGPQ5q2df7x3Wa4aRY6HUWMBYjfLZhnn",
  "technical_committee": ["poka", "ChristCosmic", "poka2"]
}

Tout semble bien fonctionner, sauf que nextIssuableOn vaut 99015 blocs dès le début pour tous les membres, soit plus de 6 jours d’attente avant de pouvoir certifier qui que ce soit :thinking:

Je ne l’explique pas au vue de ma conf.

Certains paramètres qui ne s’appliquent que au genesis sont hardcodés, ici c’est genesis_certs_expire_on qui te produit cet effet, c’est justement un point sur lequel je prévoyais de bosser, sans doute ce week-end :slight_smile:

3 Likes