- Jan 14, 2025
-
-
Pascal Engélibert authored
* use FirstEligibleUd::min * Fix UD eligibility at genesis * end2end: non-member idty has UD at genesis
-
- Oct 02, 2024
-
-
* remove unused deps * fix #241 * remove sp_std dependency https://github.com/paritytech/polkadot-sdk/issues/2101# This is the commit message #2: * update metadata * clean Cargo.toml * run benchmarks * update node * update crates
-
- Jun 07, 2024
-
-
* 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
-
- May 15, 2024
-
-
* restructure imports * Fix #226 * upgrade subxt * update to polkadot-v1.11.0
-
- Feb 02, 2024
-
-
Cédric Moreau authored
Resolve #152 "remove random_id mechanism which is heavy and that we do not use" (!235) * remove unnecessary currency associated type * WIP: rebase * WIP: update docs * WIP: clippy * WIP: test pass * WIP: // TODO: decrement consumers?
-
- Jan 30, 2024
-
-
* 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
-
- Jan 17, 2024
-
-
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
-
- Jan 16, 2024
-
-
* 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
-
- Jan 15, 2024
-
-
* 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
-
- Dec 15, 2023
-
-
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
* 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
-
- Nov 16, 2023
-
-
Hugo Trentesaux authored
* clippy * remove membership metadata * fix(#129): reveal the bug (cherry picked from commit b60b9345)
-
- Nov 15, 2023
-
-
Hugo Trentesaux authored
* implement quotas implement weights "à l'arrache" benchmarks duniter-account "à l'arrache" implement benchmark logic (not proper benchmarks) fix live tests
and clippy 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 and clippy 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
-
- Nov 14, 2023
-
-
Cédric Moreau authored
-
- Sep 15, 2023
-
-
* 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
-
- Sep 12, 2023
-
-
* 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
-
- Aug 17, 2023
-
-
Pascal Engélibert authored
-
- May 18, 2023
-
-
* 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
-
- May 02, 2023
-
-
Pascal Engélibert authored
-
- Sep 08, 2022
-
-
* docs(all): fix homepage & name in license
-
- Sep 06, 2022
-
-
Éloïs authored
* tests(cucumber): comment log extrinsic encoded * remove genesis param *certs_expire_on
-
- Jul 13, 2022
- Jul 12, 2022
-
-
Éloïs authored
* feat(identity): add call change_owner_key
-
- Jul 11, 2022
-
-
Éloïs authored
* ref(runtime): more generic IdtyData
-
- Jul 05, 2022
-
-
É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
-
- May 05, 2022
-
- May 02, 2022
- Feb 20, 2022
-
-
Éloïs authored
-
- Feb 15, 2022
-
-
Éloïs authored
-