Repository navigation
Conversation
wire-sysio's `chain_config` gains `notify_cpu_stipend`: the CPU, in microseconds, of a notified contract's code that whoever pays for the notifying action covers. The default is 100, and 0 means no stipend. `blockchain_parameters` gains the field last, as the chain packs it, so `set_blockchain_parameters` and `get_blockchain_parameters` keep matching the chain field for field. A toolchain test pins the struct's ABI. Change-Id: Ica101e9c59a66f06fcc2d7c91db31f96089d5ad4
This was referenced Nov 10, 2026
huangminghuang
approved these changes
Nov 10, 2026
This branch has not been deployed
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.
wire-sysio's
chain_configgainsnotify_cpu_stipend, the CPU in microseconds of a notified contract's code that whoever pays for the notifying action covers: 100 by default, 0 for none. The chain appends it aftermax_kv_secondary_key_size(id 17), andblockchain_parametersgains it in the same place, soset_blockchain_parameters/get_blockchain_parameterskeep matching the chain field for field. A contract built with an older CDT packs one field fewer, sosetparamsfromsysio.biosandsysio.systemneeds this version.abigen-pass/blockchain_parameters_testpins the struct's ABI, fields in the chain's order ending withnotify_cpu_stipend.Paired changes
Land these together: wire-cdt first, then wire-sysio right after it, then wire-libraries-ts and wire-tools-ts.
chain_configgainsnotify_cpu_stipend. Bill Contracts Reached Through System Contracts for Their Own CPU wire-sysio#752