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

scrypto: Make LatestVer of type version #3206

Merged
merged 2 commits into from
Oct 1, 2019

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented Oct 1, 2019

fixes #2953


This change is Reviewable

@oncilla oncilla requested a review from kormat October 1, 2019 10:38
Copy link
Contributor

@kormat kormat left a comment

Choose a reason for hiding this comment

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

Reviewed 39 of 39 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @oncilla)


go/lib/ctrl/signed_util.go, line 58 at r1 (raw file):

func NewSignSrcDefFromRaw(b common.RawBytes) (SignSrcDef, error) {
	s := reSrcDefault.FindSubmatch(b)

When the type of s changes from []string to [][]byte, renaming the var is probably good for sanity too.


go/lib/infra/modules/trust/trustdb/trustdbsqlite/db.go, line 677 at r1 (raw file):

func parseCert(raw common.RawBytes, ia addr.IA, version scrypto.Version,
	err error) (*cert.Certificate, error) {

Add blank line.

Copy link
Contributor Author

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @kormat)


go/lib/ctrl/signed_util.go, line 58 at r1 (raw file):

Previously, kormat (Stephen Shirley) wrote…

When the type of s changes from []string to [][]byte, renaming the var is probably good for sanity too.

s for submatch :)


go/lib/infra/modules/trust/trustdb/trustdbsqlite/db.go, line 677 at r1 (raw file):

Previously, kormat (Stephen Shirley) wrote…

Add blank line.

Done.

Copy link
Contributor

@kormat kormat left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@oncilla oncilla merged commit 4ff5c56 into scionproto:master Oct 1, 2019
@oncilla oncilla deleted the pub-scrypto-version branch October 1, 2019 14:37
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.

Use scrypto.Version where appropriate
2 participants