Skip to content

Commit

Permalink
feat: add broadcastRawTransaction cheatcode (#587)
Browse files Browse the repository at this point in the history
* add broadcastRawTransaction cheatcode

* update interface id

* move to scripting section
  • Loading branch information
zerosnacks authored Jul 26, 2024
1 parent c28115d commit 2cbff06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract VmTest is Test {
// inadvertently moved between Vm and VmSafe. This test must be updated each time a function is
// added to or removed from Vm or VmSafe.
function test_interfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0xe745b84f), "VmSafe");
assertEq(type(VmSafe).interfaceId, bytes4(0x6b49caaf), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x1316b43e), "Vm");
}
}

0 comments on commit 2cbff06

Please sign in to comment.