Feat: Add view function is_asset_type_dispatchable - #333
Merged
Conversation
musitdev
approved these changes
Apr 30, 2026
22 tasks
apenzk
added a commit
that referenced
this pull request
May 7, 2026
## Description Regenerates [fungible_asset.md](https://github.com/movementlabsxyz/aptos-core/blob/docs/fungible-asset-regen/aptos-move/framework/aptos-framework/doc/fungible_asset.md) to include the entry for [is_asset_type_dispatchable](https://github.com/movementlabsxyz/aptos-core/blob/docs/fungible-asset-regen/aptos-move/framework/aptos-framework/sources/fungible_asset.move#L705). The function was added by [#333](#333) but the auto-generated doc was not refreshed at that time, so the file has been showing as dirty in working trees on every `cargo build` of `aptos-cached-packages` (which re-runs the framework release-builder via [build.rs](https://github.com/movementlabsxyz/aptos-core/blob/docs/fungible-asset-regen/aptos-move/framework/cached-packages/build.rs#L94)). Landing the regen here clears that dirty state for everyone. ## How Has This Been Tested? - This diff is the output of `cargo clean -p aptos-cached-packages && cargo build -p aptos-cached-packages` on `m1`. ## Type of Change - [ ] New feature - [ ] Bug fix - [ ] Breaking change - [ ] Performance improvement - [ ] Refactoring - [ ] Dependency update - [x] Documentation update - [ ] Tests ## Which Components or Systems Does This Change Impact? - [ ] Validator Node - [ ] Full Node (API, Indexer, etc.) - [ ] Move/Aptos Virtual Machine - [x] Aptos Framework - [ ] Aptos CLI/SDK - [ ] Developer Infrastructure - [ ] Move Compiler - [ ] Other (specify) ## Checklist - [x] I have read and followed the [CONTRIBUTING](https://github.com/aptos-labs/aptos-core/blob/main/CONTRIBUTING.md) doc - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I identified and added all stakeholders and component owners affected by this change as reviewers - [x] I tested both happy and unhappy path of the functionality - [ ] I have made corresponding changes to the documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
View function added in
fungible_asset.move(see diff). Required for the changes in #299 Confidential Assets, so would be good to include for testing against testnet.How Has This Been Tested?
Two unit tests: