Skip to content

abstract action base prefix checks #2014

@ethanoroshiba

Description

@ethanoroshiba

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.

Metadata

Metadata

Assignees

Labels

code-qualityignore-staleOverride for issues or PRs which should not be removed if stale.refactorcode refactoring or maintainencesequencerpertaining to the astria-sequencer crate

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions