Skip to content
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

[move] formal specifications for vouch & burn modules #330

Conversation

Jayfromthe13th
Copy link
Contributor

Specification Updates for Vouch and Burn Modules

Changes

Vouch Specification (vouch.spec.move)

  • Completely redid specifications due to previous compilation errors
  • Added detailed comments explaining each specification block
  • Improved readability and clarity of specifications

Key Links:

Burn Specification (burn.spec.move)

  • Rebuilt specifications to resolve previous compilation issues
  • Enhanced existing specifications with more descriptive comments
  • Added invariants to prevent potential integer overflow

Key Links:

Verification Checklist for Vouch Specification

  • Added pragma verify = true
  • Implemented preconditions for true_friends
  • Added overflow checks for vector lengths
  • Ensured valid vector properties
  • Checked vouch existence conditions
  • Verified revoke operation specifications
  • Added checks for bulk vouch setting

Verification Checklist for Burn Specification

  • Added pragma verify = true
  • Implemented strict aborts checking
  • Added invariants for BurnCounter
  • Checked system address requirements
  • Verified burn tracking mechanisms
  • Added overflow prevention for lifetime counters
  • Ensured community preference settings

@0o-de-lally 0o-de-lally changed the title Feature/burn vouch spec updates [move] formal specifications for vouch & burn modules Jan 7, 2025
@0o-de-lally 0o-de-lally changed the title [move] formal specifications for vouch & burn modules NEW [move] formal specifications for vouch & burn modules Jan 7, 2025
@0o-de-lally 0o-de-lally changed the title NEW [move] formal specifications for vouch & burn modules [move] formal specifications for vouch & burn modules Jan 7, 2025
@0o-de-lally
Copy link
Contributor

Congrats @Jayfromthe13th you earned your stripes! Big value in this commit.

@0o-de-lally 0o-de-lally merged commit 2a310b2 into 0LNetworkCommunity:main Jan 8, 2025
14 checks passed
@Jayfromthe13th
Copy link
Contributor Author

Ty! Means a lot 🙏🏽

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

Successfully merging this pull request may close these issues.

2 participants