EspressoSystems / HotShot

http://hotshot.docs.espressosys.com/
101 stars 25 forks source link

[Upgradability] - Remove duplicated fields for the decided upgrade cert in `ConsensusTaskState` #3357

Open shenkeyao opened 2 weeks ago

shenkeyao commented 2 weeks ago

What is this task and why do we need to work on it?

ConsensusTaskState has two duplicated fields, decide_upgrade_certificate and decide_upgrade_cert, the former with Arc<RwLock<..>> and the latter without. They are both used but we should only keep one.

What work will need to be done to complete this task?

Replace the use of decide_upgrade_cert with decide_upgrade_certificate.

Are there any other details to include?

No response

What are the acceptance criteria to close this issue?

There's only one decided upgrade cert field.

Branch work will be merged to (if not the default branch)

No response