Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajeetkolhapure committed Nov 9, 2024
1 parent 2584d5c commit 4a74554
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/src/AttestationRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,5 @@ contract AttestationRegistry is OwnableUpgradeable {
*/
function getNextAttestationId() public view returns (bytes32) {
return generateAttestationId(attestationIdCounter + 1);
}
}
}
2 changes: 1 addition & 1 deletion contracts/test/AttestationRegistry.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ contract AttestationRegistryTest is Test {
assertEq(attestationId, 0x000300000000000000000000000000000000000000000000000000000000000a);
}

function test_getNextAttestationId(AttestationPayload memory attestationPayload) public {
function test_getNextAttestationId(AttestationPayload memory attestationPayload) public {
vm.assume(attestationPayload.subject.length != 0);
vm.assume(attestationPayload.attestationData.length != 0);
SchemaRegistryMock schemaRegistryMock = SchemaRegistryMock(router.getSchemaRegistry());
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/mocks/AttestationRegistryMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ contract AttestationRegistryMock {

function getNextAttestationId() public view returns (bytes32) {
return generateAttestationId(attestationIdCounter + 1);
}
}
}

0 comments on commit 4a74554

Please sign in to comment.