Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Add a way to specify witness format versions #23

Closed
MartinSpiessl opened this issue Nov 26, 2020 · 0 comments
Closed

Add a way to specify witness format versions #23

MartinSpiessl opened this issue Nov 26, 2020 · 0 comments

Comments

@MartinSpiessl
Copy link
Collaborator

Currently there is no way to see for which version of the witness format spec a witness was created.
This makes maintaining the format and interpreting the witnesses harder

Over time we add minor enhancements or bugfixes to the format. It would be beneficial to introduce a field in the witness that gives some clue about which version of the spec the witness implements. For example currently there is a problem with the control key that is actually not allowed in correctness witnesses, which might lead to the introduction of another key or redifinition of when this key is allowed, cf. #14. Another proposed change would be #22, where the need to make the architecture information more in line with the task definition format is brought up and which might lead to a new field being added. This field would then be OK to be missing in witnesses of older format versions, but should be enforced for witnesses with a newer format version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants