diff --git a/docs/resources/cosmos-grpc-docs.md b/docs/resources/cosmos-grpc-docs.md index 2264dd9d..a6a2a6f3 100644 --- a/docs/resources/cosmos-grpc-docs.md +++ b/docs/resources/cosmos-grpc-docs.md @@ -587,25 +587,15 @@ - [ibc/core/client/v1/genesis.proto](#ibc/core/client/v1/genesis.proto) - [GenesisState](#ibc.core.client.v1.GenesisState) -- [ibc/lightclients/solomachine/v1/solomachine.proto](#ibc/lightclients/solomachine/v1/solomachine.proto) - - [ChannelStateData](#ibc.lightclients.solomachine.v1.ChannelStateData) - - [ClientState](#ibc.lightclients.solomachine.v1.ClientState) - - [ClientStateData](#ibc.lightclients.solomachine.v1.ClientStateData) - - [ConnectionStateData](#ibc.lightclients.solomachine.v1.ConnectionStateData) - - [ConsensusState](#ibc.lightclients.solomachine.v1.ConsensusState) - - [ConsensusStateData](#ibc.lightclients.solomachine.v1.ConsensusStateData) - - [Header](#ibc.lightclients.solomachine.v1.Header) - - [HeaderData](#ibc.lightclients.solomachine.v1.HeaderData) - - [Misbehaviour](#ibc.lightclients.solomachine.v1.Misbehaviour) - - [NextSequenceRecvData](#ibc.lightclients.solomachine.v1.NextSequenceRecvData) - - [PacketAcknowledgementData](#ibc.lightclients.solomachine.v1.PacketAcknowledgementData) - - [PacketCommitmentData](#ibc.lightclients.solomachine.v1.PacketCommitmentData) - - [PacketReceiptAbsenceData](#ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData) - - [SignBytes](#ibc.lightclients.solomachine.v1.SignBytes) - - [SignatureAndData](#ibc.lightclients.solomachine.v1.SignatureAndData) - - [TimestampedSignatureData](#ibc.lightclients.solomachine.v1.TimestampedSignatureData) - - - [DataType](#ibc.lightclients.solomachine.v1.DataType) +- [ibc/lightclients/solomachine/v3/solomachine.proto](#ibc/lightclients/solomachine/v3/solomachine.proto) + - [ClientState](#ibc.lightclients.solomachine.v3.ClientState) + - [ConsensusState](#ibc.lightclients.solomachine.v3.ConsensusState) + - [Header](#ibc.lightclients.solomachine.v3.Header) + - [HeaderData](#ibc.lightclients.solomachine.v3.HeaderData) + - [Misbehaviour](#ibc.lightclients.solomachine.v3.Misbehaviour) + - [SignBytes](#ibc.lightclients.solomachine.v3.SignBytes) + - [SignatureAndData](#ibc.lightclients.solomachine.v3.SignatureAndData) + - [TimestampedSignatureData](#ibc.lightclients.solomachine.v3.TimestampedSignatureData) - [ibc/lightclients/tendermint/v1/tendermint.proto](#ibc/lightclients/tendermint/v1/tendermint.proto) - [ClientState](#ibc.lightclients.tendermint.v1.ClientState) @@ -8536,31 +8526,14 @@ GenesisState defines the ibc client submodule's genesis state. - +
-## ibc/lightclients/solomachine/v1/solomachine.proto - - - - +## ibc/lightclients/solomachine/v3/solomachine.proto -### ChannelStateData -ChannelStateData returns the SignBytes data for channel state -verification. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| channel | [ibc.core.channel.v1.Channel](#ibc.core.channel.v1.Channel) | | | - - - - - - - + ### ClientState ClientState defines a solo machine client that tracks the current consensus @@ -8569,85 +8542,35 @@ state and if the client is frozen. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| sequence | [uint64](#uint64) | | latest sequence of the client state | -| frozen_sequence | [uint64](#uint64) | | frozen sequence of the solo machine | -| consensus_state | [ConsensusState](#ibc.lightclients.solomachine.v1.ConsensusState) | | | -| allow_update_after_proposal | [bool](#bool) | | when set to true, will allow governance to update a solo machine client. The client will be unfrozen if it is frozen. | - - - - - - - - -### ClientStateData -ClientStateData returns the SignBytes data for client state verification. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| client_state | [google.protobuf.Any](#google.protobuf.Any) | | | - - - - - - - - -### ConnectionStateData -ConnectionStateData returns the SignBytes data for connection state -verification. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| connection | [ibc.core.connection.v1.ConnectionEnd](#ibc.core.connection.v1.ConnectionEnd) | | | +| `sequence` | [uint64](#uint64) | | latest sequence of the client state | +| `is_frozen` | [bool](#bool) | | frozen sequence of the solo machine | +| `consensus_state` | [ConsensusState](#ibc.lightclients.solomachine.v3.ConsensusState) | | | - + ### ConsensusState -ConsensusState defines a solo machine consensus state. The sequence of a consensus state -is contained in the "height" key used in storing the consensus state. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| public_key | [google.protobuf.Any](#google.protobuf.Any) | | public key of the solo machine | -| diversifier | [string](#string) | | diversifier allows the same public key to be re-used across different solo machine clients (potentially on different chains) without being considered misbehaviour. | -| timestamp | [uint64](#uint64) | | | - - - - - - - - -### ConsensusStateData -ConsensusStateData returns the SignBytes data for consensus state -verification. +ConsensusState defines a solo machine consensus state. The sequence of a +consensus state is contained in the "height" key used in storing the +consensus state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| consensus_state | [google.protobuf.Any](#google.protobuf.Any) | | | +| `public_key` | [google.protobuf.Any](#google.protobuf.Any) | | public key of the solo machine | +| `diversifier` | [string](#string) | | diversifier allows the same public key to be re-used across different solo machine clients (potentially on different chains) without being considered misbehaviour. | +| `timestamp` | [uint64](#uint64) | | | - + ### Header Header defines a solo machine consensus header @@ -8655,18 +8578,17 @@ Header defines a solo machine consensus header | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| sequence | [uint64](#uint64) | | sequence to update solo machine public key at | -| timestamp | [uint64](#uint64) | | | -| signature | [bytes](#bytes) | | | -| new_public_key | [google.protobuf.Any](#google.protobuf.Any) | | | -| new_diversifier | [string](#string) | | | +| `timestamp` | [uint64](#uint64) | | | +| `signature` | [bytes](#bytes) | | | +| `new_public_key` | [google.protobuf.Any](#google.protobuf.Any) | | | +| `new_diversifier` | [string](#string) | | | - + ### HeaderData HeaderData returns the SignBytes data for update verification. @@ -8674,15 +8596,15 @@ HeaderData returns the SignBytes data for update verification. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| new_pub_key | [google.protobuf.Any](#google.protobuf.Any) | | header public key | -| new_diversifier | [string](#string) | | header diversifier | +| `new_pub_key` | [google.protobuf.Any](#google.protobuf.Any) | | header public key | +| `new_diversifier` | [string](#string) | | header diversifier | - + ### Misbehaviour Misbehaviour defines misbehaviour for a solo machine which consists @@ -8691,84 +8613,16 @@ of a sequence and two signatures over different messages at that sequence. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| client_id | [string](#string) | | | -| sequence | [uint64](#uint64) | | | -| signature_one | [SignatureAndData](#ibc.lightclients.solomachine.v1.SignatureAndData) | | | -| signature_two | [SignatureAndData](#ibc.lightclients.solomachine.v1.SignatureAndData) | | | - +| `sequence` | [uint64](#uint64) | | | +| `signature_one` | [SignatureAndData](#ibc.lightclients.solomachine.v3.SignatureAndData) | | | +| `signature_two` | [SignatureAndData](#ibc.lightclients.solomachine.v3.SignatureAndData) | | | - -### NextSequenceRecvData -NextSequenceRecvData returns the SignBytes data for verification of the next -sequence to be received. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| next_seq_recv | [uint64](#uint64) | | | - - - - - - - - -### PacketAcknowledgementData -PacketAcknowledgementData returns the SignBytes data for acknowledgement -verification. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| acknowledgement | [bytes](#bytes) | | | - - - - - - - - -### PacketCommitmentData -PacketCommitmentData returns the SignBytes data for packet commitment -verification. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | -| commitment | [bytes](#bytes) | | | - - - - - - - - -### PacketReceiptAbsenceData -PacketReceiptAbsenceData returns the SignBytes data for -packet receipt absence verification. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| path | [bytes](#bytes) | | | - - - - - - - + ### SignBytes SignBytes defines the signed bytes used for signature verification. @@ -8776,18 +8630,18 @@ SignBytes defines the signed bytes used for signature verification. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| sequence | [uint64](#uint64) | | | -| timestamp | [uint64](#uint64) | | | -| diversifier | [string](#string) | | | -| data_type | [DataType](#ibc.lightclients.solomachine.v1.DataType) | | type of the data used | -| data | [bytes](#bytes) | | marshaled data | +| `sequence` | [uint64](#uint64) | | the sequence number | +| `timestamp` | [uint64](#uint64) | | the proof timestamp | +| `diversifier` | [string](#string) | | the public key diversifier | +| `path` | [bytes](#bytes) | | the standardised path bytes | +| `data` | [bytes](#bytes) | | the marshaled data bytes | - + ### SignatureAndData SignatureAndData contains a signature and the data signed over to create that @@ -8796,17 +8650,17 @@ signature. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| signature | [bytes](#bytes) | | | -| data_type | [DataType](#ibc.lightclients.solomachine.v1.DataType) | | | -| data | [bytes](#bytes) | | | -| timestamp | [uint64](#uint64) | | | +| `signature` | [bytes](#bytes) | | | +| `path` | [bytes](#bytes) | | | +| `data` | [bytes](#bytes) | | | +| `timestamp` | [uint64](#uint64) | | | - + ### TimestampedSignatureData TimestampedSignatureData contains the signature data and the timestamp of the @@ -8815,36 +8669,14 @@ signature. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| signature_data | [bytes](#bytes) | | | -| timestamp | [uint64](#uint64) | | | - - +| `signature_data` | [bytes](#bytes) | | | +| `timestamp` | [uint64](#uint64) | | | - - -### DataType -DataType defines the type of solo machine proof being created. This is done to preserve uniqueness of different -data sign byte encodings. - -| Name | Number | Description | -| ---- | ------ | ----------- | -| DATA_TYPE_UNINITIALIZED_UNSPECIFIED | 0 | Default State | -| DATA_TYPE_CLIENT_STATE | 1 | Data type for client state verification | -| DATA_TYPE_CONSENSUS_STATE | 2 | Data type for consensus state verification | -| DATA_TYPE_CONNECTION_STATE | 3 | Data type for connection state verification | -| DATA_TYPE_CHANNEL_STATE | 4 | Data type for channel state verification | -| DATA_TYPE_PACKET_COMMITMENT | 5 | Data type for packet commitment verification | -| DATA_TYPE_PACKET_ACKNOWLEDGEMENT | 6 | Data type for packet acknowledgement verification | -| DATA_TYPE_PACKET_RECEIPT_ABSENCE | 7 | Data type for packet receipt absence verification | -| DATA_TYPE_NEXT_SEQUENCE_RECV | 8 | Data type for next sequence recv verification | -| DATA_TYPE_HEADER | 9 | Data type for header verification | - -