skalenetwork / sgxwallet

sgxwallet is the first-ever opensource high-performance hardware secure crypto wallet that is based on Intel SGX technology. First opensource product on Intel SGX whitelist. Scales to 100,000+ transactions per second. Currently supports ETH and SKALE, and will support BTC in the future. Sgxwallet is under heavy development and use by SKALE network.
https://skale.network
GNU Affero General Public License v3.0
64 stars 35 forks source link

Skaled couldn't check incoming snapshot with new BLS signature after node rotation #357

Closed sync-by-unito[bot] closed 3 years ago

sync-by-unito[bot] commented 3 years ago

Versions: schain:3.7.5-beta.4 admin:2.0.1-beta.7 sgx_wallet:1.77.0

Preconditons:

Steps to reproduce:

  1. Call node exit on the node A and wait till node B will complete BLS keys, skaled container
  2. Skaled on the node B starts catchup from 0 block and couldn't download any blocks (old blocks signed with old signatures) but not crashed
  3. Wait snapshot creation - 15 nodes should create snapshot with new BLS keys
  4. Restart skaled on the node B with repair mode

Actual state: 15 nodes sign old snapshot with new BLS keys but node B couldn't check incoming snapshot with own BLS key Expected state: Node B should be able to check incoming snapshot with valid BLS key

┆Issue is synchronized with this Jira Bug ┆Attachments: quiet-cursa.log

sync-by-unito[bot] commented 3 years ago

➤ Oleksandr Sydorenko commented:

Yulia Timchenko ping