Skip to content

Commit 09e6508

Browse files
authored
Merge pull request #334 from KiraCore/v0.1.27-rc.12
V0.1.27 rc.12
2 parents e9bd96b + 8229eb5 commit 09e6508

File tree

7 files changed

+69
-63
lines changed

7 files changed

+69
-63
lines changed

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ lint:
2020
@golangci-lint run
2121
@go mod verify
2222

23+
containerProtoVer=v0.2
24+
containerProtoImage=tendermintdev/sdk-proto-gen:$(containerProtoVer)
25+
containerProtoGen=cosmos-sdk-proto-gen-$(containerProtoVer)
26+
2327
proto-gen:
24-
docker run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen sh ./scripts/protocgen.sh
28+
docker run --rm --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(containerProtoImage) sh ./scripts/protocgen.sh
2529

2630
proto-gen-local:
2731
./scripts/protogen-local.sh

RELEASE.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
**Features:**
44

5-
- Added signature files generation to releases
6-
- Include `env.sh` in releases & rename to `sekai-env.sh`
5+
- updated identity registrar messages for record_ids, verify_request_id
6+
- added metadata endpoint for MsgDeleteIdentityRegistrar
7+
- removed metadata endpoint for MsgEditIdentityRegistrar

proto/kira/gov/identity_registrar.proto

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ message MsgRequestIdentityRecordsVerify {
5757
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
5858
(gogoproto.moretags) = "yaml:\"verifier\""
5959
];
60-
repeated uint64 recordIds = 3;
60+
repeated uint64 record_ids = 3;
6161
string tip = 4 [
6262
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
6363
(gogoproto.nullable) = false
@@ -69,13 +69,13 @@ message MsgHandleIdentityRecordsVerifyRequest {
6969
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
7070
(gogoproto.moretags) = "yaml:\"verifier\""
7171
];
72-
uint64 verifyRequestId = 2;
72+
uint64 verify_request_id = 2;
7373
bool yes = 3;
7474
}
7575
message MsgCancelIdentityRecordsVerifyRequest {
7676
bytes executor = 1 [
7777
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
7878
(gogoproto.moretags) = "yaml:\"executor\""
7979
];
80-
uint64 verifyRequestId = 2;
80+
uint64 verify_request_id = 2;
8181
}

scripts/sekai-env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ FuncIDMultiSend=2
188188
FuncIDMsgSubmitProposal=10
189189
FuncIDMsgVoteProposal=11
190190
FuncIDMsgRegisterIdentityRecords=12
191-
FuncIDMsgEditIdentityRecord=13
191+
FuncIDMsgDeleteIdentityRecords=13
192192
FuncIDMsgRequestIdentityRecordsVerify=14
193193
FuncIDMsgHandleIdentityRecordsVerifyRequest=15
194194
FuncIDMsgCancelIdentityRecordsVerifyRequest=16

types/constants.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ package types
33
const (
44
// we set page iteration limit for safety
55
PageIterationLimit = 512
6-
SekaiVersion = "v0.1.26-rc.11"
6+
SekaiVersion = "v0.1.27-rc.12"
77
CosmosVersion = "v0.45.1"
88
)

x/gov/types/codec.go

+10-9
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,17 @@ func registerIdRecordsCodec(cdc *codec.LegacyAmino) {
150150
}
151151
}`)
152152

153-
cdc.RegisterConcrete(&MsgDeleteIdentityRecords{}, "kiraHub/MsgEditIdentityRecord", nil)
153+
cdc.RegisterConcrete(&MsgDeleteIdentityRecords{}, "kiraHub/MsgDeleteIdentityRecords", nil)
154154
functionmeta.AddNewFunction((&MsgDeleteIdentityRecords{}).Type(), `{
155-
"description": "MsgEditIdentityRecord defines a proposal message to edit an identity record.",
155+
"description": "MsgDeleteIdentityRecords defines a method to delete identity records owned by an address.",
156156
"parameters": {
157-
"record_id": {
158-
"type": "uint64",
159-
"description": "the id of identity record to edit."
160-
},
161157
"address": {
162158
"type": "string",
163-
"description": "the address for the identity record."
159+
"description": "the address of requester."
164160
},
165-
"infos": {
161+
"keys": {
166162
"type": "array",
167-
"description": "key/value array for the mappings of the identity record."
163+
"description": "the array string that defines identity record key values to be deleted."
168164
}
169165
}
170166
}`)
@@ -203,6 +199,11 @@ func registerIdRecordsCodec(cdc *codec.LegacyAmino) {
203199
"verify_request_id": {
204200
"type": "uint64",
205201
"description": "the id of verification request."
202+
},
203+
"yes": {
204+
"type": "bool",
205+
"optional": true,
206+
"description": "defines approval or rejecting an identity request (default false)"
206207
}
207208
}
208209
}`)

x/gov/types/identity_registrar.pb.go

+46-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)