Skip to content

Commit

Permalink
fix: use correct encoded salt
Browse files Browse the repository at this point in the history
  • Loading branch information
sendra committed Jul 29, 2024
1 parent 78bd3b6 commit f15ca25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/BaseScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ abstract contract BaseScript {
string memory salt
) internal virtual returns (address) {
bytes32 encodedSalt = keccak256(abi.encode(salt));
return Create2Utils.computeCreate2Address(salt, byteCode);
return Create2Utils.computeCreate2Address(encodedSalt, byteCode);
}
}

0 comments on commit f15ca25

Please sign in to comment.