Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ceremonies trusted calls #22

Open
echevrier opened this issue Dec 21, 2022 · 2 comments
Open

Add ceremonies trusted calls #22

echevrier opened this issue Dec 21, 2022 · 2 comments
Labels
A2-applibs Affects app-libs, i.e. runtime or stf (According to integritee worker) C7-high ❗️ Elevates a release containing this PR to "high priority" P5-sometimesoon

Comments

@echevrier
Copy link
Collaborator

for all ceremonies calls https://github.com/encointer/pallets/blob/3fc6c4fcef549d32e0ed7beb73ac940b43b25af3/ceremonies/src/lib.rs#L104

@echevrier
Copy link
Collaborator Author

echevrier commented Dec 21, 2022

  • ceremonies_register_participant(AccountId, CommunityIdentifier,Option<ProofOfAttendance<Signature, AccountId>>),
  • ceremonies_upgrade_registration(AccountId, CommunityIdentifier, ProofOfAttendance<Signature, AccountId>, ),
  • ceremonies_unregister_participant(AccountId, CommunityIdentifier, Option),
  • ceremonies_attest_attendees(AccountId, CommunityIdentifier, u32, CeremonyIndexType, Vec, ),
  • ceremonies_endorse_newcomer(AccountId, CommunityIdentifier, AccountId),
  • ceremonies_claim_rewards(AccountId, CommunityIdentifier, Option),
  • ceremonies_set_inactivity_timeout(AccountId, InactivityTimeoutType),
  • ceremonies_set_endorsement_tickets_per_bootstrapper(AccountId, EndorsementTicketsType),
  • ceremonies_set_endorsement_tickets_per_reputable(AccountId, EndorsementTicketsType),
  • ceremonies_set_reputation_lifetime(AccountId, ReputationLifetimeType),
  • ceremonies_set_meetup_time_offset(AccountId, MeetupTimeOffsetType),
  • ceremonies_set_time_tolerance(AccountId, Moment),
  • ceremonies_set_location_tolerance(AccountId, u32),
  • ceremonies_purge_community_ceremony(AccountId, CommunityCeremony),

@echevrier echevrier added A2-applibs Affects app-libs, i.e. runtime or stf (According to integritee worker) C7-high ❗️ Elevates a release containing this PR to "high priority" P5-sometimesoon labels Feb 27, 2023
@echevrier
Copy link
Collaborator Author

There are all manually added in the trusted calls (

TrustedCall::ceremonies_upgrade_registration(sender_account, ..) => sender_account,
), but need perhaps some rework and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A2-applibs Affects app-libs, i.e. runtime or stf (According to integritee worker) C7-high ❗️ Elevates a release containing this PR to "high priority" P5-sometimesoon
Projects
None yet
Development

No branches or pull requests

1 participant