Like mentioned in the original issue, the idea was to ultimately improve the type safety in the backend server. For the trading API, trade offers are saved into a mapping of TradeOffers. Then when a trade offer is executed, it it currently asserted that the offer has a sig. Please check if this can be improved, so that incoming trade offers are checked for non-nil sigs and then saved into a mapping of SignedTradeOffers.
Like mentioned in the original issue, the idea was to ultimately improve the type safety in the backend server. For the trading API, trade offers are saved into a mapping of
TradeOffer
s. Then when a trade offer is executed, it it currently asserted that the offer has a sig. Please check if this can be improved, so that incoming trade offers are checked for non-nil sigs and then saved into a mapping ofSignedTradeOffer
s.