Skip to content

Commit

Permalink
Merge pull request #6 from rarimo/chains/mainnet-beta-v1.1.0.rc-0
Browse files Browse the repository at this point in the history
Mainnet-beta upgrade v1.1.0.rc-0
  • Loading branch information
olegfomenko authored Nov 23, 2023
2 parents 36f7461 + e197b43 commit edc3330
Show file tree
Hide file tree
Showing 128 changed files with 8,063 additions and 3,015 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/packages-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Rarimo Core executables
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+.rc-[0-9]+'

permissions:
contents: write

jobs:
goreleaser:
if: endsWith(github.ref, 'mainnet-beta')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Rarimo Core executables
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

permissions:
contents: write

jobs:
goreleaser:
if: endsWith(github.ref, 'mainnet')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+.rc-[0-9]+'

jobs:
converge:
Expand Down
32 changes: 27 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


***Chains:***

* [***Mainnet information***](./docs/common/mainnet/001-mainnet.md)

* [***Testnet (Mainnet-beta) information***](./docs/common/testnet/001-testnet.md)

## Introduction

**rarimo-core** is a blockchain built using Cosmos SDK and Tendermint and created with [Ignite CLI](https://ignite.com/cli).
**rarimo-core** is a blockchain built using Cosmos SDK and Tendermint and created
with [Ignite CLI](https://ignite.com/cli).

Based on Tendermint + Cosmos SDK blockchain core the main goal is to provide validated information about different cross-chain operations.
Based on Tendermint + Cosmos SDK blockchain core the main goal is to provide validated information about different
cross-chain operations.

Documentation:

* [Rarimo core modules business logic](./x/README.md)
* [Bridge contract architecture](./docs/common/contracts/001-contracts.md)
* [Bridging flow overview](./docs/common/bridging/001-bridging.md)
Expand All @@ -25,22 +28,41 @@ Documentation:
### Install

Use

```shell
ignite chain build
```

If it fails in generate proto stage with error on etheremint .proto files just re-execute that command or try to add `--clear-cache` flag.
If it fails in generate proto stage with error on etheremint .proto files just re-execute that command or try to
add `--clear-cache` flag.

### Generate proto files

Use

```shell
ignite generate proto-go
```

If it fails in generate proto stage with error on etheremint .proto files remove `./proto/ethermint` package and execute command again.
If it fails in generate proto stage with error on etheremint .proto files remove `./proto/ethermint` package and execute
command again.
DO NOT FORGET TO RETURN DELETED PACKAGE.

## Versioning

Rarimo core leverages on the following branches:

- `master` branch with vanilla core version
- `mainnet-beta` branch with testnet core with all testnet upgrades
- `mainnet` branch with mainnet core with all mainnet upgrades

For the tags we are using an approach when stable releases with `vx.x.x` tag has only the `mainnet` core. On the other
side `mainnet-beta` releases are build under `vx.x.x.rc-x` tag. For the master branch releases only hash tagged images
will be provided.

Before creating the `mainnet` release be sure that it includes all unreleased changes from `mainnet-beta` and then
select the corresponding version number that will cover all released tags on `mainnet-beta`.

## Learn more

- [Ignite CLI](https://ignite.com/cli)
Expand Down
7 changes: 7 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,13 @@ func New(
},
)

app.UpgradeKeeper.SetUpgradeHandler(
"v1.1.0.rc-0",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
},
)

if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down
57 changes: 0 additions & 57 deletions docker-compose.yaml

This file was deleted.

7 changes: 6 additions & 1 deletion docs/common/bridging/001-bridging.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
layout: default
title: Bridging
---

# Bridging

Bridging documentation describes current existing implementations over our cross-chain messaging protocol.

* [Bridging identity from Polygon](./002-identity.md)
* [Bridging identity from Polygon](./002-identity.md)
* [Bridging identity from Rarimo](./003-rarimo-identity.md)
Loading

0 comments on commit edc3330

Please sign in to comment.