@@ -174,6 +174,7 @@ signer:
174
174
"--rollkit.da.address" , "http://flag-da:26657" ,
175
175
"--rollkit.node.light" , "true" , // This is not in YAML, should be set from flag
176
176
"--rollkit.rpc.address" , "127.0.0.1:7332" ,
177
+ "--evnode.signer.signer_path" , "/path/to/signer" ,
177
178
}
178
179
cmd .SetArgs (flagArgs )
179
180
err = cmd .ParseFlags (flagArgs )
@@ -199,8 +200,8 @@ signer:
199
200
assert .Equal (t , DefaultConfig .DA .BlockTime .Duration , config .DA .BlockTime .Duration , "DABlockTime should remain as default" )
200
201
201
202
// 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" )
204
205
205
206
assert .Equal (t , "127.0.0.1:7332" , config .RPC .Address , "RPCAddress should be set from flag" )
206
207
}
0 commit comments