Fixed ambiguity in the create2 address computation doc

specify that arguments are encoded using abi.encode in the example code
This commit is contained in:
Hector Roussille 2022-03-16 18:38:55 +01:00
parent 10b581b8e8
commit 040c444a2a

View File

@ -283,7 +283,7 @@ which only need to be created if there is a dispute.
salt,
keccak256(abi.encodePacked(
type(D).creationCode,
arg
abi.encode(arg)
))
)))));