-
Notifications
You must be signed in to change notification settings - Fork 13
[#233] clean up and make new release #301
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
Conversation
src/base_DAO.mligo
Outdated
@@ -40,8 +38,7 @@ let allowing_xtz (param, store, config : allow_xtz_params * storage * config) = | |||
| Accept_ownership -> accept_ownership(store) | |||
|
|||
(* | |||
* The actual DAO contract, which in this version is the same independently from | |||
* the DAO logic. | |||
* The actual DAO contract, which is the same independently from the DAO logic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The actual DAO contract, which is the same independently from the DAO logic.
May be we can further rephrase it as "which is the same, despite the specific DAO logic included", or something simlar.
src/treasuryDAO/types.mligo
Outdated
type treasury_dao_transfer_proposal = | ||
{ agora_post_id : nat | ||
; transfers : transfer_type list | ||
} | ||
|
||
// Treasury dao `proposal_metadata`, defining the type its proposals. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defining the type its proposals.
'of' is probably missing here after 'type'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed and tested locally after updating ligo. Everything seems to work. So LGTM except for minor things.
Problem: the snapshot file for stack is used as a resolver in a single stack.yaml, so it can be removed for simplification. Additionally, the lorentz dependency is slightly old (by a minor version). Solution: remove the snapshot, update and clean up stack.yaml.
Problem: the last tested ligo version is outdated. Solution: update the LIGO version to the latest available.
Problem: some license headers are outdated and reference 2020. Solution: update licence headers to 2021.
Problem: there are some typos and inconsistencies in LIGO comments. Solution: clean up the comments and re-order some code.
Problem: currently we do not state in the Haskell's build system that there are `.tz` files we want to depend on, we only call `qAddDependentFile` (or a function that uses it). This way the file is indeed fetched, however once the project is built, `cabal`/`stack` do not know that the module that fetches the contract or the test storages has to be rebuild when `.tz` files changes. Solution: add the .tz files to `extra-source-files` section of `package.yaml` and move `README.md` to a separate `extra-doc-files` section. Additionally, remove env var and refactor some code as a consequence.
a448146
to
d50ec2f
Compare
Description
Several small adjustments and version number bump.
This follows the addition of better tests and the now stable contract logic.
See relative commit messages for an explanation on the changes.
Related issue(s)
Resolves #233
✅ Checklist for your Pull Request
Related changes (conditional)
silently reappearing again.
Stylistic guide (mandatory)