mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
parent
10b581b8e8
commit
040c444a2a
@ -283,7 +283,7 @@ which only need to be created if there is a dispute.
|
|||||||
salt,
|
salt,
|
||||||
keccak256(abi.encodePacked(
|
keccak256(abi.encodePacked(
|
||||||
type(D).creationCode,
|
type(D).creationCode,
|
||||||
arg
|
abi.encode(arg)
|
||||||
))
|
))
|
||||||
)))));
|
)))));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user