Add function to validate byte code against source code
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
contract ValidationTest =
|
||||
payable entrypoint attr_fail() = ()
|
||||
entrypoint type_fail(x : int) = x
|
||||
entrypoint code_fail(x) = x + 1
|
||||
@@ -0,0 +1,4 @@
|
||||
contract ValidationTest =
|
||||
entrypoint attr_fail() = ()
|
||||
entrypoint type_fail(x) = x
|
||||
entrypoint code_fail(x) = x - 1
|
||||
@@ -0,0 +1,4 @@
|
||||
payable contract ValidationTest =
|
||||
payable entrypoint attr_fail() = ()
|
||||
entrypoint type_fail(x : int) = x
|
||||
entrypoint code_fail(x) = x + 1
|
||||
Reference in New Issue
Block a user