Skip to content

Conversation

@ccamel
Copy link
Member

@ccamel ccamel commented Aug 29, 2025

Legacy scaffolding (generated with ffizer) is no longer needed. It was only used as a bootstrap template and keeping it around adds noise in the repo.

Summary by CodeRabbit

  • Chores

    • Removed Smart Contract scaffolding support, including the scaffolding task, ffizer dependency, and related template files.
    • Eliminated schema generation scripts tied to the template.
  • Documentation

    • Removed the Smart Contracts scaffolding section from the README.
    • Clarified that documentation is generated from the Smart Contracts’ schema.

@ccamel ccamel self-assigned this Aug 29, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 29, 2025

Walkthrough

This PR removes the smart-contract scaffolding feature and its supporting assets: build tasks, README guidance, ffizer template configuration, template manifest/build scripts, schema generator, and all template Rust source files. No new features or alternative flows were added.

Changes

Cohort / File(s) Summary of changes
Build tasks cleanup
Makefile.toml
Removed tasks scaffold-smart-contract and install-ffizer, including args/command/dependency and install script checks.
Documentation update
README.md
Deleted the “Smart Contracts scaffolding” section; minor clarification in Documentation sentence about schema-driven docs.
Template metadata & docs
templates/axone-smart-contract/.ffizer.yaml, templates/axone-smart-contract/{{ contract_name }}/README.ffizer.hbs.md
Removed ffizer variables/script and cleared template README header.
Template manifest & build helpers
templates/axone-smart-contract/{{ contract_name }}/Cargo.ffizer.hbs.toml, templates/axone-smart-contract/{{ contract_name }}/Makefile.toml, templates/axone-smart-contract/{{ contract_name }}/src/bin/schema.ffizer.hbs.rs
Deleted Cargo template manifest, schema-related make tasks, and the schema generation binary.
Template Rust sources
templates/axone-smart-contract/{{ contract_name }}/src/contract.rs, .../src/error.rs, .../src/lib.rs, .../src/msg.rs, .../src/state.rs
Removed contract entry points, error type, crate modules/exports, message types, and state module.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Build/derives sorted #719 — Adjusts derive ordering in the same template area (src/error.rs), overlapping with files removed here.

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between f960968 and 2d653df.

📒 Files selected for processing (12)
  • Makefile.toml (0 hunks)
  • README.md (0 hunks)
  • templates/axone-smart-contract/.ffizer.yaml (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/Cargo.ffizer.hbs.toml (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/Makefile.toml (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/README.ffizer.hbs.md (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/bin/schema.ffizer.hbs.rs (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/contract.rs (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/error.rs (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/lib.rs (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/msg.rs (0 hunks)
  • templates/axone-smart-contract/{{ contract_name }}/src/state.rs (0 hunks)
💤 Files with no reviewable changes (12)
  • templates/axone-smart-contract/{{ contract_name }}/src/bin/schema.ffizer.hbs.rs
  • Makefile.toml
  • templates/axone-smart-contract/{{ contract_name }}/Makefile.toml
  • templates/axone-smart-contract/{{ contract_name }}/src/lib.rs
  • templates/axone-smart-contract/{{ contract_name }}/Cargo.ffizer.hbs.toml
  • templates/axone-smart-contract/{{ contract_name }}/src/msg.rs
  • templates/axone-smart-contract/{{ contract_name }}/src/error.rs
  • templates/axone-smart-contract/{{ contract_name }}/src/state.rs
  • templates/axone-smart-contract/.ffizer.yaml
  • README.md
  • templates/axone-smart-contract/{{ contract_name }}/README.ffizer.hbs.md
  • templates/axone-smart-contract/{{ contract_name }}/src/contract.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: report-wasm-size
  • GitHub Check: test-rust
  • GitHub Check: build-wasm
  • GitHub Check: Analyze (rust)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch build/drop-contract-scaffolding

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codecov
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bot-anik
Copy link
Member

size-limit report 📦

Path Size
target/wasm32-unknown-unknown/release/axone_objectarium.wasm 537.04 KB (0%)
target/wasm32-unknown-unknown/release/axone_law_stone.wasm 655.87 KB (0%)
target/wasm32-unknown-unknown/release/axone_cognitarium.wasm 989.82 KB (0%)
target/wasm32-unknown-unknown/release/axone_dataverse.wasm 764.17 KB (0%)

@ccamel ccamel merged commit b76692d into main Aug 29, 2025
23 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.

2 participants