@@ -174,6 +174,7 @@ signer:
174174 "--rollkit.da.address" , "http://flag-da:26657" ,
175175 "--rollkit.node.light" , "true" , // This is not in YAML, should be set from flag
176176 "--rollkit.rpc.address" , "127.0.0.1:7332" ,
177+ "--evnode.signer.signer_path" , "/path/to/signer" ,
177178 }
178179 cmd .SetArgs (flagArgs )
179180 err = cmd .ParseFlags (flagArgs )
@@ -199,8 +200,8 @@ signer:
199200 assert .Equal (t , DefaultConfig .DA .BlockTime .Duration , config .DA .BlockTime .Duration , "DABlockTime should remain as default" )
200201
201202 // 5. Signer values should be set from flags
202- assert .Equal (t , "file" , config .Signer .SignerType , "SignerType should be set from flag " )
203- assert .Equal (t , "something/config " , config .Signer .SignerPath , "SignerPath should be set from flag" )
203+ assert .Equal (t , "file" , config .Signer .SignerType , "SignerType should be gotten from config " )
204+ assert .Equal (t , "/path/to/signer " , config .Signer .SignerPath , "SignerPath should be set from flag" )
204205
205206 assert .Equal (t , "127.0.0.1:7332" , config .RPC .Address , "RPCAddress should be set from flag" )
206207}
0 commit comments