Open cdamian opened 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 49.00%. Comparing base (
c55e74f
) to head (fa6c253
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
LGTM! Thanks @cdamian.
A question, the check of line: https://github.com/centrifuge/centrifuge-chain/pull/1980/files#diff-d763817d4b90117d6295fc32e8fd8a66d2ee4093bfb40d90941a3368e72aa099R244-R247 makes sense? I mean, should we treat the forward info domain as a whitelist for domains?
I would leave it like that for now and get back to it after we discuss the rest of the LP concerns. Furthermore, setting forwarding info can only be done by admins so we can trust it for the time being anyway IMO. TBD if we need extra/different validation.
Description
The current implementation is using the stored domain when wrapping forward messages, however, this is incorrect since we should always use
Domain::Centrifuge
.Checklist