-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from PowerLoom/SwaroopH-patch-2
Using latest compiler
- Loading branch information
Showing
1 changed file
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |