TestFileParser: Adding new keyword wei for expressing function value

This commit is contained in:
Djordje Mijovic
2020-02-21 11:39:37 +01:00
parent 357c936243
commit dd9009eba6
16 changed files with 117 additions and 50 deletions
@@ -0,0 +1,8 @@
contract C {
function f() public payable returns (uint) {
return msg.value;
}
}
// ----
// f(), 1 ether -> 1000000000000000000
// f(), 1 wei -> 1