Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
674 B
Solidity
19 lines
674 B
Solidity
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
pragma solidity >=0.8.13 <0.9.0;
|
|
|
|
import {Test} from "../src/Test.sol";
|
|
import {Vm, VmSafe} from "../src/Vm.sol";
|
|
|
|
// These tests ensure that functions are never accidentally removed from a Vm interface, or
|
|
// inadvertently moved between Vm and VmSafe. These tests must be updated each time a function is
|
|
// added to or removed from Vm or VmSafe.
|
|
contract VmTest is Test {
|
|
function test_VmInterfaceId() public pure {
|
|
assertEq(type(Vm).interfaceId, bytes4(0xe835828d), "Vm");
|
|
}
|
|
|
|
function test_VmSafeInterfaceId() public pure {
|
|
assertEq(type(VmSafe).interfaceId, bytes4(0x7f58f7be), "VmSafe");
|
|
}
|
|
}
|