Skip to content
Snippets Groups Projects
  1. Sep 15, 2023
    • Hugo Trentesaux's avatar
      reveal certification counterintuitive behavior (!163) · f78c17f9
      Hugo Trentesaux authored
      * add test in duniter-wot
      
      * reveal smith certification quirck
      
      smith certification do not require smith membership request
      f78c17f9
    • 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
  2. Sep 12, 2023
    • 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
  3. Sep 08, 2023
  4. Aug 17, 2023
  5. May 18, 2023
    • Hugo Trentesaux's avatar
      refac membership renewal (!166) · 5a3f0654
      Hugo Trentesaux authored and Pascal Engélibert's avatar Pascal Engélibert committed
      * review tuxmain
      
      * fix rebase
      
      * rename force_add_cert to do_add_cert_checked
      
      * remove origin from force_add_cert
      
      * remove duplicate UD handling
      
      * claim membership - validating identity
      
      ensure claim membership does not prevent validating identity
      
      * clippy
      
      * add acquired membership handler
      
      and new integration test scenario
      
      * run benchmarks
      
      * refactor claim_membership
      
      and expire membership instead of revoking
      when too few certs
      
      * re-enable claim_membership
      
      * membership expiry no identity removal
      
      membership expiry no more triggers identity removal
      
      * control by test
      
      * at membership expiry : back to pending membership
      
      * reveal identity removal on membership expiry
      
      * refac test
      
      * refac membership renewal
      
      add expiry unscheduling
      do not verify expiration block expiring memberships
      add and refac tests
      add integration test
      
      * wip
      5a3f0654
  6. May 02, 2023
  7. Feb 02, 2023
  8. Sep 12, 2022
  9. Sep 08, 2022
  10. Aug 24, 2022
  11. Aug 09, 2022
  12. Jul 16, 2022
    • Éloïs's avatar
      fix(account): When a self-sufficient accounts receive money for the first... · f1f5ef14
      Éloïs authored and Éloïs's avatar Éloïs committed
      fix(account): When a self-sufficient accounts receive money for the first time, that should trigger the random id assignment (!90)
      
      * ci: not execute live tests in non-scheduled jobs
      
      * fix(account): bug #85
      
      When a self-sufficient accounts receive money for the first time, that should trigger the random id assignment
      
      * tests: reproduce bug #85
      
      Conflicts:
      	.cargo/config
      	pallets/duniter-account/src/lib.rs
      f1f5ef14
  13. Jul 10, 2022
  14. Jul 05, 2022
    • Éloïs's avatar
      feat(runtime): create UDs manually with new call universalDividend.claim_uds (!83) · 52ebb5ef
      Éloïs authored
      * ref: move IdtyDataIter in common runtime
      
      * bench real weights for pallet ud
      
      * bench claim_uds
      
      * weights constants
      
      * weights: ParametersStorage is whitelisted
      
      * pallet ud on_initialize weights
      
      * manual ud: not emit event if 0 UDs claimed
      
      * tests(gdev): add int test test_remove_identity_after_one_ud
      
      * auto claim uds at member removal
      
      * migrate pallet id integration tests to manual ud
      
      * remove all try_get in pallet ud
      
      * write PastReevals
      
      * add call claim_uds
      
      * remove pallet ud_accounts_storage
      
      * update pallet ud interface
      
      * create type FirstEligibleUd
      
      * add custom IdtyData
      52ebb5ef
  15. 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
  16. Jun 13, 2022
  17. Jun 06, 2022
  18. Jun 04, 2022
  19. Jun 03, 2022
  20. May 14, 2022
  21. Feb 20, 2022
  22. Feb 15, 2022
Loading