Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Add tests to free-calls pallet #189

Open
wants to merge 4 commits into
base: feature/free-calls
Choose a base branch
from

Conversation

TarekkMA
Copy link

@TarekkMA TarekkMA commented Feb 14, 2022

Merge #208 first

@TarekkMA TarekkMA mentioned this pull request Feb 15, 2022
@TarekkMA TarekkMA changed the base branch from master to feature/free-calls February 22, 2022 13:20
@TarekkMA TarekkMA force-pushed the tarekkma/free-calls2-tests branch 2 times, most recently from abdeec1 to 4fb7cf6 Compare March 15, 2022 20:33
@F3Joule F3Joule force-pushed the feature/free-calls branch from aa3897f to 9bc4338 Compare March 16, 2022 09:19
@TarekkMA TarekkMA force-pushed the tarekkma/free-calls2-tests branch 3 times, most recently from e2018ab to a8a8e8e Compare March 18, 2022 13:42
@TarekkMA TarekkMA force-pushed the tarekkma/free-calls2-tests branch 2 times, most recently from 2207e34 to bccb44a Compare April 1, 2022 13:24
@TarekkMA TarekkMA requested review from siman and F3Joule and removed request for siman April 1, 2022 13:25
@TarekkMA TarekkMA force-pushed the tarekkma/free-calls2-tests branch from bccb44a to 4841313 Compare April 14, 2022 10:52
Copy link
Member

@F3Joule F3Joule left a comment

Choose a reason for hiding this comment

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

Resolve all "unused" related to tests here and all other unused in another PR.

Comment on lines +84 to +89
#[pallet::weight(12_345)]
pub fn call_c(origin: OriginFor<T>) -> DispatchResult {
let _who = ensure_signed(origin)?;

Ok(())
}
Copy link
Member

Choose a reason for hiding this comment

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

Seems unused

mod test_pallet;

#[cfg(test)]
mod tests;
Copy link
Member

Choose a reason for hiding this comment

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

@@ -176,6 +184,7 @@ impl Default for ExtBuilder {
}
}
}

impl ExtBuilder {
Copy link
Member

@F3Joule F3Joule May 3, 2022

Choose a reason for hiding this comment

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants