feat: update Vm.sol with new cheatcodes#819
Merged
Conversation
New cheatcodes added from foundry: - createEd25519Key: generate Ed25519 key pair from salt - publicKeyEd25519: derive Ed25519 public key from private key - signEd25519: sign with namespace using Ed25519 - verifyEd25519: verify Ed25519 signature - executeTransaction: execute RLP-encoded signed tx with full EVM semantics Generated via scripts/vm.py from foundry cheatcodes.json. Amp-Thread-ID: https://ampcode.com/threads/T-019c67c1-03c9-704e-b73d-5c1ce8c4722a Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019c67c1-03c9-704e-b73d-5c1ce8c4722a Co-authored-by: Amp <amp@ampcode.com>
onbjerg
approved these changes
Feb 16, 2026
howydev
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update
Vm.solwith all new cheatcodes from foundry.New cheatcodes
createEd25519Key(bytes32 salt)— generate Ed25519 key pair from deterministic saltpublicKeyEd25519(bytes32 privateKey)— derive Ed25519 public keysignEd25519(bytes namespace, bytes message, bytes32 privateKey)— sign with namespace using Ed25519verifyEd25519(bytes signature, bytes namespace, bytes message, bytes32 publicKey)— verify Ed25519 signatureexecuteTransaction(bytes rawTx)— execute RLP-encoded signed tx with full EVM semantics (like--isolatemode)Generation
Regenerated via
scripts/vm.py --from cheatcodes.jsonusing foundry's latestcheatcodes.json.Prompted by: georgen