This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Runtime dispatch calls return Result
#192
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b20b807
Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
gavofyork b7ca4ae
Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
gavofyork b2a48c8
Update wasm.
gavofyork 2d3a1ce
consensus, session and staking all panic-safe.
gavofyork 881f6af
Democracy doesn't panic in apply.
gavofyork fee0f6f
Fix tests.
gavofyork 8b9f50f
Extra helper macro, council depanicked.
gavofyork 0e31a73
Fix one test.
gavofyork 820ec13
Fix up all council tests. No panics!
gavofyork 62ab840
Council voting depanicked.
gavofyork ff5da1a
Dispatch returns result.
gavofyork 1123ff7
session & staking tests updated
gavofyork 00ba4e0
Fix democracy tests.
gavofyork b6e54c1
Fix council tests.
gavofyork f3c1b9b
Fix up polkadot parachains in runtime
gavofyork 3b8a4be
Merge branch 'master' into gav-result-dispatch
gavofyork d51a9bd
Merge remote-tracking branch 'origin/master' into gav-result-dispatch
gavofyork 6c81a1e
Fix borked merge
gavofyork 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
Fix up polkadot parachains in runtime
- Loading branch information
commit f3c1b9bd4c8fdf0fa2c2d75aac74ee6204c1eb1a
There are no files selected for viewing
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
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.
Left in for completeness, but given we're returning
&'static str(for efficiency) and have no formatting tools (since it would severely bloat the runtime), I doubt there's much that can be done right now. A later PR could perhaps switch&'static strtoStringin the case of compiling to native and then it can be formatted properly.