Closed teddyknox closed 1 year ago
for documentation:
My original issue that being address here is that when I attempted to call create-gauge
as indicated by the example
dualityd tx incentives create-gauge tokenD<>tokenF 1 20000 1000tokenD,1000tokenF 10000 1000 --from fred --keyring-backend test --broadcast-mode block
I got an error: Error: tokenD: PairID does not conform to pattern TokenA<>TokenB
this was because my shell/environment was actually passing "tokenD" as the argument to pairID, the <> characters were not interpreted as part of the string. And so to get the command to work I needed to add quotation marks:
dualityd tx incentives create-gauge "tokenD<>tokenF" 1 20000 1000tokenD,1000tokenF 10000 1000 --from fred --keyring-backend test --broadcast-mode block
which worked as intended
…to avoid CLI parsing issues.