Better error for when origin filter prevent the call to be dispatched (#10134)

* better error

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* remove unused

* fix error

* fmt

* fix tests

* fmt

* Update frame/contracts/src/exec.rs

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* fix typo

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
authored and GitHub committed 2021-11-02 14:20:00 +00:00
1 parent 977cf450b3
commit 20c9afcdc1
9 files changed
+67 -37

No files matched your search

+3 -1
View File
@@ -63,7 +63,9 @@ frame_support::decl_error! {
TestError,
/// Error documentation
/// with multiple lines
AnotherError
AnotherError,
// Required by construct_runtime
CallFiltered,
}
}