Skip to content

feat: add gas and storage footprint benchmarks for accountability_vau…#416

Merged
1nonlypiece merged 2 commits into
Disciplr-Org:mainfrom
shogun444:test/contract-budget-benchmark
May 29, 2026
Merged

feat: add gas and storage footprint benchmarks for accountability_vau…#416
1nonlypiece merged 2 commits into
Disciplr-Org:mainfrom
shogun444:test/contract-budget-benchmark

Conversation

@shogun444
Copy link
Copy Markdown
Contributor

Summary

Adds gas and footprint benchmark tests for accountability_vault settlement flows using Soroban budget tracking.

Changes

  • Added benchmark tests for check_in, claim, and slash_on_miss
  • Added CPU/memory budget assertions for representative milestone counts
  • Documented benchmark thresholds and scaling behavior in contracts/README.md
  • Added reusable budget tracking helpers for regression detection

Verification

cargo test
# 28 passed, 0 failed

Closes #381

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@shogun444 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

@1nonlypiece 1nonlypiece merged commit fc40fbb into Disciplr-Org: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.

Add a gas/footprint benchmark test asserting bounded storage reads for accountability_vault settlement

2 participants