zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

Make origin tests for specific origins

Open maltekliemann opened this issue 2 years ago • 0 comments

Origin tests in prediction-markets and other pallets is very unspecific. We just verify that a single Sudo origin can call all restricted calls. However, this leaves room for error: What if ApproveOrigin can also call reject(), which is supposed to only be called by RejectOrigin. If they're all the same in the mock runtime, we can't verify this.

maltekliemann avatar Aug 11 '22 08:08 maltekliemann