Skip to content
Snippets Groups Projects
  1. Oct 06, 2023
  2. Sep 12, 2023
    • Hugo Trentesaux's avatar
      gtest genesis parsing (!176) · b145f36f
      Hugo Trentesaux authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix clippy
      
      * fix after rebase
      
      * WIP example specs
      
      * fix after rebase
      
      * add reproducibility
      
      * doc add missing protobuf compiler
      
      * remove ref to genesis timestamp
      
      * fix broken next identity index genesis
      
      * our pallets are not coming from the framework
      
      * fix first_ud everywhere
      
      * remove files unwanted on main branch
      
      * also apply renaming to gdev
      
      * rename first_ud_value and add comments
      
      (to put in value the absence of first_ud_time)
      
      * use index provided in GenesisIdty
      
      * add mold to documentation
      
      * change gtest existential deposit
      
      and adapt genesis parsing to real-world data
      
      * embed raw chainspecs only when enabled
      
      * add comments
      b145f36f
    • Pascal Engélibert's avatar
      Distance Oracle (!105) · 4234da98
      Pascal Engélibert authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * Fix distance-oracle EvaluationPool type
      
      * Remove instanciation and dep to certification
      
      * Doc comments, make max size params const
      
      * Fix default distance dir
      
      * Rename pool accessors
      
      * doc add READMEs
      
      * fix(distance): Remember account_id who reserved
      
      * Log, comments, crate author
      
      * feat: distance
      
      * integration tests, expiration
      
      * fixes & working end2end tests
      
      * fix(distance): max_depth, compute min_certs_for_referee
      
      * fix(distance): add distance pallet to gtest, g1
      
      * test(distance): WiP end2end test
      
      * feat: distance
      4234da98
  3. Sep 08, 2023
  4. Sep 05, 2023
  5. Aug 17, 2023
  6. Jun 05, 2023
    • Benjamin Gallois's avatar
      Offences management (!161) · dabb2c09
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix cargo files
      
      * fix slashing strategy
      
      * refactore remove_member_from_blacklist
      
      * add missing test
      
      * add license
      
      * refac tests
      
      adds comments
      remove some repetitions
      reorder tests (offence test are below)
      rename tests
      
      * feat(pallet_grandpa) add offences handler
      
      * feat(pallet_authority_members) add offences execution
      
      * feat(pallet_offences) add pallet offences
      dabb2c09
  7. May 22, 2023
  8. May 18, 2023
    • Hugo Trentesaux's avatar
      refac membership renewal (!166) · 5a3f0654
      Hugo Trentesaux authored and Pascal Engélibert's avatar Pascal Engélibert committed
      * review tuxmain
      
      * fix rebase
      
      * rename force_add_cert to do_add_cert_checked
      
      * remove origin from force_add_cert
      
      * remove duplicate UD handling
      
      * claim membership - validating identity
      
      ensure claim membership does not prevent validating identity
      
      * clippy
      
      * add acquired membership handler
      
      and new integration test scenario
      
      * run benchmarks
      
      * refactor claim_membership
      
      and expire membership instead of revoking
      when too few certs
      
      * re-enable claim_membership
      
      * membership expiry no identity removal
      
      membership expiry no more triggers identity removal
      
      * control by test
      
      * at membership expiry : back to pending membership
      
      * reveal identity removal on membership expiry
      
      * refac test
      
      * refac membership renewal
      
      add expiry unscheduling
      do not verify expiration block expiring memberships
      add and refac tests
      add integration test
      
      * wip
      5a3f0654
  9. May 12, 2023
  10. May 08, 2023
    • Benjamin Gallois's avatar
      Membership pallet benchmark (!147) · 10170f2a
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix after rebase
      
      * add comment warning about hardcoded smith metadata
      
      * feat(runtimes): use our benchmarks for pallet membership
      
      * feat(pallet_membership): add weights info
      
      * feat: add pallet membership benchmark
      10170f2a
  11. May 05, 2023
  12. May 02, 2023
  13. Apr 17, 2023
  14. Mar 24, 2023
  15. Mar 23, 2023
  16. Feb 19, 2023
    • Hugo Trentesaux's avatar
      Document pallets in readme (!122) · 1d2bb1b9
      Hugo Trentesaux authored
      * improve authority doc
      
      * more doc
      
      * update onshot accounts readme
      
      * doc xtask
      
      * doc runtime
      
      * doc todo
      
      * doc todo
      
      * doc pallets
      
      * doc todo
      
      * doc ud
      
      * doc oneshot
      
      * doc authority members
      
      * doc certification
      
      * doc wot
      
      * doc membership
      
      * doc identity
      
      * fix typo
      
      * doc duniter-account
      1d2bb1b9
  17. Feb 02, 2023
  18. Nov 19, 2022
  19. Nov 12, 2022
    • Hugo Trentesaux's avatar
      Replace bool by Result<(), dispatchError> for checks (!112) · 7f72977a
      Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
      * fix same typo
      
      * fix typo
      
      * revert variable name for more explicit
      
      * use exhaustive explicit match for idtystatus
      
      * review tuxmain
      
      * review
      
      * fix fixme
      
      * wip fix tests
      
      * wip merge membership traits
      
      * wip rename check traits
      
      * wip replace cert allowed check
      
      * wip replace identity removal check
      
      * wip replace adress change check
      
      * wip replace identity validation check
      
      * wip replace identity confirm check
      
      * wip fix generic type
      
      * wip try replace identity creation check
      7f72977a
  20. Sep 28, 2022
  21. Sep 12, 2022
  22. Sep 08, 2022
  23. Sep 07, 2022
    • mildred's avatar
      Remove RevocationPeriod rule (!94) · 5159922c
      mildred authored and Éloïs's avatar Éloïs committed
      * Remove no longer needed test_revoke_smiths_them_rejoin in duniter-wot
      
      * Remove dead code (MembershipRevokedRecently)
      
      * Remove empty fn prune_revoked_memberships
      
      * Remove RevokedMembershipPrunedOn never used
      
      * Remove RevokedMembership that is always empty
      
      * Remove RevocationPeriod
      5159922c
  24. Sep 06, 2022
  25. Sep 04, 2022
    • Éloïs's avatar
      Smith members can't revoke idty nor change its address (!102) · 89ea4cf5
      Éloïs authored
      * add test test_smith_member_cant_revoke_its_idty
      
      * add test test_smith_member_cant_change_idty_address
      
      * migration v400
      
      * fix(idty): smish members can't revoke nor change address
      
      * pallet ud: remove temporary hotfix call
      
      * deps: remove librocksdb-sys
      
      * cargo config: add sub-command to run benchmarks on a pallet
      89ea4cf5
  26. Aug 25, 2022
  27. Aug 24, 2022
Loading