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
- Improve conditions set / think about more condition an proper presentation
18
-
- Review Ack and Timeout carefully
19
-
20
14
## Synopsis
21
15
22
16
This standard defines the channel and packet semantics necessary for state machines implementing the Inter-Blockchain Communication (IBC) protocol version 2 to enable secure, verifiable, and efficient cross-chain messaging.
@@ -113,7 +107,7 @@ An application may not need to return an acknowledgment after processing relevan
113
107
114
108
If the receiver chain returns the `SENTINEL_ACKNOWLEDGMENT`, the sender chain will execute the `acknowledgePacket` handler without triggering the `onAcknowledgePacket` callback.
115
109
116
-
As we will see later, the presence in the provable store of the acknowledgement is a prerequisite for executing the `acknowledgePacket` handler. If the receiver chain does not write the acknowledgement, will be impossible for the sender chain to execute `acknowledgePacket`to delete the packet commitment.
110
+
As we will see later, the presence in the provable store of the acknowledgement is a prerequisite for executing the `acknowledgePacket` handler. If the receiver chain does not write the acknowledgement, will be impossible for the sender chain to execute `acknowledgePacket`and delete the packet commitment.
117
111
118
112
> **Example**: In the multi-data packet world, if a packet within 3 payloads intended for 3 different application is sent out, the expectation is that each payload is processed in the same order in which it was placed in the packet. Similarly, the `appAcknowledgement` array is expected to be populated within the same order.
119
113
@@ -134,7 +128,7 @@ The registration of the client in the local `IBCRouter` is responsibility of the
134
128
- The `MAX_TIMEOUT_DELTA` is intendend as the max, absolute, difference between `currentTimestamp` and `timeoutTimestamp` that can be given in input to `sendPacket`.
135
129
136
130
```typescript
137
-
const MAX_TIMEOUT_DELTA =Implementationspecific// We recommend MAX_TIMEOUT_DELTA = TDB
131
+
const MAX_TIMEOUT_DELTA =Implementationspecific// We recommend MAX_TIMEOUT_DELTA = 24h
138
132
```
139
133
140
134
Additionally, the ICS-04 specification defines a set of conditions that the implementations of the IBC protocol version 2 MUST adhere to. These conditions ensure the proper execution of the function handlers by establishing requirements before execution `pre-conditions`, the conditions that MUST trigger errors during execution `error-conditions`, expected outcomes after succesful execution `post-conditions-on-success`, and expected outcomes after error execution `post-conditions-on-error`.
0 commit comments