Skip to content

refactor(vault): clean up inline crate imports - #163

Open
hpmaxi wants to merge 2 commits into
mainfrom
refactor/clean-crate-imports
Open

hpmaxi wants to merge 2 commits into
mainfrom
refactor/clean-crate-imports

Conversation

@hpmaxi

@hpmaxi hpmaxi commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

No related issue. Clean up remaining inline crate:: module and type references across async-vault contracts and tests in favor of top-of-file imports.

Changes

  • Import epoch at module level in deposit.rs and redeem.rs.
  • Import treasury at module level in redeem.rs.
  • Import VaultError directly in test/mod.rs.

Test plan

Automated tests

  1. Run contract tests: cargo test -p async-vault
  2. Run full workspace tests: cargo test

Manual verification

None.

Breaking changes

None.

Checklist

  • Self-reviewed my own diff
  • Tests added or updated
  • Docs updated (if applicable)
  • No unrelated changes bundled in

Screenshots

None.

@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
strata-vault-kit-app Ready Ready Preview Sep 25, 2026 6:08pm UTC

Request Review

@hpmaxi
hpmaxi requested a review from luchobonatti September 24, 2026 19:31

This branch was successfully deployed

1 active deployment
Preview — 50ecc7ec Deployed Sep 25, 2026 by vercel[bot]
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.

1 participant