# ĞDev5 smiths

**URL:** https://forum.duniter.org/t/gdev5-smiths/10234
**Category:** ĞDev
**Created:** [2 January 2023 15:58 UTC](https://forum.duniter.org/t/gdev5-smiths/10234 "2023-01-02T15:58:35Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [23 January 2023 15:51 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/41 "2023-01-23T15:51:16Z")

</div>

How many certs does this require? It was 3 when I tried on another iteration a few months ago.

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [23 January 2023 15:55 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/42 "2023-01-23T15:55:24Z")

</div>

It’s 3 smith certs, but 5 certs to become member on the _main_ wot. You already have 3, so 2 more needed 😉

 ![image](https://forum.duniter.org/uploads/default/original/2X/5/5bd4132508101f054a5d7efaad45636e8659063c.png)

- 2457 = HugoTrentesaux
- 6951 = Poka
- 7139 = tuxmain

---

<div class="post-metadata">

### Author: ![ManUtopiK](https://forum.duniter.org/user_avatar/forum.duniter.org/manutopik/32/29_2.png) [@ManUtopiK](https://forum.duniter.org/u/ManUtopiK)
#### Post date: [24 January 2023 00:19 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/43 "2023-01-24T00:19:51Z")

</div>

Je suis dans la toile forgerons moi ??

---

<div class="post-metadata">

### Author: ![poka](https://forum.duniter.org/user_avatar/forum.duniter.org/poka/32/6827_2.png) [@poka](https://forum.duniter.org/u/poka)
#### Post date: [24 January 2023 00:46 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/44 "2023-01-24T00:46:12Z")

</div>

ahahahahaha

pardon Manu, probablement moi qui t’es ajouté à py-g1-migrator pendant le hackaton de bordeaux.

> **[custom/smiths.json · master · tools / py-g1-migrator · GitLab](https://git.duniter.org/tools/py-g1-migrator/-/blob/master/custom/smiths.json#L7)**
>
> Duniter’s Ğ1Lab

On peut te retirer si tu veux.

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [24 January 2023 10:42 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/45 "2023-01-24T10:42:19Z")

</div>

> [@poka](#):
>
> On peut te retirer si tu veux.

Retirer du prochain genesis, oui, mais pas de la toile forgeron Ğdev5. Si tu veux en sortir, tu peux appeler `smithsMembership.revokeMembership()`.

---

<div class="post-metadata">

### Author: ![poka](https://forum.duniter.org/user_avatar/forum.duniter.org/poka/32/6827_2.png) [@poka](https://forum.duniter.org/u/poka)
#### Post date: [24 January 2023 10:44 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/46 "2023-01-24T10:44:00Z")

</div>

Il est techniquement possible de lancer un proposal au commitée tech pour se faire aussi non ?

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [24 January 2023 10:45 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/47 "2023-01-24T10:45:28Z")

</div>

Oui, comité tech ou sudo, tu as raison.

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [26 January 2023 21:23 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/48 "2023-01-26T21:23:56Z")

</div>

I now have smith membership. As I understand it I don’t need to wait for 48h before going online since my node has been running for 3 weeks already. Am I right?

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [27 January 2023 08:47 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/49 "2023-01-27T08:47:47Z")

</div>

@HugoTrentesaux  
I must have done something wrong:

- `smithMembership > requestMemberShip()` → seems OK
- `authorityMembers > setSessionKeys()` → error NotMember

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [27 January 2023 09:29 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/50 "2023-01-27T09:29:26Z")

</div>

> [@Pini](#):
>
> I now have smith membership.

Seems not because the `smithsMembership.counterForMembership()` is still 6. I would like to have an indexer to search in the blockchain history, but [this one](https://forum.duniter.org/t/subsquid-ancienne-hydra-indexer-de-blockchain-substrate-exposant-des-api-graphql/9074/30) has been deleted, so we have to setup a new.

I would have check whether you called

> [@HugoTrentesaux](#):
>
> `smithsMembership.requestMembership()`

successfully. Otherwise, I’ll have to dig to understand why you were not added to authority members.

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [27 January 2023 09:34 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/51 "2023-01-27T09:34:29Z")

</div>

> [@HugoTrentesaux](#):
>
> I would have check whether you called
> 
> > [@HugoTrentesaux](#):
> >
> > `smithsMembership.requestMembership()`
> 
> successfully. Otherwise, I’ll have to dig to understand why you were not added to authority members.

I did. And I checked using `smithMembership.membership(7228)` which returned a record with an expiration value. **But** when checking again afterwards it doesn’t return anything anymore, just `<None>`. Weird.

EDIT: Trying `smithsMembership.requestMembership()` again I have the error `MemberShipAlready`. Maybe I should retry after rotating the key again?

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [27 January 2023 09:54 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/52 "2023-01-27T09:54:02Z")

</div>

`storage.smithsMembership.pendingMemberships(7228)`

```auto
{
  ownerKey: 5GBVhdJUdsGhxozu6R8X6x2pTZvuuW46s7JSU4tiW7Zd3WmY
  p2pEndpoint: /dns/gdev-smith.pini.fr/tcp/443/wss/p2p/12D3KooWCEVBrLK9g8unsHLj8wWzobbwArDZMMwg5LeCbiWhB3ug
  sessionKeys: 0x3b8ccba0a36ab6c5b04d159d2e3188c6bd2e8257bdec6935ae6d812e31d36d857610e984e7cf0f444c47369a490373d4389ec37c32a5139f61d3935137595e10d4969256ac9618dd33046693ec6d2114f0ee5979a6fa83434d972f306ed88b031e7f4b506d028435d0916ce059914b4d9fb1bd00e8f76f1912855af225126775
}

```

`storage.smithsCert.certsByReceiver(7228)`

```auto
[
  [
    7,139
    10,954,075
  ]
  [
    6,951
    10,954,196
  ]
  [
    6,317
    10,954,063
  ]
  [
    2,457
    10,855,477
  ]
]

```

🤔

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [27 January 2023 15:59 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/53 "2023-01-27T15:59:05Z")

</div>

> [@tuxmain](#):
>
> `storage.smithsMembership.pendingMemberships(7228)`

So, my smith membership is pending. But we don’t know why is it held in this state, still?

---

<div class="post-metadata">

### Author: ![poka](https://forum.duniter.org/user_avatar/forum.duniter.org/poka/32/6827_2.png) [@poka](https://forum.duniter.org/u/poka)
#### Post date: [28 January 2023 11:31 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/54 "2023-01-28T11:31:51Z")

</div>

I think you have to claimMembership:

 ![image](https://forum.duniter.org/uploads/default/original/2X/5/50656fd6bf01f38c803e3710d19ff4ad7a22574d.png)

(Extrinsics menu)

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [29 January 2023 09:59 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/55 "2023-01-29T09:59:56Z")

</div>

> [@poka](#):
>
> I think you have to claimMembership:

Done, and it was reported successful. Then I could set session keys and go online. How can I monitor that everything is alright?

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [29 January 2023 10:47 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/56 "2023-01-29T10:47:12Z")

</div>

Rotate keys, then set session keys and see if it’s successful. You can see the session keys in onchain storage (pallet session or babe probably).

For goOnline, the only way to be sure it works is to wait a few hours…

Don’t worry, it’s not a problem if some blocks are missed. Just goOffline if you see it doesn’t work.

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [29 January 2023 11:08 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/57 "2023-01-29T11:08:42Z")

</div>

![Capture d’écran de 2023-01-29 12-08-14](https://forum.duniter.org/uploads/default/original/2X/0/01af24678810fb5d7f6b577e6b0c923dcb0cdb4d.png)

---

<div class="post-metadata">

### Author: ![Pini](https://forum.duniter.org/user_avatar/forum.duniter.org/pini/32/6819_2.png) [@Pini](https://forum.duniter.org/u/Pini)
#### Post date: [29 January 2023 11:55 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/58 "2023-01-29T11:55:57Z")

</div>

It works \o/

 ![Capture d’écran de 2023-01-29 12-56-39](https://forum.duniter.org/uploads/default/original/2X/9/9827ca271b9d236b448b3005f504e6e650e9b518.png)

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [29 January 2023 16:01 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/59 "2023-01-29T16:01:58Z")

</div>

Congrats, you are the first non-genesis ǦDev5 smith! If you want to complete the documentation on [https://duniter.org/wiki/duniter-v2/become-smith/](https://duniter.org/wiki/duniter-v2/become-smith/) that will be very useful to future joiners!

What is strange about `claim_membership()` is that it is documented as disabled:  
[https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/xtask/src/gen\_calls\_doc.rs#L135](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/xtask/src/gen_calls_doc.rs#L135)  
I think it is a mistake. I’ll improve this part of the documentation as well.

[edit] when looking at the expected behavior, I read the join smith test ([https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/pallets/duniter-wot/src/tests.rs#L59-L87](https://git.duniter.org/nodes/rust/duniter-v2s/-/blob/master/pallets/duniter-wot/src/tests.rs#L59-L87))

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [1 February 2023 17:30 UTC](https://forum.duniter.org/t/gdev5-smiths/10234/60 "2023-02-01T17:30:46Z")

</div>

The list of certification, smith certifications, session keys and authorities which will expire within a week is updated daily here: [https://txmn.tk/g1/gdev/expire.txt](https://txmn.tk/g1/gdev/expire.txt)

`gcli --no-indexer expire -s 168`

Since offenses are not yet implemented, detecting failing nodes would require much work from the indexer (counting the number of blocks forged by each authority during the last session).

[Previous page](https://forum.duniter.org/t/gdev5-smiths/10234.md?page=2)

[Next page](https://forum.duniter.org/t/gdev5-smiths/10234.md?page=4)
