ethereum-pocr / kerleano

Information on the Kerleano test network
3 stars 1 forks source link

Authorization after sealer reset #18

Closed guenoledc closed 2 years ago

guenoledc commented 2 years ago

In GitLab by @phnod1 on May 2, 2022, 14:16

Hello,

Following the reset, can you authorize the sealers?

Thank you

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 14:20

marked this issue as related to #6

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 14:22

if private keys didn't changes your address should be those

address for saturn-sealer-vm-02 0xC16c63Da5F6e464148Ffc0Bcef9e761A16Af6004
address for saturn-sealer-vm-01 0xeC3F218D9876BFC01E9A4601575Fe60F1b2C8F76
guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 14:29

done on my side

> clique.getSnapshot()
{
  hash: "0xc5c2da422a192fe5b3616d3e80e54df24e7c90ef651332f7919a815f2584286e",
  number: 61604,
  recents: {
    61603: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730",
    61604: "0x1311aef86d1db33db945fc488eeff1c6105b9593"
  },
  signers: {
    0x1311aef86d1db33db945fc488eeff1c6105b9593: {},
    0x6e45c195e12d7fe5e02059f15d59c2c976a9b730: {}
  },
  tally: {
    0x4dec1418cc66c73832b94d41dedc064d2a86c9ff: {
      authorize: true,
      votes: 1
    },
    0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11: {
      authorize: true,
      votes: 1
    }
  },
  votes: [{
      address: "0x4dec1418cc66c73832b94d41dedc064d2a86c9ff",
      authorize: true,
      block: 61601,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11",
      authorize: true,
      block: 61603,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }]
}
> 
guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 15:39

@guenoledc need your validation

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 15:41

removed the relation with #6

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 15:42

marked this issue as related to #10

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 2, 2022, 15:50

i gave vote for wrong addresses

the correct addresses are those 2:

address for saturn-sealer-vm-02 0xC16c63Da5F6e464148Ffc0Bcef9e761A16Af6004
address for saturn-sealer-vm-01 0xeC3F218D9876BFC01E9A4601575Fe60F1b2C8F76

I couldn't find any way to revoke my previous votes, in clique.getSnapshot() we see 4 addresses

> clique.getSnapshot()
{
  hash: "0xebf332dd6be51f2b8f49925572b7401110d3958877dda35f6855425158f0ae88",
  number: 62775,
  recents: {
    62774: "0x1311aef86d1db33db945fc488eeff1c6105b9593",
    62775: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  },
  signers: {
    0x1311aef86d1db33db945fc488eeff1c6105b9593: {},
    0x6e45c195e12d7fe5e02059f15d59c2c976a9b730: {}
  },
  tally: {
    0x4dec1418cc66c73832b94d41dedc064d2a86c9ff: {
      authorize: true,
      votes: 1
    },
    0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11: {
      authorize: true,
      votes: 1
    },
    0xc16c63da5f6e464148ffc0bcef9e761a16af6004: {
      authorize: true,
      votes: 1
    },
    0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76: {
      authorize: true,
      votes: 1
    }
  },
  votes: [{
      address: "0x4dec1418cc66c73832b94d41dedc064d2a86c9ff",
      authorize: true,
      block: 62717,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11",
      authorize: true,
      block: 62719,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0xc16c63da5f6e464148ffc0bcef9e761a16af6004",
      authorize: true,
      block: 62773,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76",
      authorize: true,
      block: 62775,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }]
}
> 
guenoledc commented 2 years ago

So am I :-( now the network is stuck ....

> clique.getSnapshot()
{
  hash: "0x0b4a6fef5c081722c262ea53b494198ad171d690ce04414b26194f9c99e94b8b",
  number: 87530,
  recents: {
    87529: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730",
    87530: "0x1311aef86d1db33db945fc488eeff1c6105b9593"
  },
  signers: {
    0x1311aef86d1db33db945fc488eeff1c6105b9593: {},
    0x4dec1418cc66c73832b94d41dedc064d2a86c9ff: {},
    0x6e45c195e12d7fe5e02059f15d59c2c976a9b730: {},
    0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11: {}
  },
  tally: {
    0x4dec1418cc66c73832b94d41dedc064d2a86c9ff: {
      authorize: false,
      votes: 1
    },
    0xc16c63da5f6e464148ffc0bcef9e761a16af6004: {
      authorize: true,
      votes: 1
    },
    0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76: {
      authorize: true,
      votes: 1
    }
  },
  votes: [{
      address: "0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76",
      authorize: true,
      block: 87525,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0xc16c63da5f6e464148ffc0bcef9e761a16af6004",
      authorize: true,
      block: 87527,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }, {
      address: "0x4dec1418cc66c73832b94d41dedc064d2a86c9ff",
      authorize: false,
      block: 87529,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }]
}

at least one of 0x4dec1418cc66c73832b94d41dedc064d2a86c9ff and 0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11 should seal or we are stuck and need to reset the network!!!

guenoledc commented 2 years ago

Who owns those keys?

@khaledFynaxis should we reset ?

guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 4, 2022, 09:58

keys are from https://gitlab.com/saturnproject/externalgrp/pocr/kerleano/-/issues/6

Guess no choice to reset the network unless @reneghosh_cacib still have access to the private keys, going to reset again


> clique.status()
{
  inturnPercent: 95.3125,
  numBlocks: 64,
  sealerActivity: {
    0x1311aef86d1db33db945fc488eeff1c6105b9593: 32,
    0x4dec1418cc66c73832b94d41dedc064d2a86c9ff: 0,
    0x6e45c195e12d7fe5e02059f15d59c2c976a9b730: 32,
    0x8f4ebc79aff74f64863d9e4d0a007b0f5fcded11: 0
  }
}
>
guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 4, 2022, 11:48

@phnod1 can you reset again and confirm that you're using those addresses please?

address for saturn-sealer-vm-02 0xC16c63Da5F6e464148Ffc0Bcef9e761A16Af6004
address for saturn-sealer-vm-01 0xeC3F218D9876BFC01E9A4601575Fe60F1b2C8F76
guenoledc commented 2 years ago

In GitLab by @phnod1 on May 4, 2022, 14:14

I have redeployed the Sealer VM with proper DNS name:

cacib-canastas-test.francecentral.cloudapp.azure.com 0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76
cacib-pastor-test.francecentral.cloudapp.azure.com 0xc16c63da5f6e464148ffc0bcef9e761a16af6004
guenoledc commented 2 years ago

In GitLab by @khaledFynaxis on May 4, 2022, 14:16

@Wiktor_H could you authorize those addresses please?

done on my side

> clique.propose("0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76",true)
null
> clique.propose("0xc16c63da5f6e464148ffc0bcef9e761a16af6004",true)
null
> clique.getSnapshot()
{
  hash: "0xa558ba7ed158b8def205997220862179f6820de8e30acb005e89c2b82aca3287",
  number: 2362,
  recents: {
    2360: "0x1311aef86d1db33db945fc488eeff1c6105b9593",
    2361: "0x27946dc14f6f3d30f6fbc98fd8b0a23918fc3044",
    2362: "0x63c08d9acd74dac8b80b9b49e4b7ad5936031ff7"
  },
  signers: {
    0x1311aef86d1db33db945fc488eeff1c6105b9593: {},
    0x27946dc14f6f3d30f6fbc98fd8b0a23918fc3044: {},
    0x63c08d9acd74dac8b80b9b49e4b7ad5936031ff7: {},
    0x6e45c195e12d7fe5e02059f15d59c2c976a9b730: {}
  },
  tally: {
    0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76: {
      authorize: true,
      votes: 1
    }
  },
  votes: [{
      address: "0xec3f218d9876bfc01e9a4601575fe60f1b2c8f76",
      authorize: true,
      block: 2359,
      signer: "0x6e45c195e12d7fe5e02059f15d59c2c976a9b730"
  }]
}
> 
guenoledc commented 2 years ago

@khaounen @wiktorhejchman seems the network is stuck

seems this node is not running 0x63c08d9aCd74Dac8B80b9b49E4B7AD5936031ff7

wiktorhejchman commented 2 years ago

@khaounen @guenoledc

Yes, I was testing a few more things and tried to redeploy the VMs and tried again now, access to GitLab seems to be off already, so cannot get geth or genesis file from gitlab page, not sure where is it all in github now and what are the changes to the code needed. the kerleano doc still seems to be directing towards github, which cannot be accessed anymore. So as of now, SEB nodes are offline.

guenoledc commented 2 years ago

Yes, I was testing a few more things and tried to redeploy the VMs and tried again now, access to GitLab seems to be off already, so cannot get geth or genesis file from gitlab page, not sure where is it all in github now and what are the changes to the code needed. the kerleano doc still seems to be directing towards github, which cannot be accessed anymore. So as of now, SEB nodes are offline.

Sure, that's a problem. @wiktorhejchman I have reactivated your gitlab account until @khaounen can migrate the build

khaounen commented 2 years ago

@guenoledc @wiktorhejchman genesis already moved and released here and the geth already built by CICD too and can be found here i'll be working on the references in the readme tomorrow and will keep you updated

Edited Check https://github.com/ethereum-pocr/kerleano/tree/feature/update_references_gitlab_by_github i've assigned you the MR https://github.com/ethereum-pocr/kerleano/pull/23

guenoledc commented 2 years ago

MR #23 merged I think we can close this issue