Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
  2. Sep 24, 2024
  3. Sep 04, 2024
  4. May 15, 2024
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. Dec 09, 2023
  11. Nov 14, 2023
  12. Nov 13, 2023
  13. Sep 15, 2023
    • Benjamin Gallois's avatar
      Upgrade to Polkadot v0.9.42 (!172) · 31a25023
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * allow clippy needless_pass_by_ref_mut
      
      * fix clippy
      
      °_°
      
      * fix provider behavior
      
      * fix build errors
      
      * change behavior of going below ED
      
      * fix provider initialization
      
      * add mock epoch change
      
      * add session number test
      
      * add session number test
      
      * WIP fix tests
      
      * fix time-based ud test
      
      * update metadata
      
      * FIX apply all fix from flash branch
      
      * partial fix clippy
      
      other suggestions are not legit
      
      * fix metadata and end2end test
      
      * fix build tests
      
      * fix build and clippy
      
      * remove benchmark of upgrade_accounts
      
      this happens in substrate dependency
      I also updated other packages because why not :D
      and I removed a useless implementation in mock
      but the test do not compile with feature runtime benchmarks anyway
      
      * test_total_issuance_vs_monetary_mass
      
      * proofreading comment
      
      * fix total issuance differently
      
      this actually fixes total issuance at genesis
      instead of creating duplicate account data
      
      * fix test scenario
      
      the thing tested here was not the ability to call the function,
      but the impossibility of deleting the account
      
      * add comment to explain test
      
      * fix providers and sufficients counts
      
      * fix initial balance
      
      * fix initial TotalIssuance
      
      * fix clippy warnings and optimization
      
      * fix xtask
      
      * update docs
      
      * add DustHandle
      
      * fix pallets config
      
      * fix tests
      
      * fix pallet_balance genesis config
      
      * wip: fix end2end-test
      
      * fix manual and instant sealing
      
      * fix live-tests
      
      * fix offences after rebase
      
      * generate all weights
      
      * add rust toolchain file
      
      * fix benchmarks
      
      Pallet balances benchmarks need https://github.com/duniter/substrate/commit/c36ab4f32454318a47777b24b6533c44121fc10b because pallet duniter-account add another provider.
      
      * fix babe-worker
      
      * fix subxt dependency
      
      * fix ImplicitCallIndex and Weight::from_ref_time deprecation
      
      * fix consensus_babe dependency
      
      * regenerate weights
      
      Regenerate all weights except for pallet-balance failing on one extrinsic
      
      * workaround pallet_duniter_account
      
      Workaround to be able to pass https://github.com/paritytech/substrate/blob/6ef184e33f6ce0f56999ae84b212ea6148c0624d/frame/balances/src/benchmarking.rs#L271 in the benchmark.
      ExtraFlags is private and Default is always new_logic not suitable for the benchmark.
      
      * wip fix node errors
      
      * wip fix runtime errors
      
      * fix pallet-duniter-account errors
      
      * fix pallet-balance errors
      
      * fix pallet-identity errors
      
      * fix pallet-duniter-account errors
      
      * upgrade Cargo files
      
      * update docs
      31a25023
  14. 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
  15. Jun 27, 2023
  16. May 03, 2023
  17. Feb 02, 2023
  18. Sep 12, 2022
    • Hugo Trentesaux's avatar
      cucumber test for identity creation (!82) · e714b76c
      Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
      * fix use statement position
      
      * fix variable names
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * tests(cucumber): add identity creation scenario
      
      * fix(wot): typo MinCertForCreateIdtyRigh -> MinCertForCreateIdtyRight
      e714b76c
  19. Sep 08, 2022
  20. Aug 25, 2022
  21. Aug 09, 2022
  22. Jul 17, 2022
  23. Jul 13, 2022
  24. Jun 15, 2022
  25. Jun 13, 2022
  26. Jun 05, 2022
  27. May 22, 2022
  28. May 02, 2022
  29. Feb 04, 2022
  30. Jan 15, 2022
  31. Jan 13, 2022
Loading