Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

registerProposalComponents doesn't enforce at least one update #712

Open
troedfach opened this issue Feb 5, 2020 · 1 comment
Open

registerProposalComponents doesn't enforce at least one update #712

troedfach opened this issue Feb 5, 2020 · 1 comment
Labels
audit byron Required for a Byron mainnet: replace the old core nodes with cardano-node. priority medium issues/PRs that SHOULD be addressed. This should be done for the release, but acceptable if it doesn spec-alignment Tasks related to bringing the implementation to agree with the formal specification.

Comments

@troedfach
Copy link

In cardano-ledger/src/Cardano/Chain/Update/Validation/Registration.hs, at function registerProposalComponents (link), the proposal is checked for a protocol update, and then it is checked for a software update. However, there doesn't seem to be anything that ensures at least one of these is true – if there is neither protocol update nor software update the proposal still appears to be valid.

In contradiction, at the bottom of p.21 of the formal ledger specification: "Note that the rules in Figure 25 allow for an update that does not propose changes in the protocol version, or does not propose changes to the software version. However the update proposal must contain a change proposal in any of these two aspects."

@dnadales dnadales added audit spec-alignment Tasks related to bringing the implementation to agree with the formal specification. labels Feb 6, 2020
@nc6 nc6 added byron Required for a Byron mainnet: replace the old core nodes with cardano-node. priority medium issues/PRs that SHOULD be addressed. This should be done for the release, but acceptable if it doesn labels Feb 21, 2020
@Vtec234
Copy link

Vtec234 commented Apr 13, 2020

Looks like #766 addressed this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
audit byron Required for a Byron mainnet: replace the old core nodes with cardano-node. priority medium issues/PRs that SHOULD be addressed. This should be done for the release, but acceptable if it doesn spec-alignment Tasks related to bringing the implementation to agree with the formal specification.
Projects
None yet
Development

No branches or pull requests

4 participants