Commit Graph

4 Commits

Author SHA1 Message Date
Sebastian Bor 851efed467
Governance: Rename AccountGovernance to Governance (#2836)
* chore: rename AccountGovernance to Governance

* chore: make governed_account optional

* chore: rename account_governance to governance
2022-01-29 18:14:27 +00:00
Sebastian Bor aee41fcccd
Governance: Make realm authority check optional (#2827)
* feat: support unchecked SetRealmAuthority

* chore: add test for unchecked set realm authority

Co-authored-by: Jon Cinque
2022-01-29 02:08:52 +00:00
Sebastian Bor bc00009d64
Governance: Realm authority validation (#2787)
* feat: Ensure realm authority can be set to realm's governances only

* chore: update comments for governance account check

* chore: update realm authority comments

* chore: update comments

* chore: update comments

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-01-24 19:41:01 +00:00
Sebastian Bor 4b9139981c
Governance: SetRealmAuthority instruction (#2137)
* feat: implement SetRealmAuthority

* chore: add test_sign_off_proposal_with_signatory_must_sign_error

* chore: fix test name

* chore: pass option as value

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-07-27 15:42:06 +01:00