From e82c60bae180e05bc1e98acb1c2c7c8e025030f6 Mon Sep 17 00:00:00 2001 From: Tim Pechersky Date: Tue, 15 Feb 2022 15:05:25 +0000 Subject: [PATCH] Fixture contract to distinct fixture contracts --- contracts/fixtures/Fixture.sol | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 contracts/fixtures/Fixture.sol diff --git a/contracts/fixtures/Fixture.sol b/contracts/fixtures/Fixture.sol new file mode 100644 index 0000000..b17a8b0 --- /dev/null +++ b/contracts/fixtures/Fixture.sol @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: Apache-2.0 + +/** + * Authors: Moonstream Engineering (engineering@moonstream.to) + * GitHub: https://github.com/bugout-dev/dao + * + * Fixture contract to check in test enviroment that connected contract is indeed test fixture + */ + +pragma solidity ^0.8.9; + +contract TestFixture { + function isFixture () public pure returns (bool) + { + return true; + } +}