Introduce dry-run APIs for runtime calls and XCM #977
Merged
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.
PR Type
Enhancement, Tests
Description
Added dry-run APIs for runtime calls and XCM.
Integrated
xcm-runtime-apis
dependency for dry-run functionality.Updated metadata to include new dry-run API definitions.
Adjusted Cargo.toml files to include necessary dependencies and features.
Changes walkthrough 📝
lib.rs
Implement dry-run APIs for runtime and XCM
runtime/laos/src/lib.rs
xcm-runtime-apis
.DryRunApi
trait into the runtime.Cargo.toml
Add xcm-runtime-apis dependency
Cargo.toml
xcm-runtime-apis
dependency.Cargo.toml
Include xcm-runtime-apis in runtime dependencies
runtime/laos/Cargo.toml
xcm-runtime-apis
to workspace dependencies.std
feature to includexcm-runtime-apis
.Cargo.toml
Update Polkadot dependencies with rococo-native feature
node/Cargo.toml
rococo-native
feature to Polkadot CLI and service dependencies.metadata15.golden
Update metadata with dry-run API definitions
runtime/laos/src/tests/metadata15.golden