diff --git a/contracts/protocol/core/immutable/MixinConstants.sol b/contracts/protocol/core/immutable/MixinConstants.sol index 7207d779..72b04311 100644 --- a/contracts/protocol/core/immutable/MixinConstants.sol +++ b/contracts/protocol/core/immutable/MixinConstants.sol @@ -25,7 +25,7 @@ import "../../IRigoblockV3Pool.sol"; /// @dev Inheriting from interface is required as we override public variables. abstract contract MixinConstants is IRigoblockV3Pool { /// @inheritdoc IRigoblockV3PoolImmutable - string public constant override VERSION = "HF 3.1.1"; + string public constant override VERSION = "HF 3.1.2"; bytes32 internal constant _POOL_INIT_SLOT = 0xe48b9bb119adfc3bccddcc581484cc6725fe8d292ebfcec7d67b1f93138d8bd8; diff --git a/test/core/RigoblockPool.Basetoken.spec.ts b/test/core/RigoblockPool.Basetoken.spec.ts index 3ccba072..d1eb2404 100644 --- a/test/core/RigoblockPool.Basetoken.spec.ts +++ b/test/core/RigoblockPool.Basetoken.spec.ts @@ -40,7 +40,9 @@ describe("BaseTokenProxy", async () => { const { pool } = await setupTests() const authority = await deployments.get("Authority") expect(await pool.authority()).to.be.eq(authority.address) - expect(await pool.VERSION()).to.be.eq('HF 3.1.1') + // TODO: we should have an assertion that the version is different if implementation has changed + // so we are prompted to change the version in the deployment constants. + expect(await pool.VERSION()).to.be.eq('HF 3.1.2') }) })