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
Custom runtime module errors #3433
Merged
Merged
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
ba48a0a
srml-system checks
xlc 52c6b90
wip
xlc bd7228f
more modules compiles
xlc c0cece1
node-runtime checks
xlc a93fedd
build.sh passes
xlc 3039e7c
include dispatch error in failed event
xlc c5c2e5a
revert some unnecessary changes
xlc 1198fb7
refactor based on comments
xlc ed20244
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc 1f964d1
more compile error fixes
xlc 83975c0
avoid unnecessary into
xlc e03db0c
reorder code
xlc 7e01497
fixes some tests
xlc a6c989b
manually implement encode & decode to avoid i8 workaround
xlc 9d2dbbb
more test fixes
xlc 31c9c84
more fixes
xlc 6cad33a
more error fixes
xlc ba42e6a
Apply suggestions from code review
xlc 0f01cc4
address comments
xlc cce7c08
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc c7ae1b1
test for DispatchError encoding
xlc 0e424c1
tyep alias for democracy
xlc a145f27
make error printable
xlc ef4eecd
line width
xlc 33668d8
fix balances tests
xlc d128a1a
fix executive test
xlc a4a8cdc
fix system tests
xlc f4387fb
bump version
xlc ef2eaa6
ensure consistent method signature
xlc 31c998f
Apply suggestions from code review
xlc d6b94b0
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc 51ec628
changes based on review
xlc 88887ee
Add issue number for TODOs
xlc 550c1e0
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc e8324c2
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc c147a8e
fix
xlc 633a482
line width
xlc b61e137
fix test
xlc 1ca74ed
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc 3d2c850
Update core/sr-primitives/src/lib.rs
xlc 8330acf
Update core/sr-primitives/src/traits.rs
xlc d41955a
Update srml/council/src/motions.rs
xlc 66187b3
Update srml/council/src/motions.rs
xlc 7489d3a
update based on review
xlc 57f7958
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc 6e5c3ce
More concrete macro matching
xlc 2d9794a
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc 1f5faac
Merge remote-tracking branch 'upstream/master' into improve-error-res…
xlc efe953a
fix test build issue
xlc bec7926
Update hex-literal dependency version. (#3141)
kianenigma 9a68a71
Start to rework the new error handling
bkchr 35f9ebc
More work to get it back compiling
bkchr d542efc
Merge remote-tracking branch 'origin/master' into new_error_handling
bkchr a3b5693
Start to fix after master merge
bkchr 6784605
The great transaction error handling refactoring
bkchr 7424908
Make `decl_error` errors convertible to `&'static str`
bkchr cc862ef
Make srml-executive build again
bkchr 3b809f2
Fix `sr-primitives` tests
bkchr ddd630a
More fixes
bkchr f611efc
Last round of fix ups
bkchr c181c6c
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 89a04a5
Fix build
bkchr 46dc7be
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 86ce38b
Fix build
bkchr 41a176a
Apply suggestions from code review
bkchr a644a6e
Rename some stuff
bkchr 66f3da5
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 80a07b0
Fixes after master merge
bkchr 31cd048
Adds `CheckBlockGasLimit` signed extension
bkchr 513702c
Remove debug stuff
bkchr c81d17e
Fix srml-balances test
bkchr 9df261b
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr e48d2b5
Rename `InvalidIndex` to `CannotLookup`
bkchr 1f16b00
Remove weird generic parameters
bkchr ed0761c
Rename function again
bkchr c0496ec
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 20c6706
Fix import
bkchr 28bbc86
Document the signed extension
bkchr 92cec3c
Change from `Into` to `From`
bkchr 442db38
Update srml/contracts/src/lib.rs
bkchr e48e66f
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 257684e
Fix compilation
bkchr 1470875
Update srml/contracts/src/lib.rs
bkchr 23d5a93
Update core/sr-primitives/src/transaction_validity.rs
bkchr 39d9d47
Remove unused code
bkchr 7990a97
Fix compilation
bkchr 7ecba8d
Some cleanups
bkchr 448f4da
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 3d7abc0
Fix compile errors
bkchr f93f9d3
Make `TransactionValidity` a `Result`
bkchr 91b0869
Apply suggestions from code review
bkchr 86ef4eb
Beautify the code a little bit and fix test
bkchr 354e05f
Make `CannotLookup` an inherent error declared by `decl_error!`
bkchr 6743719
Adds some documentation
bkchr b9fc817
Make `ApplyOutcome` a result
bkchr d5dc034
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr e1bd019
Up the spec_version
bkchr e0fa417
Apply suggestions from code review
bkchr c25ac83
Merge remote-tracking branch 'origin/master' into bkchr-runtime-error…
bkchr 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
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
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
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.