Merged
Conversation
Member
dkuanyshbaev
commented
Oct 29, 2025
- Add license header to weights template
- Add remove_source to digital twin pallet
- Update README
- Update weights
akru
approved these changes
Oct 29, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR prepares the codebase for v4 release by adding license headers, introducing new functionality, updating documentation, and refreshing performance benchmarks. The changes focus on improving code licensing compliance, adding a remove_source function to the digital twin pallet, and updating weight calculations based on new benchmark runs.
Key changes:
- Added Apache License header to the weight template for consistent licensing across generated files
- Introduced remove_source functionality to the digital twin pallet with corresponding tests and benchmarks
- Updated README with benchmarking instructions and refreshed all weight files with new performance measurements
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| scripts/weights/frame-weight-template.hbs | Adds Apache License header to weight template |
| frame/digital-twin/src/lib.rs | Adds remove_source function and test configuration updates |
| frame/digital-twin/src/weights.rs | Adds remove_source weight function and updates benchmark measurements |
| frame/digital-twin/src/benchmarking.rs | Uncomments and updates remove_source benchmark |
| frame/rws/src/weights.rs | Updates weight measurements from new benchmark runs |
| frame/liability/src/weights.rs | Updates weight measurements from new benchmark runs |
| frame/launch/src/weights.rs | Updates weight measurements from new benchmark runs |
| frame/datalog/src/weights.rs | Updates weight measurements from new benchmark runs |
| README.adoc | Adds benchmarking instructions section |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
akru
added a commit
that referenced
this pull request
Nov 1, 2025
* Add license header to weights template * Add benchmarks section * Fix the numbering * Fix the numbering * Add remove_source to digital twin pallet * Fix readme * Updated weights * Update frame/digital-twin/src/lib.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Aleksandr Krupenkin <mail@akru.me> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
akru
added a commit
that referenced
this pull request
Nov 6, 2025
* Switch to OMNI node code structure with dedicated runtime * Update Cargo.lock * Added custom chain loader * Local development node compile & run ok * Added migrations * Fix srtool runtime build * Uplift to stable2506-1 * Uplift to stable2509 * Build fixes * Bump omni node lib version * Added build runtime script * Add benchmarks for robonomics pallets (#387) * Fix consensus engine migration * Collator candidates 100 -> 50 * [CI] Fix license check header * Add license header into weights files * Feat/release v4 (#388) * Add license header to weights template * Add benchmarks section * Fix the numbering * Fix the numbering * Add remove_source to digital twin pallet * Fix readme * Updated weights * Update frame/digital-twin/src/lib.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Aleksandr Krupenkin <mail@akru.me> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * [CI] update rust in workflows, fix Cargo.toml format * [CI] reusable workflows & install rust action * [CI] dont run tests when base checks failed * [CI] merge base_checks and tests * [CI] fix workflow name * [CI] fix concurrency deadlock * [CI] enable rust cache, fix release workflow * g[CI] disable cache (automatically enabled by setup-rust-toolchain * [CI] dont free space it takes a lot of time * [CI] install solc * [CI] install resolc * [CI] install polly * [CI] simple tests * [CI] remove unised deps installer * [CI] build in production profile (for caching) * [CI] install protobuf deps * [CI] added docs action * [CI] build release runtime with on-chain feature * Fix omni node tests * Fix frame tests * [CI] disable benchmarks feature from tests * Fix warnings for pallets * Fix warnings for runtime --------- Co-authored-by: Denis K. <45650192+dkuanyshbaev@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.