Skip to content

Drop Context-Free Fields From Traces and Chain Parameters - #150

Merged
heifner merged 1 commit into
masterfrom
feature/remove-context-free
Nov 10, 2026
Merged

heifner merged 1 commit into
masterfrom
feature/remove-context-free

Conversation

@heifner

@heifner heifner commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to Wire-Network/wire-sysio#754, which removed context-free actions.

  • TransactionTrace (the trace type behind get_transaction traces) drops context_free.
  • SysioContractTypes.ts is regenerated from wire-sysio master (236436f633): the blockchain_parameters type of sysio.bios and sysio.system loses context_free_discount_net_usage_num and context_free_discount_net_usage_den. Nothing else in the file changed; the msig propose change from wire-sysio#751 changes authorization only, not the ABI.
  • Transactions keep context_free_actions and context_free_data, which must be empty, so client serialization is unchanged.

#148 also regenerates SysioContractTypes.ts, from wire-sysio#759's branch. Whichever lands second regenerates the file again.

Pairs with Wire-Network/wire-tools-ts#182, which drops the two parameters from the cluster genesis. Neither PR depends on the other.

Context-free actions are gone from wire-sysio, so action traces no longer carry `context_free` and sdk-core's `TransactionTrace` drops the field.

`SysioContractTypes.ts` is regenerated from wire-sysio master: the `blockchain_parameters` type of `sysio.bios` and `sysio.system` loses `context_free_discount_net_usage_num` and `context_free_discount_net_usage_den`.

Transactions keep `context_free_actions` and `context_free_data`, which must be empty, so client serialization is unchanged.

@huangminghuang huangminghuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the current diff and relevant SDK context using Open Code Review. No actionable findings.

The trace-field removal matches wire-sysio#754, and both generated blockchain-parameter interfaces match the producer ABIs at wire-sysio 236436f633.

Validation on an isolated snapshot of 669acb2: shared and sdk-core build passed; 7 focused test suites passed (67 tests).

@heifner
heifner marked this pull request as ready for review November 10, 2026 17:25
@heifner
heifner merged commit 05e6d1a into master Nov 10, 2026
1 check passed
heifner added a commit that referenced this pull request Nov 10, 2026
Brings in the context-free trace removal (#150) and the msig propose payer (#149). SysioContractTypes.ts regenerated from wire-sysio#759 merged with master is identical to the merged file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants