[ICS02] Examine removing dyn ValidationContext
type from check_header_and_update_state()
and check_misbehaviour_and_update_state()
#534
Labels
A: breaking
Admin: breaking change that may impact operators
O: decoupling
Objective: aims to separate concerns and cause to independent, reusable components
O: logic
Objective: aims for better implementation logic
Summary
Part of #25
Examine the possibility of moving away from passing
dyn ValidationContext
type atcheck_header_and_update_state()
andcheck_misbehaviour_and_update_state()
Description
This requires us to pass a
Sized
object and restricts us from exploring more generic ideas (Like incorporating associated or generic types withinValidtionContext
/Module
/Router
traits or using blanket implementation to get the needed interface available for objects that implementClientState
/Module
traits)As well, it does not seem efficient to pass all the context while needed data comes in via one or two methods.
The text was updated successfully, but these errors were encountered: