Skip to content

feat: add dev tools and governance enhancements - #1459

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
afterlyfe2078:feature/dev-tools-enhancements
Oct 17, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
afterlyfe2078:feature/dev-tools-enhancements

Conversation

@afterlyfe2078

Copy link
Copy Markdown
Contributor

Summary

Implementation of four developer experience and governance features:

Changes

#1450 - One-Command Bootstrap

  • bootstrap.sh: Idempotent setup script for dev environment
    • Checks dependencies (Node, Rust, Docker)
    • Sets up Rust WASM target
    • Installs npm and Rust packages
    • Configures .env file
    • Runs tests
    • Verifies setup

#1449 - VS Code Devcontainer Enhancement

  • Updated .devcontainer/devcontainer.json with pinned versions:
    • Rust 1.75.0
    • Node.js 20.10.0
    • Docker, Git, and tools versions pinned
  • Added rust-analyzer configuration for WASM targets
  • Includes port forwarding for dev services (3000, 4000, 5432, 6379, 8000)
  • Auto-runs bootstrap on container creation

#1451 - Governance Proposal Templates

  • contracts/governance/templates/:
    • parameter_update_proposal.toml: For protocol parameter changes
    • feature_activation_proposal.toml: For new feature deployments
    • treasury_allocation_proposal.toml: For fund usage proposals
  • Documentation with validation and submission instructions

#1448 - Contract Debugging Utilities

  • stellar-lend/src/lib/debug.rs: Debug tracing
    • DebugTrace struct for readable call logs
    • JSON export for external logging
    • Macros: debug_call! and debug_result!
  • stellar-lend/src/lib/trace.rs: Call tracking
    • CallTracker for execution time profiling
    • Formatted output with millisecond precision
  • Comprehensive documentation and tests

Acceptance Criteria Met

#1450 ✓

  • Bootstrap is idempotent (safe to run multiple times)
  • Fully documented with examples
  • Verified with logging output

#1449 ✓

  • All versions pinned (Rust, Node, Docker)
  • Documented with setup instructions
  • Verified with devcontainer configuration

#1451 ✓

  • Three proposal templates provided
  • Validated TOML format
  • Documented with usage examples

#1448 ✓

  • Readable debug traces with formatted output
  • Call tracking with timing
  • Tested with unit tests

Closes #1450
Closes #1449
Closes #1451
Closes #1448

- Add one-command bootstrap script (closes Smartdevs17#1450)
- Enhance VS Code devcontainer with pinned versions (closes Smartdevs17#1449)
- Add governance proposal templates (closes Smartdevs17#1451)
- Add contract call debugging utilities (closes Smartdevs17#1448)

Features:
- bootstrap.sh: Idempotent setup for dev environment
- .devcontainer: Updated with pinned Rust 1.75.0, Node 20.10.0
- governance/templates/: Parameter, feature, and treasury proposal templates
- Debugging utilities: Call traces, tracking, and JSON logging

All acceptance criteria met:
- Idempotent bootstrap with logging
- Pinned versions in devcontainer
- Validated proposal templates
- Readable debug traces and tested utilities
@vercel

vercel Bot commented Oct 17, 2026

Copy link
Copy Markdown

@afterlyfe2078 is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

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

@github-actions
github-actions Bot merged commit 4a4d418 into Smartdevs17:main Oct 17, 2026
2 of 3 checks passed
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 governance proposal templates Add one-command bootstrap Add a VS Code devcontainer Add contract call debugging utilities

1 participant