diff --git a/contracts/version/Version.sol b/contracts/version/Version.sol index 70f9988..90a81ba 100644 --- a/contracts/version/Version.sol +++ b/contracts/version/Version.sol @@ -6,10 +6,9 @@ pragma solidity 0.8.27; */ contract Version { /** - * @dev Returns the address of the current owner. + * @dev Returns the version of the SFC contract */ function version() public pure returns (bytes3) { - // version 3.0.5 - return "305"; + return 0x040000; // version 4.0.0 } } diff --git a/test/SFC.ts b/test/SFC.ts index 87bbe3e..c3351c3 100644 --- a/test/SFC.ts +++ b/test/SFC.ts @@ -127,7 +127,7 @@ describe('SFC', () => { }); it('Should succeed and return version of the current implementation', async function () { - expect(await this.sfc.version()).to.equal(ethers.hexlify(ethers.toUtf8Bytes('305'))); + expect(await this.sfc.version()).to.equal('0x040000'); }); });