Skip to content
Snippets Groups Projects
  1. May 15, 2024
  2. May 14, 2024
  3. May 07, 2024
    • Benjamin Gallois's avatar
      Refac generated documentation (!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
  4. 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
  5. Apr 25, 2024
  6. Mar 21, 2024
  7. Mar 20, 2024
    • Benjamin Gallois's avatar
      Fix weight accounting (!246) · 07bb8814
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * remove impl-for-tuples
      
      * update metadata
      
      * remove unused benchmark
      
      * update weights
      
      * simplify weight accounting
      
      * revert weight addition
      
      * add docs for handlers
      
      * unify handlers implementation in runtime
      
      * remove weight accounting OnNewIdty
      
      * simplify IdtyChange handlers
      
      * add handlers documentation
      
      * simplify Membership handlers
      
      * split OnEvent membership handler
      
      * fix formatting
      
      * fix weight for tuple handler
      
      * add weight for on_removed_wot_member
      07bb8814
  8. Mar 08, 2024
  9. Mar 06, 2024
  10. Feb 27, 2024
  11. Feb 24, 2024
  12. Feb 23, 2024
  13. Feb 21, 2024
  14. Feb 15, 2024
  15. Feb 12, 2024
  16. 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
  17. Feb 08, 2024
    • Cédric Moreau's avatar
      runtime-800 updates (!240) · 918d5828
      Cédric Moreau authored
      * update metadata
      
      (and regenerate doc)
      
      * release: documentation
      
      * Revert "fix(#189): force rust-toolchain.toml for runtimes as well"
      
      This reverts commit 86746b33.
      
      * release: re-enable ARM build
      
      * feat: client 0.8.0
      
      * feat: client 0.8.0
      
      * fix: Docker `--unsafe-ws-external` no more exist
      
      * release: disable arm build
      
      * release: runtime-800 gdev+gtest raw specs
      
      * fix(#189): force rust-toolchain.toml for runtimes as well
      
      * release: runtime-800 + spec update
      918d5828
  18. Feb 06, 2024
  19. Feb 04, 2024
  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
    • Hugo Trentesaux's avatar
      refac add_cert (!230) · 629c5b9d
      Hugo Trentesaux authored
      * review poka
      
      complete comment
      
      * review poka
      
      remove fixme tests
      
      * update metadata after rebase
      
      * I do not know why these tests did not run locally
      
      * update membership weights
      
      * fix benchmarks also with true runtime
      
      * fix tests
      
      * update runtime
      
      * update benchmarks
      
      * split add and renew cert
      
      remove issuer in add_cert
      and more refac
      the code compiles
      
      * clean up errors and mini refac
      629c5b9d
    • Cédric Moreau's avatar
      Resolve "Give IdtyStatus directly in genesis" (!233) · bb06959e
      Cédric Moreau authored
      * review(#162): `identity_revokes_on` is more accurate
      
      * fix(#162): also make Genesis identity expire at the time expected by G1
      
      * fix(#162): clippy 3
      
      * fix(#162): clippy 2
      
      * fix(#162): clippy
      
      * fix(#162): autorevocation scheduling for Genesis
      
      * fix(#162): cucumber tests
      
      * fix(#162): replace `active` by actual identity status
      bb06959e
  23. Jan 24, 2024
    • Cédric Moreau's avatar
      Resolve #176 "PromotedToSmith is issued even for Smith" (!232) · ad20da54
      Cédric Moreau authored
      * fix(#176): last certification does postpone expiry
      
      * test(#176): reveal that last smith certification does not postpone expiry
      
      * fix(#176): clippy
      
      * fix(#176): ExpiresOn is now correctly updated for Pending smiths
      
      * test(#176): show that ExpiresOn is not correctly updated for Pending smiths
      
      * refac(#176): move SmithCertAdded event closer to its storage updates + add docs
      
      * fix(#176): expiration should be postponed only for Pending smiths
      
      * test(#176): reveal that a ceritification on a online smith is bugged
      
      * fix(#176): review: comment
      
      * fix(#176): avoid emitting SmithMembershipAdded twice
      
      * test(#176): reveal bug
      ad20da54
  24. Jan 23, 2024
  25. Jan 22, 2024
    • Cédric Moreau's avatar
      Improvements for smith-members (!228) · 55d51237
      Cédric Moreau authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * refac(#173): harmonize InvitationSent
      
      * refac(#173): update metadata.scale + docs
      
      * refac(#173): harmonize *MembershipAdded and *MembershipRemoved
      
      * refac(#173): harmonize *CertAdded and *CertRemoved
      
      * feat(#173): docstring for calls
      
      * feat(#173): add SmithCertificationRemoved event
      
      * feat(#173): rename CertificationReceived to SmithCertificationAdded
      55d51237
  26. 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
  27. 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
  28. 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
  29. Jan 10, 2024
Loading