From dab8582c750eb8e189eff201a74eead1ca554fe7 Mon Sep 17 00:00:00 2001 From: Uladzislau Hubar Date: Thu, 8 Feb 2024 20:46:13 +0100 Subject: [PATCH] Removed indexed args from V1/V1U1 Commit Manager events --- abi/CommitManagerV1.json | 6 +++--- abi/CommitManagerV1U1.json | 10 +++++----- contracts/v1/CommitManagerV1.sol | 6 +++--- contracts/v1/CommitManagerV1U1.sol | 10 +++++----- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/abi/CommitManagerV1.json b/abi/CommitManagerV1.json index 4f1d262a..7b2ea7d9 100644 --- a/abi/CommitManagerV1.json +++ b/abi/CommitManagerV1.json @@ -191,13 +191,13 @@ "anonymous": false, "inputs": [ { - "indexed": true, + "indexed": false, "internalType": "address", "name": "assetContract", "type": "address" }, { - "indexed": true, + "indexed": false, "internalType": "uint256", "name": "tokenId", "type": "uint256" @@ -221,7 +221,7 @@ "type": "uint16" }, { - "indexed": true, + "indexed": false, "internalType": "uint72", "name": "identityId", "type": "uint72" diff --git a/abi/CommitManagerV1U1.json b/abi/CommitManagerV1U1.json index a712867f..0e210b93 100644 --- a/abi/CommitManagerV1U1.json +++ b/abi/CommitManagerV1U1.json @@ -222,13 +222,13 @@ "anonymous": false, "inputs": [ { - "indexed": true, + "indexed": false, "internalType": "address", "name": "assetContract", "type": "address" }, { - "indexed": true, + "indexed": false, "internalType": "uint256", "name": "tokenId", "type": "uint256" @@ -258,7 +258,7 @@ "type": "uint256" }, { - "indexed": true, + "indexed": false, "internalType": "uint72", "name": "identityId", "type": "uint72" @@ -277,13 +277,13 @@ "anonymous": false, "inputs": [ { - "indexed": true, + "indexed": false, "internalType": "address", "name": "assetContract", "type": "address" }, { - "indexed": true, + "indexed": false, "internalType": "uint256", "name": "tokenId", "type": "uint256" diff --git a/contracts/v1/CommitManagerV1.sol b/contracts/v1/CommitManagerV1.sol index a8fa6b58..32b378ab 100644 --- a/contracts/v1/CommitManagerV1.sol +++ b/contracts/v1/CommitManagerV1.sol @@ -22,12 +22,12 @@ import {ServiceAgreementStructsV1} from "./structs/ServiceAgreementStructsV1.sol contract CommitManagerV1 is Named, Versioned, ContractStatus, Initializable { event CommitSubmitted( - address indexed assetContract, - uint256 indexed tokenId, + address assetContract, + uint256 tokenId, bytes keyword, uint8 hashFunctionId, uint16 epoch, - uint72 indexed identityId, + uint72 identityId, uint40 score ); diff --git a/contracts/v1/CommitManagerV1U1.sol b/contracts/v1/CommitManagerV1U1.sol index 0d81e6aa..f198fa0f 100644 --- a/contracts/v1/CommitManagerV1U1.sol +++ b/contracts/v1/CommitManagerV1U1.sol @@ -26,18 +26,18 @@ import {ServiceAgreementErrorsV1U1} from "./errors/ServiceAgreementErrorsV1U1.so contract CommitManagerV1U1 is Named, Versioned, ContractStatus, Initializable { event CommitSubmitted( - address indexed assetContract, - uint256 indexed tokenId, + address assetContract, + uint256 tokenId, bytes keyword, uint8 hashFunctionId, uint16 epoch, uint256 stateIndex, - uint72 indexed identityId, + uint72 identityId, uint40 score ); event StateFinalized( - address indexed assetContract, - uint256 indexed tokenId, + address assetContract, + uint256 tokenId, bytes keyword, uint8 hashFunctionId, uint16 epoch, diff --git a/package-lock.json b/package-lock.json index f8b2a545..f20acbd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dkg-evm-module", - "version": "4.2.1", + "version": "4.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dkg-evm-module", - "version": "4.2.1", + "version": "4.2.2", "license": "Apache-2.0", "dependencies": { "@openzeppelin/contracts": "^4.9.3", diff --git a/package.json b/package.json index 4d7d5722..2bea0514 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dkg-evm-module", - "version": "4.2.1", + "version": "4.2.2", "description": "Smart contracts for OriginTrail V6", "main": "index.ts", "files": [