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(tss): the big swap: tssd -> tofnd #297

Merged
merged 6 commits into from
Feb 26, 2021
Merged

feat(tss): the big swap: tssd -> tofnd #297

merged 6 commits into from
Feb 26, 2021

Conversation

ggutoski
Copy link
Contributor

Pending successful local ceremony. May need to rebase onto master again before merging.

@ggutoski ggutoski changed the title The big swap: tssd -> tofnd feat(tss): the big swap: tssd -> tofnd Feb 24, 2021
@ggutoski ggutoski marked this pull request as ready for review February 25, 2021 00:02
x/tss/keeper/keeperKeygen.go Outdated Show resolved Hide resolved
x/tss/keeper/keeperSign.go Outdated Show resolved Hide resolved
@@ -65,3 +65,7 @@ prereqs:
.PHONY: generate
generate:
go generate -x ./...

.PHONE: tofnd-client
tofnd-client:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this should be moved to the generate tag

Copy link
Contributor Author

Choose a reason for hiding this comment

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

probably not because it requires the user to have protoc installed and that's nontrivial

x/tests/cryptoUtils.go Show resolved Hide resolved
x/tss/handler.go Show resolved Hide resolved
x/tss/keeper/keeperKeygen.go Show resolved Hide resolved
x/tss/tofnd/tofnd.proto Show resolved Hide resolved
x/tss/types/expected_keepers.go Outdated Show resolved Hide resolved

.PHONE: tofnd-client
tofnd-client:
@protoc --go_out=. --go-grpc_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative x/tss/tofnd/tofnd.proto
Copy link
Contributor

Choose a reason for hiding this comment

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

this should go into a //go:generate so it's called every time. To have a nicer user experience we can add a check during make prereqs if protoc is installed

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm creating a new issue for this. When we add it to make generate we need to set up the github action to automatically install protoc, which is not trivial. Nevertheless, this is a step we should take. I already found that I'm generating different files from the proto locally because I have a different protoc-gen-go version installed

@ggutoski ggutoski merged commit 1635822 into master Feb 26, 2021
@ggutoski ggutoski deleted the tofnd branch February 26, 2021 01:25
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