Test cases for protected calls

This commit is contained in:
Ulf Norell
2020-03-02 11:41:45 +01:00
parent 4a812b6f3b
commit e64ac9396a
3 changed files with 29 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
contract Remote =
entrypoint id : int => int
contract ProtectedCall =
entrypoint bad(r : Remote) =
r.id(protected = 0 == 1, 18)