make_read_state_from_update function

Map<String, dynamic> make_read_state_from_update(
  1. Map update
)

@param {object} update @returns {object}

Implementation

// ignore: non_constant_identifier_names
Map<String, dynamic> make_read_state_from_update(Map update) {
  return {
    "sender": update["sender"],
    "paths": [
      [("request_status".plainToU8a()), HttpCanisterUpdate_id(update)]
    ],
    "ingress_expiry": update["ingress_expiry"],
  };
}