Skip to content
Snippets Groups Projects

Fix #218 and #158

Merged Benjamin Gallois requested to merge fix-218 into master

Add the trait CheckAccountWorthiness defined in the pallet-identity and implemented in the duniter-account pallet, exposing the Fungible trait, that checks if an account exists and if this account has enough balance to pay for the entire identity creation process. This will change the identity creation process as follows:

  1. Create the account by transferring at least twice the existential deposit.
  2. Create the identity.
Edited by Benjamin Gallois

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
463 463 type AutorevocationPeriod = AutorevocationPeriod;
464 464 type DeletionPeriod = DeletionPeriod;
465 465 type CheckIdtyCallAllowed = Wot;
466 type CheckAccountWorthiness = Account;
466 467 type IdtyCreationPeriod = IdtyCreationPeriod;
467 468 type IdtyData = IdtyData;
  • added 1 commit

    • 4c7f53e3 - fix pallets_config macro formatting

    Compare with previous version

  • added 1 commit

    • 06a8fef3 - fix pallets_config macro formatting

    Compare with previous version

  • added 1 commit

    • 7bc8ab76 - fix pallets_config macro formatting

    Compare with previous version

  • added 1 commit

    • a104c8b3 - fix pallets_config macro formatting

    Compare with previous version

  • added 1 commit

    • ed36f737 - fix pallets_config macro formatting

    Compare with previous version

  • added 1 commit

    • 35cbc18b - fix pallets_config macro formatting

    Compare with previous version

  • Hugo Trentesaux
  • Looks good. Thanks for fixing the macro formatting!

  • Hugo Trentesaux approved this merge request

    approved this merge request

  • added 1 commit

    • c94aad29 - refac docstring of `validate_idty_name`

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading