-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add version compatability #316
Comments
Prover's Codeprover_version = "1.2.3" # Your software version Notary's Codenotary_version = "1.2.0" # Notary's software version Compare versionsdef check_compatibility(v1, v2):
Check compatibilityif check_compatibility(prover_version, notary_version): like this? |
For parsing and assertions, I had in mind to use this semver crate. We would store the cargo package version as a static at build time: const VERSION: &'static str = env!("CARGO_PKG_VERSION"); Then introduce a new message variant to tlsn/tlsn/tlsn-core/src/msg.rs Lines 8 to 17 in 832d1ba
which is used to exchange configuration information, including |
Addressed by #513. |
At the beginning of things, the prover and notary should exchange which versions they are running with each other. We can start using semver and both parties can check whether they support their peers' version.
The text was updated successfully, but these errors were encountered: