-
Notifications
You must be signed in to change notification settings - Fork 552
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: 45 annotation #2039
feat: 45 annotation #2039
Conversation
I have a feeling that we should not obey the linter here: https://github.com/tendermint/starport/runs/4996045953?check_suite_focus=true#step:5:80 wdyt? |
In the end I decided to obey the linter.... |
Hello! Cosmos-sdk v0.45.0 introduces the following state breaking change:
How do you expect this to effect gas consumption? Could it possibly double in the worst case? |
@Ruborcalor not really sure what you mean here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking the time to open this pull request and helping to make Starport better. I left some comments.
@@ -1,6 +1,6 @@ | |||
module github.com/tendermint/starport | |||
|
|||
go 1.16 | |||
go 1.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source code and dependencies do not require this - if they did, go mod
would bump this automatically.
Please revert.
@@ -1,4 +1,4 @@ | |||
module github.com/tendermint/planet | |||
|
|||
go 1.16 | |||
go 1.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, see above.
@@ -19,74 +21,132 @@ import ( | |||
sdk "github.com/cosmos/cosmos-sdk/types" | |||
"github.com/cosmos/cosmos-sdk/types/module" | |||
"github.com/cosmos/cosmos-sdk/version" | |||
|
|||
// CLI tooling | |||
"github.com/spf13/cast" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this introduced manually? The indentation looks funky.
@@ -1,27 +1,132 @@ | |||
module <%= ModulePath %> | |||
|
|||
go 1.16 | |||
go 1.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, see above.
@@ -1,5 +1,6 @@ | |||
4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= | |||
bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= | |||
bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run go mod tidy
to purge deps that are no longer needed.
@@ -7,7 +7,6 @@ import ( | |||
"github.com/gobuffalo/genny" | |||
"github.com/gobuffalo/plush" | |||
"github.com/gobuffalo/plushgen" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several separators (i.e. blank lines) were removed, why? What's the justification? I'd advise reverting unnecessary changes in order to reduce the diff's size.
@@ -44,5 +43,9 @@ func Box(box packd.Walker, opts *Options, g *genny.Generator) error { | |||
g.Transformer(genny.Replace("{{typeName}}", opts.TypeName.Snake)) | |||
|
|||
// Create the 'testutil' package with the test helpers | |||
return testutil.Register(g, opts.AppPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? This is a more concise (and readable form). Please revert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am submitting a new PR, which contains only changes to the template.
closing this, and opening again, with a smaller-scope version. In the future, if there is a scoping issue on a PR that has been explicitly approved in issues, I'd really love to know about that before 2 months in. |
Addresses:
#2030
#1998
Works towards:
#2038
#2156
Changes:
v0.45.0v0.45.1