mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add native support of EIP-712 struct typehash
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user