Skip to content

Commit

Permalink
Merge pull request #99 from ethereum-attestation-service/version
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
lbeder authored Aug 31, 2023
2 parents 6927018 + 0f6beb1 commit d89635a
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion contracts/EAS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ contract EAS is IEAS, Semver, EIP1271Verifier {

/// @dev Creates a new EAS instance.
/// @param registry The address of the global schema registry.
constructor(ISchemaRegistry registry) Semver(1, 1, 0) EIP1271Verifier("EAS", "1.1.0") {
constructor(ISchemaRegistry registry) Semver(1, 2, 0) EIP1271Verifier("EAS", "1.2.0") {
if (address(registry) == address(0)) {
revert InvalidRegistry();
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/SchemaRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ contract SchemaRegistry is ISchemaRegistry, Semver {
mapping(bytes32 uid => SchemaRecord schemaRecord) private _registry;

/// @dev Creates a new SchemaRegistry instance.
constructor() Semver(1, 1, 0) {}
constructor() Semver(1, 2, 0) {}

/// @inheritdoc ISchemaRegistry
function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/eip712/proxy/EIP712Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ contract EIP712Proxy is Semver, EIP712 {
/// @dev Creates a new EIP1271Verifier instance.
/// @param eas The address of the global EAS contract.
/// @param name The user readable name of the signing domain.
constructor(IEAS eas, string memory name) Semver(1, 1, 0) EIP712(name, "1.1.0") {
constructor(IEAS eas, string memory name) Semver(1, 2, 0) EIP712(name, "1.2.0") {
if (address(eas) == address(0)) {
revert InvalidEAS();
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/resolver/SchemaResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abstract contract SchemaResolver is ISchemaResolver, Semver {

/// @dev Creates a new resolver.
/// @param eas The address of the global EAS contract.
constructor(IEAS eas) Semver(1, 1, 0) {
constructor(IEAS eas) Semver(1, 2, 0) {
if (address(eas) == address(0)) {
revert InvalidEAS();
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/tests/eip1271/TestEIP1271Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DelegatedAttestationRequest, DelegatedRevocationRequest } from "../../I
import { Semver } from "../../Semver.sol";

contract TestEIP1271Verifier is Semver, EIP1271Verifier {
constructor(string memory name) Semver(1, 1, 0) EIP1271Verifier(name, "1.1.0") {}
constructor(string memory name) Semver(1, 2, 0) EIP1271Verifier(name, "1.2.0") {}

function verifyAttest(DelegatedAttestationRequest memory request) external {
_verifyAttest(request);
Expand Down
2 changes: 1 addition & 1 deletion deploy/tests/000001-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ describeDeployment(__filename, () => {
});

it('should deploy the schema registry', async () => {
expect(await registry.version()).to.equal('1.1.0');
expect(await registry.version()).to.equal('1.2.0');
});
});
2 changes: 1 addition & 1 deletion deploy/tests/000002-eas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describeDeployment(__filename, () => {
});

it('should deploy the EAS', async () => {
expect(await eas.version()).to.equal('1.1.0');
expect(await eas.version()).to.equal('1.2.0');

expect(await eas.getSchemaRegistry()).to.equal(await registry.getAddress());
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereum-attestation-service/eas-contracts",
"version": "1.1.0-beta.0",
"version": "1.2.0-beta.0",
"description": "Ethereum Attestation Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/EAS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('EAS', () => {
});

it('should be properly initialized', async () => {
expect(await eas.version()).to.equal('1.1.0');
expect(await eas.version()).to.equal('1.2.0');

expect(await eas.getSchemaRegistry()).to.equal(await registry.getAddress());
expect(await eas.getName()).to.equal(EIP712_NAME);
Expand Down
2 changes: 1 addition & 1 deletion test/SchemaRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('SchemaRegistry', () => {

describe('construction', () => {
it('should report a version', async () => {
expect(await registry.version()).to.equal('1.1.0');
expect(await registry.version()).to.equal('1.2.0');
});
});

Expand Down
2 changes: 1 addition & 1 deletion test/eip712/proxy/EIP712Proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('EIP712Proxy', () => {
});

it('should be properly initialized', async () => {
expect(await proxy.version()).to.equal('1.1.0');
expect(await proxy.version()).to.equal('1.2.0');

expect(await proxy.getEAS()).to.equal(await eas.getAddress());
expect(await proxy.getDomainSeparator()).to.equal(eip712ProxyUtils.getDomainSeparator(EIP712_PROXY_NAME));
Expand Down
2 changes: 1 addition & 1 deletion test/eip712/proxy/PermissionedEIP712Proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('PermissionedEIP712Proxy', () => {

describe('construction', () => {
it('should be properly initialized', async () => {
expect(await proxy.version()).to.equal('1.1.0');
expect(await proxy.version()).to.equal('1.2.0');

expect(await proxy.getDomainSeparator()).to.equal(
eip712ProxyUtils.getDomainSeparator(PERMISSIONED_EIP712_PROXY_NAME)
Expand Down
2 changes: 1 addition & 1 deletion test/resolver/SchemaResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('SchemaResolver', () => {
it('should be properly initialized', async () => {
const resolver = await Contracts.TestSchemaResolver.deploy(await eas.getAddress());

expect(await resolver.version()).to.equal('1.1.0');
expect(await resolver.version()).to.equal('1.2.0');
});
});

Expand Down

0 comments on commit d89635a

Please sign in to comment.