From 2b67a158f7c1d5ca74994a28affe33ce94e30c82 Mon Sep 17 00:00:00 2001 From: jolestar Date: Thu, 21 Apr 2022 14:49:08 +0800 Subject: [PATCH] [mpm] Fix integration tests `public_keys` arguments --- vm/starcoin-transactional-test-harness/src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vm/starcoin-transactional-test-harness/src/lib.rs b/vm/starcoin-transactional-test-harness/src/lib.rs index e16d4e824b..b63dbf4100 100644 --- a/vm/starcoin-transactional-test-harness/src/lib.rs +++ b/vm/starcoin-transactional-test-harness/src/lib.rs @@ -129,7 +129,11 @@ pub struct ExtraInitArgs { /// genesis with the network network: Option, - #[clap(long = "public-keys", parse(try_from_str = parse_named_key))] + #[clap(long = "public-keys", + parse(try_from_str = parse_named_key), + takes_value(true), + multiple_values(true), + multiple_occurrences(true))] public_keys: Option>, // #[clap(long = "private-keys", parse(try_from_str = parse_named_private_key))] // private_keys: Option>,