-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
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.
A few documentation nitpicks
Co-authored-by: Dan Forbes <dan@danforbes.dev>
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.
lgtm
Ok(()) | ||
})?; | ||
|
||
let new_index = Agenda::<T>::decode_len(new_time).unwrap_or(1) as u32 - 1; |
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.
Its more efficient to get the length from the try_mutate
above right?
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.
Agenda::<T>::append
was used which doesn't decode the whole thing, it does have the length info but not exposed
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.
rescheduling to same time ends up removing the task: https://github.com/paritytech/substrate/pull/6860/files#r470499784 (fixed)
Good to merge or still need approval from @gavofyork ? |
should this needs audit ? |
yes. at this point anything that touches the polkadot runtime needs an audit. |
Any updates? |
It is in queue for being Audited, but not yet complete. |
We are done with the review for this PR - looks good to us! |
bot merge |
Trying merge. |
…up-updates * master: Async keystore + Authority-Discovery async/await (#7000) Fixes logging of target names with dashes (#7281) seal: Add automated weights for contract API calls (#7017) add ss58 id for nodle (#7279) Refactor CurrencyToVote (#6896) bump-allocator: document & poison (#7277) Reset flaming fir network (#7274) reschedule (#6860) Drop system cache for trie benchmarks (#7242) client: improve log formatting (#7272) Rework `InspectState` (#7271) SystemOrigin trait (#7226) Update ss58 registry for Dock network (#7263) .maintain/monitoring: Add alert when continuous task ends (#7250) Rename `TRANSACTION_VERSION` to `EXTRINSIC_VERSION` (#7258) Split block announce processing into two parts (#6958) Fix offchain election to respect the weight (#7215)
Fixes #6774
Did not add dispatchable calls because we don't need it. Happy to add it if people wants it.
TODOs: