Skip to content
Snippets Groups Projects
  1. 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
  2. Nov 16, 2023
  3. Nov 15, 2023
    • 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
  4. Nov 14, 2023
  5. Nov 02, 2023
  6. 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
  7. 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
  8. Aug 17, 2023
  9. 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
  10. May 22, 2023
    • Hugo Trentesaux's avatar
      gtest genesis new format (!168) · ca6c877e
      Hugo Trentesaux authored
      * fix smith certification validity
      
      * get values of parameters
      
      * tuxmain review
      
      * add checks and improve formatting
      
      * improve genesis parsing
      
      adds info
      
      * fix json with new format
      
      * fix warnings
      
      * new gtest genesis format
      
      * get build working with gtest feature
      
      `cargo build --features gtest --no-default-features`
      
      * update lib.rs
      
      * update cargo.toml
      
      * add readme for runtimes
      ca6c877e
    • Benjamin Gallois's avatar
      Add check that benchmark run on appropriate genesis (!170) · 2e943e2b
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix(runtime) fix benchmarks for g1 and gtest
      
      * feat(runtime) enforce gdev-benchmark for benchmark commands
      2e943e2b
  11. May 02, 2023
  12. Apr 24, 2023
  13. Feb 16, 2023
  14. Feb 02, 2023
  15. Nov 23, 2022
  16. Nov 20, 2022
  17. 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
  18. Sep 11, 2022
  19. Sep 08, 2022
  20. Sep 06, 2022
  21. Aug 15, 2022
  22. Aug 07, 2022
  23. Jul 17, 2022
  24. Jul 16, 2022
  25. Jul 13, 2022
  26. Jul 12, 2022
  27. Jul 11, 2022
  28. 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
  29. Jun 26, 2022
  30. Jun 06, 2022
  31. Jun 04, 2022
  32. May 31, 2022
  33. May 27, 2022
Loading