-
Notifications
You must be signed in to change notification settings - Fork 13
Improvments to runtime configuration #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
3a9825f
Improvements: simply authorizations, missing xcm configs, test coverage
karolk91 30ed2a4
Merge remote-tracking branch 'origin/main' into kk-runtime-sec-hardening
karolk91 9b0a9e7
Adapt benchmarking
karolk91 130bab4
Remove call level auhtorization consumption
karolk91 145dcf7
improvements and tests
karolk91 3ea174c
Merge branch 'main' into kk-improvements
karolk91 81cf2a1
Pass authorization via custom origin for signed transactions
RafalMirowski1 3acefec
add test for prepare
RafalMirowski1 0ed4d86
Apply suggestions from code review
karolk91 97ab7d0
Update pallets/transaction-storage/src/lib.rs
karolk91 c871a5d
replacing ipfs-http-client usage (#272)
rosarp 130fdb0
added ValidTransaction tag for check_signed (#269)
rosarp c39ed43
Minor cleanups: pass scope by ref, remove unused deps, add Dependabot…
bkontur 13d9884
Revert and fix CI
bkontur cb9fb5f
feat: add /format skill for pre-commit formatting checks (#275)
mudigal 3b0d7ac
Review fixes
karolk91 9423fa2
Merge remote-tracking branch 'origin/main' into kk-improvements
karolk91 b17e7ac
Merge remote-tracking branch 'origin/main' into kk-improvements
karolk91 c6568e7
Improvements
karolk91 36fa874
Nit
bkontur 8ba1492
Merge branch 'main' into pass-authorization-via-origin
bkontur 8997d5f
Merge branch 'main' into kk-improvements
karolk91 2ee1d6e
Merge branch 'main' into pass-authorization-via-origin
bkontur a1f92c8
Add comment explaining ValidTransaction construction logic
bkontur 5ea282b
Replace EnsureAuthorized with fn ensure_authorized
bkontur 16c72ea
Rename
bkontur 54b7134
Rename ValidateSigned -> AllowedSignedCalls, AuthorizeStorageSigned -…
bkontur 550f829
Add benchmarked weights for ValidateStorageCalls extension
bkontur 3b9875d
Fix fmt for CI nightly and update ValidateStorageCalls doc comment
bkontur bea1ea0
Expand ValidateStorageCalls doc: authorization is consumed in prepare
bkontur aa47e49
Fresh weights
bkontur b709802
Merge branch 'main' into pass-authorization-via-origin
karolk91 2e31904
Merge branch 'main' into kk-improvements
karolk91 aecdd35
Merge branch 'pass-authorization-via-origin' into kk-improvements
karolk91 1c0d47f
Apply Karol's comment
bkontur 4195345
Simplify ValidateStorageCalls: pass only signer via Val, not scope
bkontur 1bbe44f
Parameterize validate_store weight by data length
bkontur c791f2a
Fresh weights from 195.154.91.224
bkontur fb21a90
Merge remote-tracking branch 'origin/pass-authorization-via-origin' i…
karolk91 f48ac3e
Move CallInspector to extension file
karolk91 0364365
Extract common code, remove dead code
karolk91 36d1925
Clean code improvements
karolk91 197a70f
Merge remote-tracking branch 'origin/main' into kk-improvements
karolk91 4376b07
Formatting/clippy
karolk91 5a0992f
mempool deduplication
karolk91 fce46f5
Transform origin only for store/renew
karolk91 9a297f0
Merge remote-tracking branch 'origin/main' into kk-improvements
karolk91 6d414a9
Code review, tests, deduplication
karolk91 923c72e
Add logs related to traversal
karolk91 8c98a67
Add more tests and sync existing ones between solochain and parachain
karolk91 0418f26
Clippy fix
karolk91 cdca1f1
Apply suggestions from code review
karolk91 41c2db3
Adapt to review changes
karolk91 4a997fb
Move is_storage_mutating_call into CallInspector trait as a provided …
bkontur 3cf022b
Move traverse_storage_calls to the CallInspector
karolk91 1a3d5de
Fix clippy
karolk91 121c420
Merge branch 'main' into kk-improvements
bkontur 07a36cd
Missing variables in tests genesis set-up
karolk91 cc25e92
Merge branch 'main' into kk-improvements
karolk91 e0626d6
Reject wrapped store/renew, keep management call validation (#332)
bkontur 3a60fbe
Merge branch 'main' into kk-improvements
karolk91 cd68f79
More tests
karolk91 a2caa59
Avoid unnecessary clones in extract_signer and ValidateStorageCalls (…
bkontur 863d37b
Code-review improvements
karolk91 0140d62
Simplify ValidateStorageCalls::prepare by removing redundant branchin…
bkontur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means we'll "charge" the storage allowance for both main and fallback always. Is that okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its ok, since we don't know until dispatch which one will execute