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

Ag 52 dec refactor #45

Merged
merged 3 commits into from
Apr 22, 2024
Merged

Ag 52 dec refactor #45

merged 3 commits into from
Apr 22, 2024

Conversation

g3k0
Copy link
Member

@g3k0 g3k0 commented Apr 22, 2024

  • added sha field to the DEC encrypted data;
  • updated data types;
  • updated unit tests;
  • implemented get hash in crypto utilities;

g3k0 added 3 commits April 22, 2024 20:33
implemented utils function that get an hash based on an input string
added sha field to ecrypted structs in the DEC contract
removed getters from the DEC smart contract
@g3k0 g3k0 self-assigned this Apr 22, 2024
@g3k0 g3k0 merged commit 99343a8 into develop Apr 22, 2024
1 check passed
@g3k0 g3k0 deleted the AG-52-DEC-refactor branch April 22, 2024 19:57
Copy link

Ag 52 dec refactor

Generated at commit: 3f42425f4cc8de9eb63b55d32e5458a3c4d3e462

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
0
0
0
4
19
23
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

g3k0 added a commit that referenced this pull request Apr 22, 2024
* fix(scripts): AG-50 refactored utils function

refactored utils function

* Ag 52 dec refactor (#45)

* feat(lib): AG-52 get hash function

implemented utils function that get an hash based on an input string

* feat(contracts): AG-52 added sha field

added sha field to ecrypted structs in the DEC contract

* feat(contracts): AG-52 removed getters

removed getters from the DEC smart contract

* updated version
g3k0 added a commit that referenced this pull request May 2, 2024
* fix(scripts): AG-50 refactored utils function

refactored utils function

* Ag 52 dec refactor (#45)

* feat(lib): AG-52 get hash function

implemented utils function that get an hash based on an input string

* feat(contracts): AG-52 added sha field

added sha field to ecrypted structs in the DEC contract

* feat(contracts): AG-52 removed getters

removed getters from the DEC smart contract

* updated version

* feat(zk-SNARKS): AG-21 zokrates main function

implemented the main zokrates function

* updated readme

* feat(zk-SNARKS): AG-21 main.zok compilation

compiled the zokrates municipality election file

* feat(zk-SNARKS): AG-21 vote proof implementation

implemented the ballot circuit, verification smart contract and vote proof sample

* feat(zk-SNARKS): AG-21 installed zokrates js

installed zokrates js lib for script implementation

* docs(zk-SNARKS): AG-21 updated readme

updated readme

* fix(zk-SNARKS): AG-21 renamed file in zkSNARKS folder

renamed main zok file

* refactor(lib): AG-23 refactored lib

refactored crypto lib functions

* root zok modification
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.

1 participant