Skip to content
Snippets Groups Projects
  1. Feb 05, 2025
  2. Feb 04, 2025
    • Benjamin Gallois's avatar
      Upgrade polkadot v1.17.0 (!312) · cf605c4e
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * remove duplicate
      
      * fix benchmark extrinsic creation
      
      * move offchain config to common
      
      * move benchmarks to common runtime
      
      * formatting
      
      * regenerate weight and metadata
      
      * follow-up to !295
      
      * add metadata hash check extension
      
      * fix tests
      
      * upgrade node
      
      * add autogenerated weights build test
      
      * update txextensions
      
      * update crates
      cf605c4e
  3. Jan 15, 2025
  4. Dec 27, 2024
  5. Nov 15, 2024
  6. Nov 13, 2024
  7. Nov 08, 2024
  8. Oct 02, 2024
  9. Sep 13, 2024
  10. Sep 04, 2024
  11. Jun 07, 2024
    • Benjamin Gallois's avatar
      Fix #232 (!268) · 1ea24193
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * add explicit generic names
      
      * fix #236
      
      * remove proof_size restriction
      
      * fix integrity error
      
      * add user documentation
      
      * fix FeeMultiplier minimum
      
      * add documentation
      
      * add FeeMultiplier tests
      
      * add FeeMultiplier
      
      * add fee model tests
      
      * remove transaction fees
      1ea24193
  12. May 27, 2024
  13. May 15, 2024
  14. Mar 21, 2024
  15. 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
  16. 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
  17. Jan 29, 2024
  18. 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
  19. 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
  20. 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
  21. Dec 08, 2023
    • Benjamin Gallois's avatar
      Harmonize and document events errors and calls (!200) · 6cf445b5
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix clippy errors
      
      * add Invalid case in distance status
      
      * fix events pallet-membership
      
      * fix events pallet-certification
      
      * update docs
      
      * update metadata and docs
      
      * refactor errors pallet-distance
      
      * fix distance error naming pallet duniter-wot
      
      * add pallet membership documentation
      
      * refactor acquisition and renewal pallet-membership
      
      * refactor expiration and revokation pallet-membership
      
      * refactor calls pallet-identity
      
      * add pallet standard guidelines
      
      * refactor events struct pallet-membership
      
      * add events pallet-distance
      
      * refactor documentation pallet-quota
      
      * fix pallet-quota features
      
      * refactor documentation pallet-provide-randomness
      
      * refactor documentation pallet-oneshot-account
      
      * refactor documentation pallet-offences
      
      * refactor documentation pallet-membership
      
      * refactor documentation pallet-identity
      
      * refactor documentation pallet-duniter-wot
      
      * refactor documentation pallet-duniter-account
      
      * refactor documentation pallet-distance
      
      * refactor documentation pallet-certification
      
      * refactor documentation pallet-authority-members
      
      * refactor error naming pallet-provide-randomness
      
      * remove unused errors pallet-membership
      
      * remove unused errors pallet-identity
      
      * refactor events and errors pallet-distance
      
      * refactor events and errors pallet-authority-members
      6cf445b5
  22. Nov 29, 2023
  23. Nov 19, 2023
    • Cédric Moreau's avatar
      Prepare GDev parameters (!195) · c4773062
      Cédric Moreau authored
      * fix(ci): disable benchmark tests (failing)
      
      * feat: bump Runtime to 700 + client to 0.7.0
      
      * fix: DUNITER_CLIENT_SPEC for both GDev and GTest currencies
      
      * feat: GDev parameters
      
      * feat: convert gdev&gtest config files to YAML
      c4773062
  24. Nov 16, 2023
  25. Nov 15, 2023
    • Benjamin Gallois's avatar
      Distance pallet benchmark (!187) · 89c4fdb9
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix after merge
      
      * add digest decoding complexity
      
      * fix runtime-benchmarks feature for testing
      
      * use our weights
      
      * add benchmarks for test
      
      * add benchmarks for runtime
      
      * add pallet distance benchmarks
      89c4fdb9
    • Hugo Trentesaux's avatar
      implement quotas and refund transaction fees (!183) · b793b455
      Hugo Trentesaux authored
      * implement quotas
      
      implement weights "à l'arrache"
      
      benchmarks duniter-account "à l'arrache"
      
      implement benchmark logic (not proper benchmarks)
      
      fix live tests :man_facepalming:
      
      and clippy :man_facepalming::man_facepalming:
      
      replace quotas by quota everywhere
      
      comment unused sections of template
      
      remove quota treasury dependency
      
      give treasury address as argument
      
      typo
      
      review tuxmain
      
      doc readme
      
      rename error DistanceKO to DistanceNotOK
      
      merge new owner key and revocation signature
      
      merge signature error types
      
      rename NewOwnerKeyPayload
      
      fix comment
      
      make eligibility more explicit
      
      implement quotas
      
      implement weights "à l'arrache"
      
      benchmarks duniter-account "à l'arrache"
      
      implement benchmark logic (not proper benchmarks)
      
      fix live tests :man_facepalming:
      
      and clippy :man_facepalming::man_facepalming:
      
      replace quotas by quota everywhere
      
      comment unused sections of template
      
      remove quota treasury dependency
      
      give treasury address as argument
      
      typo
      
      review tuxmain
      
      doc readme
      
      rename error DistanceKO to DistanceNotOK
      
      merge new owner key and revocation signature
      
      merge signature error types
      
      rename NewOwnerKeyPayload
      
      fix comment
      
      make eligibility more explicit
      
      update metadata
      
      fix
      
      fix fee multiplier update
      
      prevent network discovery + connecting other nodes
      b793b455
  26. Nov 02, 2023
  27. 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
  28. 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
  29. Aug 27, 2023
  30. Aug 17, 2023
  31. 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
  32. May 22, 2023
  33. May 02, 2023
  34. Feb 02, 2023
  35. Sep 28, 2022
  36. Sep 08, 2022
Loading