Skip to content

Commit

Permalink
Update create2-tutorial.md (foundry-rs#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics authored Apr 16, 2024
1 parent d426cfd commit f919f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorials/create2-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Initialize the following state variables and the `setUp()` function:
Create a new function named `testDeterministicDeploy()` that:

1. Deploys a new instance of the `Create2` contract.
2. Deals out a 100 ETH to the a specific address that we will use to impersonate as the caller for all subsequent calls using the `prank` cheatcode.
2. Deals out a 100 ETH to the specific address that we will use to impersonate as the caller for all subsequent calls using the `prank` cheatcode.
3. Sets up the `salt` and `bytecode` params
4. Uses the previously deployed `Create2` contract to deploy the `Counter` contract at a deterministic address.
5. Checks if the contract was deployed at the correct address, by asserting that the computed address is equal to the deployed address.
Expand Down

0 comments on commit f919f88

Please sign in to comment.