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

DAOsign M1 eval #1140

Merged
merged 9 commits into from
Apr 12, 2024
Merged
Changes from all commits
Commits
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
95 changes: 95 additions & 0 deletions evaluations/DAOsign_m1_PieWol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Evaluation


- **Status:** accepted
- **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/DAOsign.md
- **Milestone:** 1
- **Previously successfully merged evaluation:** All by PieWol



| Number | Deliverable | Accepted |Link | Evaluation Notes |
|--------|---------------------------| ----- |------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| 0a. | License | <ul><li>[x] </li></ul> | [LICENSE](https://github.com/DAOsign/polkadot-smart-contracts/blob/main/LICENSE) | Apache 2.0 |
| 0b. | Documentation | <ul><li>[x] </li></ul> | [Autogenerated documentation](https://daosign.github.io/polkadot-smart-contracts/), [Readme](https://github.com/DAOsign/polkadot-smart-contracts?tab=readme-ov-file#overview) | good |
| 0c. | Testing and Testing Guide | <ul><li>[x] </li></ul> | https://github.com/DAOsign/polkadot-smart-contracts?tab=readme-ov-file#testing | works |
| 0d. | Docker | <ul><li>[x] </li></ul> | https://github.com/DAOsign/polkadot-smart-contracts?tab=readme-ov-file#with-docker | works |
| 0e. | Article | <ul><li>[x] </li></ul> | https://medium.com/@daosign/daosign-smart-signature-protocol-is-now-secured-with-polkadot-smart-contracts-387f3f3d9d17 | ok |
| 1. | Smart Contracts | <ul><li>[x] </li></ul> | https://github.com/DAOsign/polkadot-smart-contracts/tree/main/contracts | ok |


## General Notes
Thanks for introducing the requested changes for more reusability of your smart contracts.



## Testing
ink! unit tests are passing.

<details open>
<summary>ink! eip unit tests</summary>
<br>

````````
running 8 tests
test daosign_eip712::tests::constructor ... ok
test daosign_eip712::tests::hash_proof_of_signature ... ok
test daosign_eip712::tests::hash_proof_of_authority ... ok
test daosign_eip712::tests::hash_proof_of_agreement ... ok
test daosign_eip712::tests::recover_proof_of_signature ... ok
test daosign_eip712::tests::recover_proof_of_agreement ... ok
test daosign_eip712::tests::recover_proof_of_authority ... ok
test daosign_eip712::tests::recover ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Doc-tests daosign_eip712

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
````````
</details>

<details open>
<summary>ink! unit tests</summary>
<br>

```
running 6 tests
test daosign_app::tests::test_get_proof_of_authority ... ok
test daosign_app::tests::test_get_proof_of_agreement ... ok
test daosign_app::tests::test_get_proof_of_signature ... ok
test daosign_app::tests::test_store_proof_of_authority ... ok
test daosign_app::tests::test_store_proof_of_agreement ... ok
test daosign_app::tests::test_store_proof_of_signature ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

Doc-tests daosign_app

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
```
</details>


<details open>
<summary>docker test output </summary>
<br>

```
> [email protected] test
> npx mocha --config .mocharc.json



DAOsignApp Tests
Lifecycle
✔ #1 (225ms)


1 passing (3s)
```
</details>