Skip to content

Drop Context-Free Discount Parameters From the Cluster Genesis - #182

Merged
heifner merged 2 commits into
masterfrom
feature/remove-context-free
Nov 10, 2026
Merged

heifner merged 2 commits 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 and the two discount parameters from chain_config.

  • ClusterConfigGenesisRenderer no longer emits context_free_discount_net_usage_num or context_free_discount_net_usage_den in initial_configuration. nodeop ignores unknown genesis keys, so the old genesis still loaded; it now matches chain_config.
  • The genesis test checks both keys alongside the earlier base_per_transaction_net_usage removal.
  • docs/production-bootstrap.md drops the row.

Nothing else in this repo refers to context-free actions (send_context_free, get_context_free_data). Transactions still carry empty context_free_actions and context_free_data, built by sdk-core.

Pairs with Wire-Network/wire-libraries-ts#150, which drops context_free from sdk-core's trace type and regenerates SysioContractTypes. Neither PR depends on the other.

wire-sysio no longer has `context_free_discount_net_usage_num` or `context_free_discount_net_usage_den` in its chain configuration, so the genesis renderer stops emitting them. The genesis test checks both keys alongside `base_per_transaction_net_usage`, and `docs/production-bootstrap.md` drops the row.
Brings in the Solana AuthEx bootstrap fix from #181, which every flow needs to get through bootstrap.
@heifner
heifner marked this pull request as ready for review November 10, 2026 13:40
@heifner
heifner merged commit 69454a5 into master Nov 10, 2026
2 checks passed
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