Skip to content

Commit

Permalink
refactor!: don't use v1 in go package path (#740)
Browse files Browse the repository at this point in the history
* refactore: don't use v1 in go package path

* fix import

* Update proto/regen/ecocredit/basket/v1/tx.proto

Co-authored-by: Aaron Craelius <[email protected]>
  • Loading branch information
robert-zaremba and aaronc authored Feb 9, 2022
1 parent b73c310 commit 358c95c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
14 changes: 7 additions & 7 deletions proto/regen/ecocredit/basket/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ message MsgCreate {
// tokens and for bank denom metadata. An exponent of 6 will mean that 10^6
// units of a basket token will be issued for 1.0 credits and that
// this should be displayed as one unit in user interfaces. The exponent
// must be >= the precision of the credit type to minimize the need for rounding
// (rounding may still be needed if the precision changes to be great than
// the exponent).
// must be >= the precision of the credit type to minimize the need for
// rounding (rounding may still be needed if the precision changes to be greater
// than the exponent).
uint32 exponent = 4;

// disable_auto_retire allows auto-retirement to be disabled.
Expand All @@ -55,15 +55,15 @@ message MsgCreate {
// credit_type_name filters against credits from this credit type name.
string credit_type_name = 6;

// allowed_classes are the credit classes allowed to be put in the basket
// allowed_classes are the credit classes allowed to be put in the basket
repeated string allowed_classes = 7;

// min_start_date is the earliest start date for batches of credits allowed
// into the basket.
google.protobuf.Timestamp min_start_date = 8;

// fee is the fee that the curator will pay to create the basket. It must be >=
// the required Params.basket_creation_fee. We include the fee explicitly
// fee is the fee that the curator will pay to create the basket. It must be
// >= the required Params.basket_creation_fee. We include the fee explicitly
// here so that the curator explicitly acknowledges paying this fee and
// is not surprised to learn that the paid a big fee and didn't know
// beforehand.
Expand Down Expand Up @@ -118,7 +118,7 @@ message MsgTake {
// retirement_location is the optional retirement location for the credits
// which will be used only if retire_on_take is true for this basket.
string retirement_location = 4;

// retire_on_take is a boolean that dictates whether the ecocredits
// received in exchange for the basket tokens will be received as
// retired or tradable credits.
Expand Down
6 changes: 3 additions & 3 deletions x/ecocredit/basket/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x/ecocredit/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.17

require (
github.com/cosmos/cosmos-sdk v0.44.2
github.com/cosmos/cosmos-sdk/api v0.1.0-alpha4
github.com/cosmos/cosmos-sdk/orm v1.0.0-alpha.7
github.com/gogo/protobuf v1.3.3
github.com/golang/protobuf v1.5.2
Expand Down Expand Up @@ -39,7 +40,6 @@ require (
github.com/coinbase/rosetta-sdk-go v0.6.10 // indirect
github.com/confio/ics23/go v0.6.6 // indirect
github.com/cosmos/cosmos-proto v1.0.0-alpha7 // indirect
github.com/cosmos/cosmos-sdk/api v0.1.0-alpha4 // indirect
github.com/cosmos/cosmos-sdk/errors v1.0.0-beta.2 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/iavl v0.17.1 // indirect
Expand Down
1 change: 1 addition & 0 deletions x/ecocredit/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,7 @@ google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9K
google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
google.golang.org/grpc v1.43.0 h1:Eeu7bZtDZ2DpRCsLhUlcrLnvYaMK1Gz86a+hMVvELmM=
google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
google.golang.org/grpc v1.44.0 h1:weqSxi/TMs1SqFRMHCtBgXRs8k3X39QIDEZ0pRcttUg=
google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
Expand Down

0 comments on commit 358c95c

Please sign in to comment.