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

initialize dancekit #1

Conversation

girazoki
Copy link
Collaborator

@girazoki girazoki commented Nov 17, 2023

Initialize Dacenkit with the corresponding pallets

@girazoki girazoki changed the title first attemp initialize dancekit Nov 17, 2023
.rustfmt-toml Outdated Show resolved Hide resolved
#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::call_index(0)]
#[pallet::weight((0, DispatchClass::Mandatory))]
Copy link
Collaborator

@Agusrodri Agusrodri Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering, shouldn't we use a different weight hint here? To avoid the same issue as we have with parachainSystem.setValdiationData expressed here.

Edit: I realized that we already have a ticket for this. I guess we will implement it in a separate PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep exactly!

@girazoki girazoki merged commit 3472902 into master Nov 22, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants