From 1de965cd85514650d3250f9cd31e2d1a27d9f598 Mon Sep 17 00:00:00 2001 From: Christian Palazzo Date: Sun, 7 Apr 2024 20:50:22 +0200 Subject: [PATCH] Develop (#18) * Ag 17 commitlint fix (#1) * fix(@script): AG-17 changed script logic changed script login the commit script * fix(@script): AG-17 changed script modified some logic in the script folder * docs(@agora): modified readme modified readme * feat(@agora): AG-35 basic workflow (#3) * feat(@agora): AG-35 basic workflow basic GitHub Actions workflow implementation * feat(@agora): AG-35 duplicated code inserted duplicated code check in ci-cd * docs(@agora): AG-35 updloaded image (#5) uploaded image for functional analysis * Ag 18 eoa implementation (#7) * feat(@script): AG-18 EOA script implementation implemented script in order to generate an EOA over different ethereum networks configured * test(@script): AG-18 unit test configuration unit test configuration for scripts using jest * test(@agora): AG-18 configured test step in workflow configured workflow to run script unit test * test(@script): AG-18 configured commit script configured pre-commit hook script to run unit test * test(@script): AG-18 unit test implementation implemented unit test for eoa script * test(@script): AG-18 code coverage unit test code coverage report implementation * refactor(@script): AG-18 precommit hook added check in pre-commit hook * fix(@script): AG-18 fixed unit test threshold fixed unit test code coverage threshold * fix(@agora): AG-18 fixed package.json fixed package json property not used * fix(@agora): AG-18 fixed unit test n * fix(@agora): AG-18 fixed workflow fixed workflow * refactor(@script): AG-18 test code coverage threshold test code coverage threshold * docs(@agora): AG-18 updated readme updated readme file * Ag 19 DECsRegistry smart contract (#8) * fix(@script): AG-19 removed comments removed code comments * docs(@docs): AG-19 updated sequence diagrams updated the sequence diagrams images for the functional analysis * docs(@docs): AG-19 updated smart contract classes updated docs about the smart contracts classes * feat(@contracts): AG-19 DEC contract implementation implemented a first version of the DEC contract * feat(@contracts): AG-19 added events to DEC sc emitted event in the DEC smart contract implementation * feat(@contracts): AG-19 implemented DEC contract implemented DEC contract and related unit tests * fix(@contracts): AG-19 removed event removed event not used in DEC contract * feat(@contracts): AG-19 DECs registry implementation implemented the register of the DECs with the required methods * test(@contracts): AG-19 defined test for DECsRegistry contract defined test structure for the DECsRegistry smart contract * test(@contracts): AG-19 implemented unit test implemented unit tests for DECsRegistry smart contract * feat(@contracts): AG-19 added events to smart contract added events to the DECsRegistry smart contract * Ag 20 election smart contract (#9) * refactor(@agora): AG-20 switched test network switched from legacy goerli test network to sepolia * docs(@docs): AG-20 updated analysis diagrams updated diagrams in the functional analysis * feat(@contracts): AG-20 Election smart contract implemented Election smart contract with unit tests * feat(@contracts): AG-20 Elections smart contracts implemeneted different smart contracts for different kind of elections * docs(@docs): AG-20 addded diagrams files to docs added diagrams file to the docs folder * docs(@docs): AG-20 updated class diagrams updated the smart contracts class diagrams * Ag 20 election smart contract (#10) * refactor(@agora): AG-20 switched test network switched from legacy goerli test network to sepolia * docs(@docs): AG-20 updated analysis diagrams updated diagrams in the functional analysis * feat(@contracts): AG-20 Election smart contract implemented Election smart contract with unit tests * feat(@contracts): AG-20 Elections smart contracts implemeneted different smart contracts for different kind of elections * docs(@docs): AG-20 addded diagrams files to docs added diagrams file to the docs folder * docs(@docs): AG-20 updated class diagrams updated the smart contracts class diagrams * fix(@agora): AG-20 updated version number updated version number in package json * Ag 25 deploy contracts (#13) * feat(@agora): AG-25 configured evm compiler configured the evm compiler in the hardhat configuration file * refactor(@contracts): AG-25 refactored DECs Registry contract refactored DECs registry contract * refactor(@contracts): AG-25 refactored DEC contract refactored DEC smart contract * feat(@contracts): AG-25 added name property to DECs Registry added name property to DECs Registry smart contract * feat(@contracts): ignition modules implementation implemented the ignition modules for contracts deploy * fix(@contracts): AG-25 added folder to gitignore added foldet to gitignore * fix(@contracts): AG-25 ignored files added files to gitignore * Ag 26 register election script (#14) * docs(@docs): modified main flow diagram modified the representation of the entire process in the functional analysis * docs(@docs): AG-26 typo fix typo fix in the README file * feat(@scripts): AG-26 implemented the deploy for the Election smart contract implemented the ignition module for the deploy of the Election smart contract * feat(@script): AG-26 municipality election deploy created the ignition module for the deploy of a municipality election * feat(@contracts): AG-26 defined methods for municipality election contract defined properties and methods for the municipality election smart contract * feat(@contracts): AG-26 election contract modifier implementation implemented a modifier in the municipality election smart contract * feat(@contracts): AG-26 municipality election method implementation implemented the registerParty method in the municipality election smart contract * refactor(@contracts): AG_26 modified contracts methods modified the sign of the methods of all the smart contracts * feat(@contracts): AG-26 municipality election smart contract implemented the municipality election smart contract * refactor(@contracts): AG-26 refactored municipality election contract refactored municipality election smart contract to make it more gas efficient * feat(@contracts): AG-26 added getter to municipality election contract added a getter function to the municipality election getter contract * refactor(@contracts): AG-26 formatted smart contract formatted smart contract file * feat(@contracts): AG-26 get coalition in municipality election implemented a get coalition in the municipality election contract * refactor(@contracts): AG-26 refactored municipality election contract refactored municipality election contract * refactor(@contracts): AG-26 Municipality contract unit test unit tests implementation for municipality election smart contract * feat(contracts): AG-26 refactored Municipality Election modified Municipality Election smart contract deploy * feat(@contracts): AG-26 Ignition module implementation ignition module implementation * style(@contracts): AG-26 contract refactor refactored formatting of a smart contract * feat(@contracts): AG-26 MunicipalityElection smart contract deploy script implementation of the ignition module for the deploy of the MunicipalityElection smart dd contract * feat(@contracts): AG-26 Create election script definition defined create-election script that register the data into a given election contract * feat(@scripts): AG-26 create election script partial implementation partially implemented the script for the MunicipalityElection smart contract * feat(@scripts): AG-26 Implemented the create-election script implemented the create election script * feat(@script): AG-26 unit test implementation implemented unit test for create election script * refactor(@script): improved script improved script * Ag 37 actions api layer (#16) * feat(@ci): AG-37 defined ci module defined a ci module for the workflows api layer * feat(@ci): AG-37 ci api integration integrated ci apis into github actions workflow * fix(@ci): AG-37 fixed command path fixed ci command path * fix(ci): AG-37 fixed ci module logic fixed ci module logic * docs(@docs): updated README updated README