abstract action base prefix checks #2014
Labels
code-quality
refactor
code refactoring or maintainence
sequencer
pertaining to the astria-sequencer crate
We currently perform all address base prefix checks manually in each
check_and_execute
implementation. We should abstract these such that they are performed for every action automatically via something like trait impls for all actions. This will make it more difficult to forget to implement these checks, since the trait will be required, and will also allow for a more streamlined unit-testing process of these checks.The text was updated successfully, but these errors were encountered: