-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: move config commands to top level #1086
Conversation
3349f04
to
b8a7176
Compare
@leighmcculloch The last step is to split identity into keys and address book. Should I put them under the network too? That is store them in a folder for each network? |
I thought the identity command today was just keys that have a secret, not address only identities. I don't think we need to add the address book now if so. |
I'm concerned that separating keys by network in the CLI UI will create for a confusing or unintuitive interface. I think we should do some UI design in a doc before embarking on it in code. |
Yeah the addresses become tricky because contract id's are derived from the network passsphrase and are obviously only deployed on one network. So we could keep keys as is and add the address book per network. But either way I'll just update this PR to just rename |
3eda70d
to
76a5bec
Compare
76a5bec
to
cde610c
Compare
@2opremio Looks like the prefight debug test is failing:
|
Food for thought, and not this PR. Would be nice to be able view accounts in a table-like view with its respective network futurenet|testnet|mainnet
|
Uhm, can you try to debug it? I am off this week. Thanks! |
cc @stellarsaur Is this something you able to help with? |
I agree, but we currently don't store keys under their network so it's not possible. So I'll make a future PR that addresses this. |
I purposely depended on the I vote for shelving the xdr cli until the whole workspace is updated to the newest stellar-xdr, as it doesn't make sense that the rest of the workspace has a different version. |
There's no need to ship embedding the xdr CLI right now. It's not urgent. There's an issue open tracking that work separately: |
dd22eb0
to
47c95f9
Compare
The CI dep checker failed with just the following:
|
d030134
to
0f30c3d
Compare
0f30c3d
to
be7dfc6
Compare
Would be great to get this included in the next release, but a couple things:
|
Let's make this change not breaking please #1146 |
6818ab7
to
cc2552d
Compare
9baecc1
to
9b69a00
Compare
* Add list_identities_long in config/locator.rs * Add a long ls option to config identity command * Add -l to docs
Also upped another fudge value. Seems a big difference.
9b69a00
to
bb13b9c
Compare
There has been no default `--source-account` since 8906a53 / stellar#1086
What
config *
commands to top level #1054config identity
toconfig key
#1053contract asset
was added withdeploy
andid
subcommands.contract deploy
had two subcommandswasm
andasset
, but this was a breaking change and it was hard to have clap allowdeploy
without a subcommand to default towasm
. So perhaps we will add this when introducing breaking changes.xdr
subcommand, but will address later. soroban-cli: replace lab xdr subcommand with embedding the stellar-xdr cli #1018Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]