Commit 410c817
authored
feat(
* chore: add Wallet struct and other relevant functions to 'HEVM.sol'
* feat: add 'HEVMCalls::GetNonce0' to env utils for Wallet, rename 'GetNonce' to 'GetNonce1'
* feat: add CreateWallet/Sign to HEVM match in cheat utils
* chore: add Wallet struct and other relevant functions to 'Cheats.sol'
* test: add tests for 'createWallet' in Wallet.t.sol
* test: add tests for getNonce/sign in Wallet.t.sol
* chore: remove 'unwrap' after 'create_wallet' calls
* style: forge fmt 'testdata/cheats/Wallet.t.sol'
* test: add x & y to addr check to Wallet.t.sol
* chore: rename 'cheats' to 'vm' in Wallet.t.sol
* test: change pkSeed to uint256 to check whole private key range
* Add 'bound' func, remove 'vm.assume(pk != 0)'
* docs: add doc comments surrounding 'create_wallet'forge): add createWallet() cheat code for new Wallet struct (foundry-rs#5332)1 parent 93ebcdd commit 410c817
6 files changed
+709
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
0 commit comments