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

bump go-sdk #47

Merged
merged 1 commit into from
Nov 2, 2023
Merged

bump go-sdk #47

merged 1 commit into from
Nov 2, 2023

Conversation

timurnkey
Copy link
Contributor

Summary & Motivation (Problem vs. Solution)

💅

Changes

  • update go-sdk dependency
  • update signing activities to use the new V2
  • removes the ability to load a private key by name since we'll be pushing people towards wallets instead

Follow-Ups

  • will be updating with the new wallet logic in next PR
  • will cut a release once wallet logic is in

@timurnkey timurnkey requested a review from Ulexus November 1, 2023 05:58

for i, s := range activitiesListStatus {
if s == Help {
Output(models.ActivityStatuses())
Output(models.ActivityStatusEnum)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love the name XEnum to represent a slice... but I didn't want to heavily modify the template. LMK if this is too bothersome

Comment on lines 50 to 58
case "created":
activitiesFilter[i] = models.V1ActivityStatusACTIVITYSTATUSCREATED
activitiesFilter[i] = models.ActivityStatusCreated
case "pending":
activitiesFilter[i] = models.V1ActivityStatusACTIVITYSTATUSPENDING
activitiesFilter[i] = models.ActivityStatusPending
case "completed":
activitiesFilter[i] = models.V1ActivityStatusACTIVITYSTATUSCOMPLETED
activitiesFilter[i] = models.ActivityStatusCompleted
case "failed":
activitiesFilter[i] = models.V1ActivityStatusACTIVITYSTATUSFAILED
activitiesFilter[i] = models.ActivityStatusFailed
case "consensus":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh man oh man oh man! Looking much better 😻

@timurnkey timurnkey merged commit 3f70e6f into main Nov 2, 2023
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