Skip to content

feat: makes system capability available in mixin top-level#5814

Open
christoph-dfinity wants to merge 2 commits intomasterfrom
christoph/mixin-top-system
Open

feat: makes system capability available in mixin top-level#5814
christoph-dfinity wants to merge 2 commits intomasterfrom
christoph/mixin-top-system

Conversation

@christoph-dfinity
Copy link
Contributor

Fixes #5805

Could consider making this more strict at some point by passing the capability as a type parameter on the include.

Implementation notes

I conjured the C.top_cap from "ether" like we do for actor classes. If you'd rather have me find a spot to insert it in the parser like we do for actors, I can give that a try as well.

@christoph-dfinity christoph-dfinity requested a review from a team as a code owner February 3, 2026 09:24
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Comparing from cd15f1e to c833693:
The produced WebAssembly code seems to be completely unchanged.
In terms of gas, no changes are observed in 5 tests.
In terms of size, no changes are observed in 5 tests.

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.

Expose system capability in mixin bodies

1 participant