Re-add deprecated --execution arg on benchmark pallet#14567
Re-add deprecated --execution arg on benchmark pallet#14567paritytech-processbot[bot] merged 4 commits intomasterfrom
--execution arg on benchmark pallet#14567Conversation
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
|
Why bring it back? I mean yes, I should not have removed it directly, but now this happened. This is also more a dev centric command and not really used by "users". |
Its probably used in automation (also by downstream teams). So I think having some grace period is some nicer experience. |
Yeah, IDK. Then let's keep it, but we don't need this in all the tests. |
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
|
bot merge |
|
Waiting for commit status. |
…#14567) * Add DeferGuard::new Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-add deprecated 'execution' arg to benchmark pallet cmd. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Extend tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove from tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add DeferGuard::new Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-add deprecated 'execution' arg to benchmark pallet cmd. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Extend tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove from tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Changes:
--executionarg on commandbenchmark palletthat was removed in #14387. It is a No-OP and prints⚠️ Argument --execution is deprecated. Its value of wasm will be ignorenow upon usage.DeferGuard::newas convenience function.benchmark *cmd tests.