Skip to content

Implement ICS 04 Channel & Packet #197

@junha1

Description

@junha1
  • Implement core types and en/decoding
  • Implement channel
  • Implement packet
  • Add transaction handler and datagram types
  • Implement related RPCs

Datagrams

Mostly corresponded with required functions

  • ChanOpenInit
  • ChanOpenTry
  • ChanOpenAck
  • ChanOpenConfirm
  • ChanCloseInit
  • ChanCloseConfirm
  • SendPacket
  • RecvPacket
  • AcknowledgePacket

These will not be implemented in PoC

  • TimeoutPcaket
  • TimeoutOnClose
  • ClenupPacket

RPCs

  • query_channel_end()
  • query_packet_commitment()
  • query_packet_acknowledgement()
  • query_next_sequence_recv()
  • query_latest_send_packet()
  • query_latest_recv_packet()

Questions

  • Why no port & channel here? emitLogEntry("sendPacket", {sequence: packet.sequence, data: packet.data, timeout: packet.timeout})

Changes

  • We always require acknowledgement in recv_packet() since we don't know the use case of non-ack.

Metadata

Metadata

Assignees

Labels

experimentExperimental featuresicsInterchain standard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions