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

Conversation

@ascjones
Copy link
Contributor

Part of #7949. Migrates:

  • babe
  • balances
  • indices

@ascjones ascjones requested a review from andresilva as a code owner January 25, 2021 13:41
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Jan 25, 2021

pub const CALL: &<$test as frame_system::Config>::Call = &$crate::tests::CallWithDispatchInfo;
pub const CALL: &<$test as frame_system::Config>::Call =
&Call::Balances(pallet_balances::Call::transfer(0, 0));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This now needs to be an instance of the actual Call from construct_runtime, so just constructing a dummy transfer. Any better idea?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have a better idea, but a comment in the code would be welcome. :)

@ascjones ascjones requested a review from gui1117 January 25, 2021 13:45
ascjones and others added 2 commits January 25, 2021 13:46
Co-authored-by: Guillaume Thiolliere <[email protected]>
Co-authored-by: Guillaume Thiolliere <[email protected]>
@gui1117 gui1117 added 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. labels Jan 25, 2021
@ascjones ascjones merged commit 65003c5 into master Jan 25, 2021
@ascjones ascjones deleted the aj-migrate-tests-to-construct-runtime branch January 25, 2021 15:56
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. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants