Skip to content
Snippets Groups Projects
  1. May 14, 2024
  2. 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
  3. Mar 21, 2024
  4. Feb 15, 2024
  5. 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
  6. 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
  7. 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
  8. Nov 30, 2023
    • Benjamin Gallois's avatar
      Eliminate all Instances of `Weight::zero()` (!197) · cca16dbb
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * refactor functions naming for pallet-membership
      
      * refactor functions naming for pallet-certification
      
      * fix tests with runtime-benchmark feature
      
      * fix compilation with runtime-benchmarks feature
      
      * update documentation
      
      * remove handlers weights for pallet_membership
      
      * remove handlers weights for pallet_identity
      
      * remove handlers weights for pallet_certification
      
      * add best practices for benchmarking
      
      * add hooks benchmark pallet_universal_dividend
      
      * add missing benchmarks pallet_universal_dividend
      
      * update weights
      
      * fix pallet_provide_randomness on_initialize weight
      
      * fix pallet_identity weight::zero
      
      * fix pallet_membership weight::zero
      
      * fix pallet_certification weight::zero
      
      * fix pallet_authority_members weight::zero
      
      * fix pallet_identity weight::zero
      
      * fix pallet_membership weight::zero
      cca16dbb
  9. Nov 02, 2023
  10. 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
  11. 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
  12. May 28, 2023
    • Hugo Trentesaux's avatar
      prepare gtest runtime (!171) · 5d8ba754
      Hugo Trentesaux authored
      * fix gtest runtime type name
      
      * add embeded client spec and genesis in binary
      
      (this re-buids chainspecs at each run)
      
      * refac chainspecs generation
      
      * add what is needed to build gtest chainspecs
      5d8ba754
  13. May 22, 2023
  14. May 02, 2023
  15. Mar 13, 2023
  16. Mar 03, 2023
    • pini's avatar
      docker: simplify duniter subcommand run (!135) · b6b77324
      pini authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * docker: simplify duniter subcommand run
      
      When the first argument of the entrypoint is '--' then bypass the default
      configuration via environment variables and directly run duniter with the
      given parameters (after removing the '--').
      
      The affected scripts and documentation were updated.
      b6b77324
  17. Feb 02, 2023
  18. Nov 19, 2022
  19. Nov 13, 2022
    • Éloïs's avatar
      Gdev3 (!117) · 14ee9635
      Éloïs authored and poka's avatar poka committed
      * add elois archive bootnode
      
      * add elois-validator bootnode
      
      * add poka bootnode
      
      * launch live network gdev3
      v0.4.0
      14ee9635
  20. Oct 04, 2022
    • Hugo Trentesaux's avatar
      Add beginner walkthrough documentation (!111) · 3761ec6e
      Hugo Trentesaux authored
      * review tuxmain
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * review
      
      * remove release mode for autocompletion
      
      * add zsh autocomplete
      
      * improve walkthrough
      
      fix typos
      add formatting
      add conclusion
      
      * add beginner walkthrough documentation
      3761ec6e
  21. Sep 12, 2022
    • Hugo Trentesaux's avatar
      improve documentation (!101) · ef73a0d0
      Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
      * fix
      
      * doc(end2end): detail test users
      
      * doc(all): update docker tag
      
      update docker image name from 0.2.0 to 0.3.0
      use "docker compose" everywhere instead of "docker-compose"
      improve table of content
      fix layout
      
      * doc(all): improve docs
      
      add logo to readme
      add table of content
      rewording
      complete
      
      * doc(all): fix typos
      ef73a0d0
  22. Jul 17, 2022
  23. Jun 22, 2022
    • Éloïs's avatar
      Add weights benchmarks (step 1) (!73) · 57ac5589
      Éloïs authored
      * feat(weights): use our benchmarks for pallet proxy
      
      * feat(weights): use our benchmarks for pallet multisig
      
      * fix(benchmarks): some pallets benchmarking need access to system.remark
      
      * feat(weights): use our benchmarks for pallet timestamp
      
      * feat(weights): use our benchmarks for pallet scheduler
      
      * fix(weights): impl proper weights & benchmarks for pallet upgrade origin
      
      * doc(dev):weights-bench: reference machine should use an SSD with USB3
      
      * style(clippy): allow unnecessary_cast for WeighInfo implementations
      
      * doc(dev): add "how to benchmarks weights of a Call/Hook/Pallet"
      
      * feat(runtimes): use our benchmarks for pallet universal dividend
      
      * feat(pallet_ud): add weights info
      
      * feat(pallet_ud): add benchmarking
      
      * fix(weights): use our own extrinsic base weights constant
      
      * feat(weights): use our benchmarks for frame_system
      
      * feat(weights): use our benchmarks for pallet balance
      
      * fix(accounts): providers should be inc as soon as the account recv money
      
      providers should be incremented as soon as the account receive funds
      
      * fix(gdev): fix runtime benchmarks compilation
      57ac5589
  24. May 27, 2022
  25. May 25, 2022
  26. May 15, 2022
  27. May 12, 2022
  28. Apr 16, 2022
  29. Jul 24, 2021
Loading