Skip to content

Commit

Permalink
Merge pull request #129 from PowerLoom/SwaroopH-patch-2
Browse files Browse the repository at this point in the history
Using latest compiler
  • Loading branch information
SwaroopH authored Feb 23, 2023
2 parents 5e87a3f + 928418f commit 1bc6d82
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions AuditRecordStore.sol
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
//SPDX-License-Identifier: MIT
/* Copyright (c) 2022 PowerLoom, Inc. */

pragma solidity ^0.5.17;
pragma experimental ABIEncoderV2;

pragma solidity ^0.8.17;

contract AuditRecordStorePub {
event RecordAppended(bytes32 apiKeyHash, string snapshotCid, string payloadCommitId, uint256 tentativeBlockHeight, string projectId, uint256 indexed timestamp);
constructor() public {

}
function commitRecord(string memory snapshotCid, string memory payloadCommitId, uint256 tentativeBlockHeight, string memory projectId, bytes32 apiKeyHash) public {
emit RecordAppended(apiKeyHash, snapshotCid, payloadCommitId, tentativeBlockHeight, projectId, now);
emit RecordAppended(apiKeyHash, snapshotCid, payloadCommitId, tentativeBlockHeight, projectId, block.timestamp);
}
}

0 comments on commit 1bc6d82

Please sign in to comment.