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

DAOSpace error code #74

Merged
merged 2 commits into from
Jul 26, 2022
Merged

DAOSpace error code #74

merged 2 commits into from
Jul 26, 2022

Conversation

jolestar
Copy link
Member

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

重新排序 error code,消除重复的 error code,做了一些代码清理

What is the new behavior?

Other information

@jolestar jolestar changed the title Dao space error code DAOSpace error code Jul 26, 2022
@jolestar jolestar merged commit 4bc5d65 into genesis_dao Jul 26, 2022
@jolestar jolestar deleted the dao_space_error_code branch July 26, 2022 12:23
jolestar added a commit that referenced this pull request Jul 29, 2022
* [genesis_dao] Implement GenesisDao

* Implement Proposal

* Init MemberJoinPlugin

* implement InstallPluginProposalPlugin

* update build

* update build

* Implement DaoAccount and GenesisDao module (#46)

* Implement DaoAccount and GenesisDao module

* Update BuildInfo.yaml

* merge Dao proposal and dao config into genesis dao base code (#47)

Co-authored-by: jolestar <jolestar@gmail.com>

* Update BuildInfo.yaml

* Genesis dao plugin (#49)

* add salary governance

* add salary governance

* Salary governance plugin

* add script tag for plugin functions

* Dao account test (#53)

* Update DaoAccount and write integration test

* update build

* update CI for genesis_dao branch

* Add member event (#55)

* Dao proposal implement (#57)

* dao proposal implementation

* update build files

* fixed merge genesis_dao conflicts

* Genesis dao test (#59)

* [test] Add dao integration test

* fixup

* update build file

* remove XDao module

* checkpoints temp Test (#62)

* Grant plugin (#61)

* add GrantProposalPlugin

* add event struct

* add grant in GenesisDao

* add grant cap

* fix grant plugin

* Rename DaoGrantWithdrawTokenCap

* Add the  plugin code that to convert token to SBT amount (#64)

* Dao proposal test (#66)

* add proposal create and member join test case

* upgrade proof params via rpc raw proofs api

* generate struct tag for dao resource

* add bcs option tuple test case

* add queue proposal action script

* add script signer

* add cast vote scripts

* unify daoT ablity

* fix dao propsosal abort test case

* fix prove (#67)

Co-authored-by: WGB5445 <919603023@qq.com>

* Dao event and get vote info api (#69)

* add dao event and get vote info api

* fix get vote info option when has not vote yet

* no_with_veto counts as no but also adds a veto vote

* event associate with dao id (#71)

* Change some functions into Script methods and fix part of the logic (#65)

* [ Other ] Rename DaoSpace (#72)

* rename DaoSpace

* Fix dir name

* add AnyMemberPlugin Accept

* Rename : DAOSpace

* Rename

Co-authored-by: WGB5445 <WGB98512@163.com>

* Add Grant view and Grant refund  (#73)

* add query_grant

* add refund grant function

* add query_grant_can_withdraw

* add GrantInfo

* [lib] Refactor include source dir

* Fix stake SBT plugin from one stake to multiple stake

* DAOSpace error code (#74)

* [dao] Refactor DAOSpace's error codes

* [refactor] Move VoteStrategy to test dir

* [Feature and test]Add dao_grant test and query_grant_info_total (#76)

* Fixed the problems in PR that relationship between SBT and the staked token

* Add some integration test for StakeToSBTPlugin

* Add some integration test for StakeToSBTPlugin

* Rename Dao to DAO  (#79)

* [daospace] rename Dao to DAO

* update struct tag testcase after change Dao to DAO

* fix test exp

* fix prove and remove Debug print

Co-authored-by: BaiChuan <muzixinly@gmail.com>
Co-authored-by: WGB5445 <919603023@qq.com>

Co-authored-by: Bai Chuan <muzixinly@gmail.com>
Co-authored-by: BobWong <libo.weng@gmail.com>
Co-authored-by: WGB5445 <919603023@qq.com>
Co-authored-by: WGB5445 <WGB98512@163.com>
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.

None yet

3 participants