Commit e72518e
feat: update Vm.sol with new cheatcodes (#819)
## Summary
Update `Vm.sol` with all new cheatcodes from foundry.
## New cheatcodes
- `createEd25519Key(bytes32 salt)` — generate Ed25519 key pair from
deterministic salt
- `publicKeyEd25519(bytes32 privateKey)` — derive Ed25519 public key
- `signEd25519(bytes namespace, bytes message, bytes32 privateKey)` —
sign with namespace using Ed25519
- `verifyEd25519(bytes signature, bytes namespace, bytes message,
bytes32 publicKey)` — verify Ed25519 signature
- `executeTransaction(bytes rawTx)` — execute RLP-encoded signed tx with
full EVM semantics (like `--isolate` mode)
## Generation
Regenerated via `scripts/vm.py --from cheatcodes.json` using foundry's
latest `cheatcodes.json`.
Prompted by: georgen
---------
Co-authored-by: Amp <amp@ampcode.com>1 parent 52c1e83 commit e72518e
2 files changed
+32
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
0 commit comments