Skip to content

Commit

Permalink
refactor(x/ecocredit)!: update base submodule architecture (#1429)
Browse files Browse the repository at this point in the history
* refactor(x/ecocredit)!: update base submodule architecture

* update changelog

* merge cleanup

* merge cleanup
  • Loading branch information
ryanchristo authored Aug 30, 2022
1 parent ac52762 commit 3e948cb
Show file tree
Hide file tree
Showing 304 changed files with 3,672 additions and 3,600 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#1428](https://github.com/regen-network/regen-ledger/pull/1428) Migrated `ecocredit/client/basket` to `ecocredit/basket/client`
- [#1428](https://github.com/regen-network/regen-ledger/pull/1428) Migrated `ecocredit/server/basket` to `ecocredit/basket/keeper`
- [#1428](https://github.com/regen-network/regen-ledger/pull/1428) Migrated `ecocredit/simulation/basket` to `ecocredit/basket/simulation`
- [#1429](https://github.com/regen-network/regen-ledger/pull/1429) Migrated `ecocredit/core` to `ecocredit/base/types/v1`
- [#1429](https://github.com/regen-network/regen-ledger/pull/1429) Migrated `ecocredit/client` core commands to `ecocredit/base/client`
- [#1429](https://github.com/regen-network/regen-ledger/pull/1429) Migrated `ecocredit/server/core` to `ecocredit/base/keeper`
- [#1429](https://github.com/regen-network/regen-ledger/pull/1429) Migrated `ecocredit/simulation` core operations to `ecocredit/base/simulation`

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package regen.ecocredit.v1;

import "regen/ecocredit/v1/types.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1";

// EventCreateClass is an event emitted when a credit class is created.
message EventCreateClass {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "google/protobuf/timestamp.proto";
import "regen/ecocredit/v1/state.proto";
import "regen/ecocredit/v1/types.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1";

// Msg is the regen.ecocredit.v1 Query service.
service Query {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1/state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "cosmos/orm/v1alpha1/orm.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1";

// CreditType defines the measurement unit/precision of a certain credit type
// (e.g. carbon, biodiversity...)
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "google/protobuf/timestamp.proto";
import "regen/ecocredit/v1/state.proto";
import "regen/ecocredit/v1/types.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1";

// Msg is the regen.ecocredit.v1 Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "regen/ecocredit/v1/state.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1";

// Params defines the updatable global parameters of the ecocredit module for
// use with the x/params module.
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1alpha1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package regen.ecocredit.v1alpha1;

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core/v1alpha1";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1alpha1";

// EventCreateClass is an event emitted when a credit class is created.
message EventCreateClass {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1alpha1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package regen.ecocredit.v1alpha1;
import "gogoproto/gogo.proto";
import "regen/ecocredit/v1alpha1/types.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core/v1alpha1";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1alpha1";

// GenesisState defines ecocredit module's genesis state.
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1alpha1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cosmos/base/query/v1beta1/pagination.proto";
import "google/api/annotations.proto";
import "regen/ecocredit/v1alpha1/types.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core/v1alpha1";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1alpha1";

// Msg is the regen.ecocredit.v1alpha1 Query service.
service Query {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1alpha1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package regen.ecocredit.v1alpha1;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core/v1alpha1";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1alpha1";

// Msg is the regen.ecocredit.v1alpha1 Msg service.
service Msg {
Expand Down
2 changes: 1 addition & 1 deletion proto/regen/ecocredit/v1alpha1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/core/v1alpha1";
option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1alpha1";

// ClassInfo represents the high-level on-chain information for a credit class.
message ClassInfo {
Expand Down
Loading

0 comments on commit 3e948cb

Please sign in to comment.