Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🔧 chore(types.rs): remove duplicate CreateAsset enum definition to improve code readability ✨ feat(types.rs): add InitialSetupArgs enum to handle initial setup arguments for asset creation and role assignment * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format with rustfmt * update format and change funtions for setup * 🐛 fix(functions.rs): remove unused imports and commented out code to improve code cleanliness and readability ✨ feat(functions.rs): rename `do_setup_asset` function to `do_create_afloat_asset` for better naming consistency and clarity ✨ feat(lib.rs): refactor `InitialSetupArgs::All` match arm to call necessary setup functions in the correct order for initializing afloat pallet * 🐛 fix(functions.rs): rename add_to_afloat_collection function to do_add_account_to_afloat_frunique for better clarity and consistency 🐛 fix(lib.rs): rename add_to_afloat_collection function to do_add_account_to_afloat_frunique for better clarity and consistency * 🔧 chore(settings.json): update editor.tabSize from 2 to 4 for consistent indentation * 🔧 chore(pre-commit): add pre-commit hook to enforce code style using `cargo fmt` before committing 🐛 fix(afloat): remove unnecessary commented out code in pallet module * 📝 docs(functions.rs): add documentation for `do_setup_roles` function in Afloat pallet to explain its inputs and purpose 🔥 refactor(lib.rs): remove unnecessary empty line in Afloat pallet module * 🔧 chore(check.yml): add step to check Rust code formatting using rustfmt 🔧 chore(check.yml): add step to check Rust build using cargo check --release
- Loading branch information