Skip to content

Chore: Data Attribute for (Coop/Contract)-Dependent Commands - #378

Open
DavidArthurCole wants to merge 4 commits into
masterfrom
chore/channel-lookup-helpers
Open

Chore: Data Attribute for (Coop/Contract)-Dependent Commands#378
DavidArthurCole wants to merge 4 commits into
masterfrom
chore/channel-lookup-helpers

Conversation

@DavidArthurCole

Copy link
Copy Markdown
Collaborator

Depends on #377
There were (are) lots of commands that "depend on" being run in a Contract, or Coop channel, most of which were doing the same shape of lookup/reject.

This PR adds a new Attribute, that "pre-defines" what the interaction is "dependent on," and defers the lookup of it to the module base, instead of letting each command separately implement logic for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant