Add native support of EIP-712 struct typehash

This commit is contained in:
Anton Bukov
2023-07-05 12:34:38 +02:00
parent 5d7533b540
commit 54b46ce39e
11 changed files with 54 additions and 0 deletions
@@ -1916,6 +1916,9 @@ BOOST_AUTO_TEST_CASE(builtins)
interface I {}
contract C {
struct S {
uint x;
}
function accessBuiltin() public payable {
abi.decode;
abi.encode;
@@ -1956,6 +1959,7 @@ BOOST_AUTO_TEST_CASE(builtins)
address(0).staticcall;
type(C).name;
type(I).interfaceId;
type(S).typehash;
type(uint).min;
type(uint).max;
assert;