Skip to content

feat(campaign): add VERSION constant and version() query function#186

Merged
ayshadogo merged 1 commit into
Dfunder:mainfrom
wumibals:feat/163-contract-versioning
May 29, 2026
Merged

feat(campaign): add VERSION constant and version() query function#186
ayshadogo merged 1 commit into
Dfunder:mainfrom
wumibals:feat/163-contract-versioning

Conversation

@wumibals
Copy link
Copy Markdown
Contributor

Summary

Adds contract versioning to campaign/src/lib.rs:

  • pub const VERSION: u32 = 1 — module-level version constant
  • pub fn version() -> u32 — queryable public function that returns the constant

The version should be bumped on any breaking contract change per semantic versioning policy.

Related

closes #163

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@wumibals Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Copy link
Copy Markdown
Contributor

@ayshadogo ayshadogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this

Nice work

@ayshadogo ayshadogo merged commit 835a2ad into Dfunder:main May 29, 2026
1 check failed
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.

Implement contract versioning strategy

2 participants