Skip to content

Commit

Permalink
fix SALT
Browse files Browse the repository at this point in the history
  • Loading branch information
spengrah committed Aug 15, 2023
1 parent d0f2199 commit 53f5710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/Counter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface ImmutableCreate2Factory {

contract Deploy is Script {
Counter public counter;
bytes32 public SALT = bytes32(abi.encode(0x4a75));
bytes32 public SALT = bytes32(abi.encode("lets add some salt to these eggs"));

// default values
bool internal _verbose = true;
Expand Down
2 changes: 1 addition & 1 deletion test/Counter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Test, console2 } from "forge-std/Test.sol";
import { Counter } from "../src/Counter.sol";
import { Deploy, DeployPrecompiled } from "../script/Counter.s.sol";

contract CounterTest is DeployPrecompiled, Test {
contract CounterTest is Deploy, Test {
/// @dev Inherit from DeployPrecompiled instead of Deploy if working with pre-compiled contracts

/// @dev variables inhereted from Deploy script
Expand Down

0 comments on commit 53f5710

Please sign in to comment.