Skip to content

Commit

Permalink
#730 x/act rename rule to template (#827)
Browse files Browse the repository at this point in the history
* - Extend RulesRegistry with Approve/Reject expressions.
- Set expressions within MsgNewAction handling.
- Update registry initialization in space module, add missing rule ids

* add expected expression into cli flags

* add approve/reject rules to
- UpdateSpace
- UpdateKey

* fix tests

* save mentions without duplicates

* fix unused err

* update changelog

* Renamed Rule to Template

* Merge conflicts

* Merge conflicts

* Build fixed

* Brought back

* Fixes

* Reverted changes

* Updated genesis.json

---------

Co-authored-by: Maks Nabokov <[email protected]>
  • Loading branch information
backsapc and mn13 authored Sep 12, 2024
1 parent 3d09dac commit f609b2e
Show file tree
Hide file tree
Showing 77 changed files with 4,796 additions and 4,765 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* (x/act) Introduce Votes and Approve/Reject expressions for Actions
* (x/act) Add expected expressions to MsgAddAction
* (x/act) Set approve/reject expressions in MsgNewAction. Change rules registry to keep approve/reject expressions.
* (x/act) Rename `Rule` to `Template`

### Features (non-breaking)

Expand Down
165 changes: 83 additions & 82 deletions api/warden/act/v1beta1/action.pulsar.go

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions api/warden/act/v1beta1/events.pulsar.go

Large diffs are not rendered by default.

119 changes: 60 additions & 59 deletions api/warden/act/v1beta1/genesis.pulsar.go

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

Loading

0 comments on commit f609b2e

Please sign in to comment.