Skip to content

Commit

Permalink
docs: add v5.1 developer migration guide (#1870)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchristo authored Mar 29, 2023
1 parent 891bda4 commit 4672ec6
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ module.exports = {
'/ledger/migrations/',
'/ledger/migrations/v4.0-migration',
'/ledger/migrations/v5.0-migration',
'/ledger/migrations/v5.1-migration',
],
},
],
Expand Down
1 change: 1 addition & 0 deletions docs/ledger/migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The migration guides within this section are written for developers writing appl

- [Migration Guide v4.0](v4.0-migration.md)
- [Migration Guide v5.0](v5.0-migration.md)
- [Migration Guide v5.1](v5.1-migration.md)

This first page provides an overview of our release process. In addition, we provide some tips on how application developers can stay up to date and prepare ahead of time.

Expand Down
36 changes: 36 additions & 0 deletions docs/ledger/migrations/v5.1-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Migration Guide v5.1

## API Changes

### regen.ecocredit.v1

Regen Ledger v5.1 includes non-breaking changes to [regen.ecocredit.v1](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.v1).

#### Events

The following events have been updated:

- [EventBridge](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.v1#regen.ecocredit.v1.EventBridge)

- added `batch_denom`

- [EventBridgeReceive](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.v1#regen.ecocredit.v1.EventBridgeReceive)

- added `amount`
- added `origin_tx`

### regen.ecocredit.basket.v1

Regen Ledger v5.1 includes non-breaking changes to [regen.basket.v1](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1).

#### Msg Service

The following messages have been added:

- [v1.MsgUpdateDateCriteria](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.marketplace.v1#regen.ecocredit.marketplace.v1.MsgUpdateDateCriteria)

#### Events

The following events have been added:

- [v1.EventUpdateDateCriteria](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.EventUpdateDateCriteria)
2 changes: 1 addition & 1 deletion x/ecocredit/spec/01_concepts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Concepts

## Ecocredit Core
## Ecocredit Module

### Credit Class

Expand Down
2 changes: 1 addition & 1 deletion x/ecocredit/spec/02_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The `ecocredit` module uses the `orm` package as an abstraction layer over the `KVStore` that enables the creation of database tables with primary and secondary keys. The tables used within the ecocredit module are defined in the proto files available on [Buf Schema Registry](https://buf.build/regen/regen-ledger).

## Ecocredit Core
## Ecocredit Module

<!-- listed alphabetically -->

Expand Down
3 changes: 2 additions & 1 deletion x/ecocredit/spec/03_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The ecocredit module provides a message service for interacting with the state o

For examples on how to interact with state using the `regen` binary, see [regen tx ecocredit](../../commands/regen_tx_ecocredit.md).

## Ecocredit Core
## Ecocredit Module

<!-- listed alphabetically -->

Expand Down Expand Up @@ -41,6 +41,7 @@ For examples on how to interact with state using the `regen` binary, see [regen
- [Take](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.Msg.Take)
- [UpdateBasketFee](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.Msg.UpdateBasketFee)
- [UpdateCurator](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.Msg.UpdateCurator)
- [MsgUpdateDateCriteria](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.Msg.MsgUpdateDateCriteria)

## Marketplace Submodule

Expand Down
2 changes: 1 addition & 1 deletion x/ecocredit/spec/04_queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The ecocredit module provides a query service for querying the state of the ecoc

For examples on how to query state using gRPC and REST, see the [ecocredit client](07_client.md) documentation, and for examples using the `regen` binary, see [regen query ecocredit](../../commands/regen_query_ecocredit.html).

## Ecocredit Core
## Ecocredit Module

<!-- listed alphabetically -->

Expand Down
3 changes: 2 additions & 1 deletion x/ecocredit/spec/05_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The ecocredit module emits events upon the successful execution of messages. The events for the ecocredit module are defined in the proto files available on [Buf Schema Registry](https://buf.build/regen/regen-ledger).

## Ecocredit Core
## Ecocredit Module

<!-- listed alphabetically -->

Expand Down Expand Up @@ -33,6 +33,7 @@ The ecocredit module emits events upon the successful execution of messages. The
- [EventPut](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.EventPut)
- [EventTake](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.EventTake)
- [UpdateCurator](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.UpdateCurator)
- [EventUpdateDateCriteria](https://buf.build/regen/regen-ledger/docs/main:regen.ecocredit.basket.v1#regen.ecocredit.basket.v1.EventUpdateDateCriteria)

## Marketplace Submodule

Expand Down
2 changes: 1 addition & 1 deletion x/ecocredit/spec/06_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The `ecocredit` module provides additional types used in multiple services or for governance.

## Ecocredit Core
## Ecocredit Module

<!-- listed alphabetically -->

Expand Down

0 comments on commit 4672ec6

Please sign in to comment.