- 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 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
-
* 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 27, 2023
-
-
- Aug 17, 2023
-
-
Pascal Engélibert authored
-
- Jun 08, 2023
-
-
Hugo Trentesaux authored
increase runtime number
-
- Jun 05, 2023
-
-
* 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
-
- 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 12, 2023
-
-
* feat: add pallet session benchmark * fix(pallet_collective): fix parameters for benchmark * fix(pallet_treasury): fix parameters for benchmark * fix(pallet_im_online): fix parameters for benchmark Fixed the pallet_im_online parameters to be pass benchmarks. MaxKeys needs to be at least 1000 because of https://github.com/paritytech/substrate/blob/e94cb0dafd4f30ff29512c1c00ec513ada7d2b5d/frame/im-online/src/benchmarking.rs#L35 * feat(runtimes): use our benchmarks for substrate pallets
-
* fix after rebase * feat(runtimes): use our benchmarks for pallet authority_members * feat(pallet_authority_members): add weights info * feat: add pallet authority_members benchmark
-
- May 08, 2023
-
-
* fix after rebase * add comment warning about hardcoded smith metadata * feat(runtimes): use our benchmarks for pallet membership * feat(pallet_membership): add weights info * feat: add pallet membership benchmark
-
- May 02, 2023
-
-
-
-
Pascal Engélibert authored
-
- Apr 17, 2023
-
-
- Mar 24, 2023
-
-
bgallois authored
-
- Mar 23, 2023
-
-
- Feb 02, 2023
-
-
Pascal Engélibert authored
-
- Sep 28, 2022
-
-
Éloïs authored
-
- Sep 08, 2022
-
-
* docs(all): fix homepage & name in license
-
- Sep 04, 2022
-
-
Éloïs authored
* add test test_smith_member_cant_revoke_its_idty * add test test_smith_member_cant_change_idty_address * migration v400 * fix(idty): smish members can't revoke nor change address * pallet ud: remove temporary hotfix call * deps: remove librocksdb-sys * cargo config: add sub-command to run benchmarks on a pallet
-
- Aug 25, 2022
-
-
Éloïs authored
* upgrade substrate to polkadot-v0.9.26
-
- Aug 09, 2022
-
-
* run real benchmarks for pallet oneshot * fix(oneshot-account): use benchmarking * fix: metadata should comply subxt & polkadotjs expectations * feat(oneshot-account): Pallet oneshot-account
-
- Aug 08, 2022
-
-
Éloïs authored
* feat(runtime): unfilter go_online on gdev runtime
-
- Jul 17, 2022
-
-
Éloïs authored
* upgrade substrate to polkadot-v0.9.23
-
- Jul 16, 2022
-
-
Éloïs authored
* feat(governance): replace smiths collective by technical committee
-
- Jul 15, 2022
-
-
Éloïs authored
* opti(cert): idty/membership should be validated/claim manually
-
- Jul 13, 2022
-
-
Éloïs authored
* ci: not execute live tests on jobs tests_debug & tests_release * mod(membership): remove rule RenewablePeriod * fix live tests compilation * mod(cert): remove rule CertRenewablePeriod
-
- 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 10, 2022
-
-
Éloïs authored
-
- 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
-
- Jun 22, 2022
-
-
É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
-
- Jun 18, 2022
- Jun 05, 2022
-
-
Éloïs authored
-
- Jun 04, 2022
-
-
Éloïs authored
-