feat: add support of stx validator initdata format to SS init#189
Merged
vr16x merged 6 commits intofeat/smart-sessions-revamp-corefrom Feb 26, 2026
Merged
Conversation
size-limit report 📦
|
vr16x
approved these changes
Feb 26, 2026
vr16x
added a commit
that referenced
this pull request
Mar 3, 2026
* feat: added 7702, enablePermissions and re-exported policies * chore: code formatting * feat: smart sessions abstractions 1 (#182) * feat: build action and action policy abstrations * chore: code formats * feat: added some improvements and test coverage * chore: code formats * test: added test coverage * chore: code formats * feat: fixed some test issues * feat: smart sessions enable permission action split (#183) * feat: smart sessions permission action split * feat: added module install dependencies via conditions * chore: code formats * feat: added conditional dependency for enable permissions * feat: build batch actions implemented * feat: code formatting * feat: refactored the legacy payment policy logics * chore: code formats * feat: smart session abstraction 2 (#185) * feat: smart session abstraction 2 * feat: refactored the prepareForPermission code flow * feat: added test coverage for broad cases * chore: code formats * feat: added more test coverage * chore: code formats * feat: added debug mode for consoles * feat: minor improvements and test coverage * chore: code formats * feat: smart sessions revamp pr fixes (#186) * feat: fixed all the pr suggestions * chore: code formats * feat: payment policy logic is refactored * feat: increased the build size * fix: build issue fixed * feat: fixed the time units * feat: modified the tests * feat: addressed pr comments * feat: add support of stx validator initdata format to SS init (#189) * chore: merge mee3 support * chore: add support for stx validator initdata * chore: lint * chore: add unit tests for session validator initdata generation * chore: lint --------- Co-authored-by: Filipp Makarov <fmc@Filipps-MacBook-Pro.local> --------- Co-authored-by: Filipp Makarov <fmc@Filipps-MacBook-Pro.local> Co-authored-by: filmakarov <fmc_rf@mail.ru>
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.
PR-Codex overview
This PR focuses on enhancing the
grantMeePermissionfunction and introducing a new utility functiongetSessionValidatorInitDatato manage session validator initialization data based on MEE versions.Detailed summary
getSessionValidatorInitDatafunction to return raw or packed init data based on MEE version.grantMeePermission:deploymentand thrown an error if not configured.sessionValidatorInitDataassignment to use the new function.getSessionValidatorInitDatato cover different MEE versions.