Skip to content

Commit

Permalink
Merge PR cosmos#116: Basic data availability requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
cwgoes authored Jun 8, 2019
1 parent 168fa4f commit 1a6058b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion spec/ics-24-host-requirements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type getCallingModule = () => string
Modules which wish to make use of particular IBC features MAY implement certain handler functions, e.g. to add additional logic to a channel handshake with an associated module on another chain.
### Datagram Submission
### Datagram submission
Host chains MAY define a unique `submitDatagram` function to submit [datagrams](../../docs/ibc/2_IBC_TERMINOLOGY.md) directly:
Expand All @@ -100,6 +100,16 @@ type submitDatagram = (datagram: Datagram) => void
`submitDatagram` allows relayers to relay IBC datagrams directly to the host chain. Host chains MAY require that the relayer submitting the datagram has an account to pay transaction fees, signs over the datagram in a larger transaction structure, etc - `submitDatagram` MUST define any such packaging required.
### Data availability
For safety (e.g. exactly-once packet delivery), host chains MUST have eventual data availability, such that any key-value pairs in state can be eventually retrieved by relayers.
For liveness (relaying packets, which will have a timeout), host chains MUST have partially synchronous data availability (e.g. within a wall clock or block height bound), such that any key-value pairs in state can be retrieved by relayers within the bound.
Data computable from a subset of state and knowledge of the state machine (e.g. IBC packet data, which is not directly stored) are also assumed to be available to and efficiently computable by relayers.
Light clients of particular consensus algorithms may have different and/or more strict data availability requirements.
## Backwards Compatibility
Not applicable.
Expand Down

0 comments on commit 1a6058b

Please sign in to comment.