Test case for calling init function from inside the contract

This commit is contained in:
Ulf Norell
2019-09-03 14:47:13 +02:00
parent 0b56691533
commit 69a4c1365b
3 changed files with 15 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
contract CallingInitFunction =
type state = int * int
entrypoint init() = (1, 2)
entrypoint call_init() = init()