-
Notifications
You must be signed in to change notification settings - Fork 104
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
Polkadot SDK Update #965
Polkadot SDK Update #965
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #965 +/- ##
==========================================
+ Coverage 75.23% 76.61% +1.37%
==========================================
Files 41 41
Lines 1813 1924 +111
Branches 75 75
==========================================
+ Hits 1364 1474 +110
- Misses 429 430 +1
Partials 20 20
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
* adds transfer token test * assert agent id is the source * complete transfer token test --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Alistair Singh <[email protected]>
let origin = | ||
T::AgentOrigin::try_successful_origin().map_err(|_| BenchmarkError::Weightless)?; | ||
|
||
#[extrinsic_call] | ||
_(RawOrigin::Signed(caller)); | ||
_(origin as T::RuntimeOrigin); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be the way to handle origin checking in benchmarks.
Closing in favour of #972. |
Polkadot SDK companion: Snowfork/polkadot-sdk#2