Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(x/intent)!: ability for modules to dynamically resolve variables on Action creation #139

Merged
merged 19 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5c92f21
feat(wardend): prefer context.Context over sdk.Context where possible
Pitasi Apr 3, 2024
5c6d560
feat(shield): move Environment interface out of internal package
Pitasi Apr 3, 2024
1ec0cd3
feat(shield): allow dots (.) in identifier names
Pitasi Apr 3, 2024
d8ff2f7
chore(shield): move `ast` outside internal folder
Pitasi Apr 3, 2024
b0ca9d2
feat(shield): add custom AST preprocessing
Pitasi Apr 3, 2024
243885f
feat(shield): add ast.Stringify method to translate an AST back into …
Pitasi Apr 3, 2024
3f75ee0
feat(x/intent): inject a constructor for a shield.Expander
Pitasi Apr 3, 2024
a739df6
feat(x/intent): provide an ast.Expander implementation
Pitasi Apr 3, 2024
f9d9b42
fix(x/intent): don't run preprocessors when evaluating the Intent
Pitasi Apr 3, 2024
9ff1f3f
feat(x/intent): move and rename Intent.Addresses to Action.Mentions
Pitasi Apr 3, 2024
259a8f8
feat(x/intent): extend a Context adding the Action msg being processed
Pitasi Apr 3, 2024
35e54e4
feat(x/intent): freeze Intent after preprocessing during Action creation
Pitasi Apr 3, 2024
0de2035
chore: remove older migrations code
Pitasi Apr 3, 2024
46eb179
feat(x/warden): provide shield.Expander for warden module
Pitasi Apr 3, 2024
2fb9011
feat(x/warden): rewrite the default intent using the new language fea…
Pitasi Apr 3, 2024
b0be1b2
chore: changelog
Pitasi Apr 3, 2024
570ac20
Update warden/x/warden/keeper/shield.go
Pitasi Apr 3, 2024
8e2d7e3
chore: fix changelog scope
Pitasi Apr 3, 2024
53ee308
feat: proper error handling for ast.Expanders
Pitasi Apr 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Consensus Breaking Changes

* (x/intent) [#139](https://github.com/warden-protocol/wardenprotocol/pull/139) Ability for modules to dynamically resolve variables on Action creation
* x/warden can now resolve `warden.space.owners` in Intent definitions into the list of owners of the space

### Features

### Bug Fixes
Expand Down
189 changes: 162 additions & 27 deletions api/warden/intent/action.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading