System message on vm2 contract installed#5334
Merged
zajko merged 5 commits intocasper-network:feat-2.1from Oct 13, 2025
Merged
Conversation
66cae56 to
2f0ce57
Compare
dd42bc1 to
7b5eab4
Compare
9152dea to
84a7d1a
Compare
EdHastingsCasperAssociation
approved these changes
Oct 9, 2025
84a7d1a to
53f5666
Compare
mpapierski
approved these changes
Oct 10, 2025
storage/src/lib.rs
Outdated
| const MESSAGING_BYTE_CODE_WASM_ADDR_TOPIC: &str = "byte_code_wasm_addr"; | ||
| const MESSAGING_PACKAGE_ADDR_TOPIC: &str = "package_key"; | ||
| const MESSAGING_CONTRACT_ADDR_TOPIC: &str = "contract_key"; | ||
| const MESSAGING_CONTRACT_WASM_ADDR_TOPIC: &str = "wasm_key"; |
…ing functionality to publish to: package_key, contract_key, wasm_key, contract_version topic names regardless of the addressable entity flag
53f5666 to
b12dd38
Compare
b12dd38 to
c108b68
Compare
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.
Applying system messages to vm2 install/upgrade. Refactored the existing functionality to publish to: package_key, contract_key, wasm_key, contract_version topic names regardless of the addressable entity flag.
Refactored AddrerssableEntity:
Added
AddressableEntity::byte_code_addrfunctionRenamed
AddressableEntity::package_hashtoAddressableEntity::packageRenamed
AddressableEntity::code_hashtoAddressableEntity::codeRenamed
package::PackageHashtopackage::PackageAddrRenamed
package::TryFromSliceForPackageHashErrortopackage::TryFromSliceForPackageAddrErrorRemoved type
key::PackageAddrThe refactoring part will affect downstream systems (sidecar, casper-client-rs etc.)