Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
  2. Dec 28, 2024
  3. Dec 18, 2024
  4. Nov 29, 2024
    • Benjamin Gallois's avatar
      Fix #262 distance oracle pool index (!290) · ebc4730c
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * update xtask
      
      * reference rust doc in readme
      
      * review fix
      
      * add log for distance oracle in main binary
      
      * add oracle file versioning
      
      * add docs
      
      * add files versionning
      
      * fix after rebase
      
      * update crate docs
      
      * refactor oracle
      
      * fix missing log arg
      
      * fix #262
      ebc4730c
  5. Nov 13, 2024
  6. Nov 08, 2024
  7. Oct 02, 2024
  8. Sep 27, 2024
  9. Sep 13, 2024
  10. Sep 04, 2024
  11. Jun 24, 2024
  12. Jun 14, 2024
  13. May 15, 2024
  14. May 07, 2024
    • Benjamin Gallois's avatar
      Refac generated documentation (nodes/rust/duniter-v2s!254) · 2b050e27
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * revert gen-doc changes
      
      * Revert "add doc to CI"
      
      This reverts commit 7f086905.
      
      * update xtask to polkadot-v1.9.0
      
      * add doc to CI
      
      * reduce doc size
      
      * move runtime api doc to target artefact
      
      * add base url
      
      * enable full docs for non-local pallet
      
      * add url to rust autogenerated docs in api
      
      * add rust doc generation
      
      * remove gen-doc file from git index
      
      * fix xtask gen-docs
      2b050e27
  15. May 06, 2024
    • Benjamin Gallois's avatar
      Upgrade to polkadot-v1.9.0 (!258) · a3273d23
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * doc: use duniter repo
      
      * use only polkadot-sdk from duniter
      
      * use git shallow copy
      
      * upgrade documentation
      
      * regenerate metadata
      
      * fix tests
      
      * fix benchmarks
      
      * upgrade to polkadot-v1.9.0
      a3273d23
  16. Mar 21, 2024
  17. Mar 08, 2024
  18. Feb 15, 2024
  19. Feb 09, 2024
    • Benjamin Gallois's avatar
      Upgrade Polkadot-v1.6.0 (!236) · 211ba93c
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * version 1.0
      
      * add Cargo.lock tweak explanation
      
      * remove artefact file
      
      * format tomls
      
      * fix benchmarks in ci
      
      * harmonize quotes
      
      * fix features propagation
      
      * tweak Cargo.lock
      
      * fix version field missing for srtool
      
      * fix rebase errors
      
      * refactor workspace
      
      * upgrade genesis builder
      
      * upgrade cucumber
      
      * update to benchmarking v2
      211ba93c
  20. Feb 02, 2024
  21. Jan 30, 2024
    • Benjamin Gallois's avatar
      Upgrade to polkadot-v1.6.0 (!229) · 93853b2d
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * check live tests
      
      * cargo check benchmarks after rebase
      
      * cargo check tests after rebase
      
      * update metadata after rebase
      
      * cargo check after rebase
      
      * cargo fmt after rebase
      
      * upgrade runtime to polkadot v1.6.0
      
      upgrade node to polkadot v1.6.0
      
      upgrade distance oracle to polkadot v1.6.0
      
      upgrade end2end tests
      
      upgrade xtask to polkadot v1.6.0
      
      update repository paths to duniter polkadot v1.6.0
      
      fix #131
      
      optimize end2end test
      
      fix review errors
      
      update subxt branch
      
      update test comment
      93853b2d
  22. Jan 29, 2024
  23. Jan 23, 2024
  24. Jan 17, 2024
    • Hugo Trentesaux's avatar
      automatically claim membership (!219) · 79eed31c
      Hugo Trentesaux authored
      * increase node spawn timeout to avoid failure
      
      * add points in docstrings
      
      * review
      
      * add missing constant annotation
      
      and update doc
      
      * detail integration test
      
      * comments
      
      * update metadata
      
      * refac certification checks
      
      * clean up error messages and namings
      
      * automatic membership after distance eval
      
      add more details to idty creation test
      
      cargo check ok
      
      add integration test and fix behavior
      
      fix benchmarks for renaming
      
      cargo check ok
      
      cargo test ok
      
      add certification count check
      
      update benchmarks
      
      update distance setup handler
      
      fix weight info
      
      update metadata and generated doc
      
      fix cucumber
      
      distance pallet unit test stub
      
      update metadata and generate doc after rebase
      
      make membership claim no-op an error
      
      update metadata with new error
      
      wip
      
      add comments
      
      add membership renewal antispam
      
      and clean up pending membership parameters
      
      test it
      
      not compatible with keeping distance result
      
      change renewal antispam
      
      metadata
      
      fix param for other runtimes
      
      fix e2e test
      
      remove membership calls
      
      adjust integration tests accordingly
      
      update metadata
      
      fix cucumber
      
      clean up benchmarks and other tests
      
      wip
      79eed31c
  25. Jan 16, 2024
    • Benjamin Gallois's avatar
      Weight to fee conversion (!227) · ec57c932
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix chain spec
      
      * fix automatic weights documentation
      
      * fix weights include
      
      * regenerate weights
      
      * refactor cargo alias with constant-fees feature
      
      * add constant fee model for testing
      
      * regenerate weights
      
      * fix benchmark with non constant fees
      
      * fix weight to fee factor
      
      * prepare length to fee logic
      
      * prepare weight to fee logic
      ec57c932
  26. Jan 15, 2024
    • Cédric Moreau's avatar
      smith-members (!217) · 244f2523
      Cédric Moreau authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * rebase: update metadata.scale
      
      * review: replace `expect` by `if let Some`
      
      * review: lost membership is to be handled by `OnMembershipEventHandler`
      
      * feat(smith-members): review: docstring
      
      * feat(smith-members): review: auteur
      
      * fix(smith-members): test
      
      * clean(smith-members): dead code
      
      * feat(smith-members): disable certification replay
      
      * refac(smith-members): prefix "on_" for handlers
      
      * fix(smith-members): clippy again
      
      * fix(smith-members): clippy
      
      * feat(smith-members): benchmarks
      
      * fix(smith-members): clippy for benchmarking
      
      * refac(smith-members): u32 / usize
      
      * refac(smith-members): cleaner code for smith invitation
      
      * refac(smith-members): wrong TODO
      
      * refac(smith-members): SmithInactivityMaxDuration
      
      * refac(smith-members): remove comment TODO
      
      * refac(smith-members): authority-members OnBlacklistedMember is no more used
      
      * refac(smith-members): authority-members OnRemovedMember is no more used
      
      * fix(smith-members): remove some TODO
      
      * refac(smith-members): remove Instance1 for WoT
      
      * refac(smith-members): remove IsSubWoT
      
      * test(smith-members): non-applicable tests
      
      * test(smith-members): test_revoke_idty
      
      * test(smith-members): test_smith_member_can_revoke_its_idty
      
      * test(smith-members): change_owner_key
      
      * feat(smith-members): replace smith-wot by smith-members
      
      * feat(smith-members): only online smiths can invite/certify other smiths
      
      * feat(smith-members): only WoT members can be invited
      
      * feat(smith-members): check IsWoTMember
      
      * feat(smith-members): refac error names + fix cert on excluded
      
      * feat(smith-members): events
      
      * feat(smith-members): clippy
      
      * feat(smith-members): refact: constants
      
      * feat(smith-members): max stock of certifications per smith
      
      * feat(smith-members): smith account can be excluded, not deleted
      
      * feat(smith-members): refact: renaming
      
      * feat(smith-members): refact: provide_is_member
      
      * feat(smith-members): refact: check_* and do_* functions
      
      * feat(smith-members): remove CertsByReceiver (all in Smiths)
      
      * feat(smith-members): weird things
      
      * feat(smith-members): blacklisting stub
      
      * feat(smith-members): smith expires_on
      
      * feat(smith-members): remove Counted
      
      * feat(smith-members): accept_invitation
      
      * feat(smith-members): invite_smith + certify
      244f2523
  27. Jan 10, 2024
  28. Jan 08, 2024
  29. Dec 20, 2023
    • Benjamin Gallois's avatar
      Refactor pallet_identity (!218) · b6e6c5dc
      Benjamin Gallois authored
      * add check metadata
      
      * Revert "add automatic metadata generation at commit"
      
      This reverts commit b8f0e439.
      
      * add automatic metadata generation at commit
      
      * add clippy checks for runtime-features
      
      * fix clippy errors runtime-benchmarks
      
      * remove unused BenchmarkSetupHandler trait
      
      * optimize AccountLinker
      b6e6c5dc
  30. Dec 15, 2023
    • Hugo Trentesaux's avatar
      refac membership (!215) · 6b598084
      Hugo Trentesaux authored
      * delete notes.txt file
      
      * update notes with links to issues
      
      * update comment according to #159
      
      * doc idtystatus in readme
      
      * update weightinfo and benchmarks accordingly
      
      * add benchmark
      
      * remove remove_identity_consumers
      
      * remove force_remove_identity call
      
      * fix todo in test
      
      * update doc
      
      - remove request_membership
      - remove validate_identity
      
      * fix tests according to new MembershipRemovalReason
      
      * add membership removal reasons
      
      and clean up membership internal functions
      
      * remove check_remove_identity
      
      * build live tests
      
      (but no current network to check them against)
      
      * clippy :man_facepalming:
      
      * add wot tests related to issue #136
      
      * refac certification creation checks
      
      * refac identity creation checks
      
      * test benchmark ok
      
      * more precise error messages
      
      * check benchmarks ok
      
      * cargo cucumber ok
      
      * cargo test workspace ok
      
      * cargo test workspace quasi ok
      
      * cargo check all tests
      
      * cargo check all
      
      * remove IdtyEvent change owner key
      
      * remove removal other reason
      
      * refac revocation and removal reason
      
      * wip
      
      * refac
      
      * refac scheduling (tests ok)
      
      * add *Period
      
      * cargo test identity ok
      
      * remove IdtyEvent::Validated
      
      * cargo test wot ok
      
      * cargo test wot ok
      
      (one fails but fot the good reason)
      
      * cargo test membership ok
      
      * cargo check wot tests
      
      * cargo check identity tests
      
      * cargo check membership tests
      
      * also remove validate trait
      
      * remove validate_identity
      
      * refac identity status to allow more fine-grain control
      
      * remove unused trait
      
      * cargo check ok
      
      * remove indentity confirmation constraints
      
      * remove request from membership primitives
      
      * remove request_membership from lib.rs
      6b598084
  31. Dec 06, 2023
  32. Nov 27, 2023
  33. Nov 21, 2023
  34. Nov 19, 2023
Loading