diff --git a/src/Vm.sol b/src/Vm.sol index bc83cb3c..04d8db79 100644 --- a/src/Vm.sol +++ b/src/Vm.sol @@ -827,6 +827,9 @@ interface VmSafe { // ======== Scripting ======== + /// Takes a signed transaction and broadcasts it to the network. + function broadcastRawTransaction(bytes calldata data) external; + /// Has the next call (at this call depth only) create transactions that can later be signed and sent onchain. /// Broadcasting address is determined by checking the following in order: /// 1. If `--sender` argument was provided, that address is used. diff --git a/test/Vm.t.sol b/test/Vm.t.sol index cbf433a4..566865c6 100644 --- a/test/Vm.t.sol +++ b/test/Vm.t.sol @@ -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"); } }