Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

remove without_storage_info from pallet-collective #2761

Closed
wants to merge 1 commit into from

Conversation

muraca
Copy link

@muraca muraca commented Jun 20, 2023

@muraca muraca force-pushed the companion/substrate#14355 branch 3 times, most recently from 7278ae8 to 0c63eec Compare June 20, 2023 08:12
@muraca muraca force-pushed the companion/substrate#14355 branch from 0c63eec to 38c7e05 Compare June 21, 2023 09:39
@juangirini juangirini added the A0-please_review Pull request needs code review. label Jun 26, 2023
@juangirini juangirini requested review from muharem, joepetrowski and a team June 26, 2023 09:39
@paritytech-ci paritytech-ci requested review from a team June 26, 2023 09:39
@juangirini juangirini added A4-companion A PR that should be considered alongside another (usually more comprehensive and detailed) PR. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jun 26, 2023
@muraca muraca force-pushed the companion/substrate#14355 branch 3 times, most recently from 5281fda to e92ab62 Compare July 4, 2023 09:44
fn bound_proposal(
proposal: ProposalOf<T, I>,
) -> Result<Bounded<ProposalOf<T, I>>, DispatchError> {
pallet_preimage::Pallet::<T>::bound(proposal)
Copy link
Author

Choose a reason for hiding this comment

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

This is giving an error which can be solved by putting the bound frame_system::Config<Hash = sp_core::H256>, and it is pretty weird since Hash is set as parachains_commons::types::Hash, an alias of sp_core::H256.

image

Copy link
Author

@muraca muraca Jul 8, 2023

Choose a reason for hiding this comment

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

@ggwpez this is still happening, see workflow

Copy link
Member

Choose a reason for hiding this comment

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

Why do you even need that custom bound_proposal function instead of injecting a StorePreimage trait into the pallet config trait?

@muraca muraca force-pushed the companion/substrate#14355 branch 2 times, most recently from 00e435a to 68fabb6 Compare July 12, 2023 18:33
@juangirini juangirini requested review from ggwpez and a team July 13, 2023 11:34
@muraca muraca force-pushed the companion/substrate#14355 branch from 68fabb6 to 43fe887 Compare July 14, 2023 18:39
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/3193073

@muraca
Copy link
Author

muraca commented Jul 17, 2023

Closed paritytech/substrate#14355 in favor of paritytech/substrate#14585

@muraca muraca closed this Jul 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. A4-companion A PR that should be considered alongside another (usually more comprehensive and detailed) PR. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants