You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to move Block.Header.Proof and Block.Header.Round from Block.Header to Block.VRFParams.
Problem Definition
Like #543#546, Ostracon should be as compatible as possible with IBC and Cosmos-SDK. Howerver the compatibility is low for light client, since Ostracon's header structure is different from Tendermint's one.
Proposal
I would propose the following fixes:
messageBlock {
Headerheader=1 [(gogoproto.nullable) = false];
Datadata=2 [(gogoproto.nullable) = false];
ostracon.types.EvidenceListevidence=3 [(gogoproto.nullable) = false];
Commitlast_commit=4;
VRFParamsvrf_params=5; // new field!!
}
// new message!!messageVRFParams {
int32round=1;
bytesproof=2;
}
// Header defines the structure of an Ostracon block header.messageHeader {
...
// *** Ostracon Extended Fields ***// Note that MaxHeaderSize must be modified when adding/removing fields.// vrf info// int32 round = 1000; // remove this field!!// bytes proof = 1001; // remove this field!!
}
proof and round are just moved from header to vrf_params. Keeping the header and commit structure the same as tendermint is compatible with tendermint for light client.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
ulbqb
changed the title
Remove VRF Proof from header
Remove VRF Proof from header for compatibility
Feb 1, 2023
Summary
I want to move
Block.Header.Proof
andBlock.Header.Round
fromBlock.Header
toBlock.VRFParams
.Problem Definition
Like #543 #546, Ostracon should be as compatible as possible with IBC and Cosmos-SDK. Howerver the compatibility is low for light client, since Ostracon's header structure is different from Tendermint's one.
Proposal
I would propose the following fixes:
proof
andround
are just moved fromheader
tovrf_params
. Keeping the header and commit structure the same as tendermint is compatible with tendermint for light client.For Admin Use
The text was updated successfully, but these errors were encountered: