Skip to content
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: add create storage provider command #350

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

fynnss
Copy link
Contributor

@fynnss fynnss commented Jul 18, 2023

Description

Add a command for creating storage provider in one transaction, this transaction includes authz the gov module to execute the create storage provider message and submit a create storage provider proposal.

Rationale

Merge two messages into one transaction, create new storage provider would be much easier.

Example

./build/bin/gnfd tx sp create-storage-provider ../create_storage_provider.json --from funding  --node http://localhost:26750

Changes

Notable changes:

  • add create storage provider command

@fynnss fynnss changed the base branch from master to develop July 18, 2023 01:58
x/sp/client/cli/tx.go Outdated Show resolved Hide resolved
x/sp/client/cli/tx.go Outdated Show resolved Hide resolved
x/sp/client/cli/tx.go Outdated Show resolved Hide resolved
@fynnss fynnss force-pushed the feat-add-create-storage-provider-in-one-command branch from 68195e3 to 81eb86a Compare July 18, 2023 12:55
@fynnss fynnss added this pull request to the merge queue Jul 19, 2023
Merged via the queue into develop with commit a67f1e4 Jul 19, 2023
@fynnss fynnss deleted the feat-add-create-storage-provider-in-one-command branch July 21, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants