Closed ruuda closed 2 years ago
Good catch, fixed now.
This commit changed the subcommand 'token transfer'
to 'token-transfer'
, but the test at https://github.com/ChorusOne/solido/blob/1181183e8b5b84fa77bbd362ab0a558fd44853be/tests/test_multisig.py#L512-L513
was not updated, can you change this to 'token-transfer'
?
Ah another good catch, will fix. Also, I now notice that as an unintended side-effect this makes the help output of solido
colorized.
I wanted to split out the APY daemon into a library, so I can fuzz functions in it more easily (#529). Then I ran into compilation issues with Clap for some reason. So I decided to update it.
This does change the
solido multisig token
command to no longer be a subcommand, it inlines thetransfer
subcommand directly now. I think that also resolves the panic we had there when you don’t provide any arguments, I think it was because it was an enum in an enum, while Clap expects enums to be in structs and structs in enums.This does unfortunately create a duplicate dependency, on Clap 2.33 and Clap 3.1.6. The 2.33 dependency is deep in the tree of all Solana stuff, and Solana hasn’t updated, so we cannot get rid of it unfortunately.
GitHub does not recognize the rename, but
listener/main.rs
was renamed tolib.rs
, the only change is to makefn main
apub fn main
and to add the missing copyright header.This also adds the files for a fuzz target, but nothing is being fuzzed yet.