Skip to content

Commit

Permalink
Merge pull request #1696 from mesg-foundation/dev
Browse files Browse the repository at this point in the history
Release v0.19.0
  • Loading branch information
Nicolas Mahé authored Mar 2, 2020
2 parents c416eed + 8554d14 commit 7e25ea1
Show file tree
Hide file tree
Showing 233 changed files with 8,029 additions and 3,718 deletions.
44 changes: 26 additions & 18 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,34 @@ issues:
- "ineffective break statement. Did you mean to break out of the outer loop"

exclude-rules:
- path: x/xvalidator/validator.go
- path: ext/xvalidator/validator.go
linters:
- golint
text: "exported var Translator should have its own declaration"

linters:
enable-all: true
disable:
- depguard
- dupl
- errcheck
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- gosec
- interfacer
- lll
- prealloc
- stylecheck
- wsl
- gochecknoinits
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- maligned
- misspell
- nakedret
- scopelint
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## [v0.19.0](https://github.com/mesg-foundation/engine/releases/tag/v0.19.0)

#### Added

- ([#1654](https://github.com/mesg-foundation/engine/pull/1654)) Add e2e lcd tests for ownerships.
- ([#1663](https://github.com/mesg-foundation/engine/pull/1663)) Add e2e tests using the light client daemon of Cosmos.
- ([#1670](https://github.com/mesg-foundation/engine/pull/1670)) Introduce execution payment.
- ([#1680](https://github.com/mesg-foundation/engine/pull/1680)) Add block height to execution data.
- ([#1689](https://github.com/mesg-foundation/engine/pull/1689)) Add pagination system to http endpoint executions/list.
- ([#1691](https://github.com/mesg-foundation/engine/pull/1691)) Add min price for execution.

#### Changed

- ([#1640](https://github.com/mesg-foundation/engine/pull/1640)) Update to cosmos v0.38 and tendermint v0.33.
- ([#1645](https://github.com/mesg-foundation/engine/pull/1645)) Add trusted config to LCD server and index all events.
- ([#1650](https://github.com/mesg-foundation/engine/pull/1650)) Refactor cosmos modules.
- ([#1651](https://github.com/mesg-foundation/engine/pull/1651)) Refactor ownership module to cosmos style.
- ([#1653](https://github.com/mesg-foundation/engine/pull/1653)) Refactor instance module to cosmos style.
- ([#1657](https://github.com/mesg-foundation/engine/pull/1657)) Refactor runner module to cosmos style.
- ([#1658](https://github.com/mesg-foundation/engine/pull/1658)) Refactor process module to cosmos style.
- ([#1661](https://github.com/mesg-foundation/engine/pull/1661)) Refactor service module to cosmos style.
- ([#1662](https://github.com/mesg-foundation/engine/pull/1662)) Refactor execution module to cosmos style.
- ([#1669](https://github.com/mesg-foundation/engine/pull/1669)) Use disable-all instead of enable-all in golangci config.

#### Fixed

- ([#1682](https://github.com/mesg-foundation/engine/pull/1682)) Fix Tendermint graceful stop.
- ([#1683](https://github.com/mesg-foundation/engine/pull/1683)) Call end block function in each cosmos modules.

#### Dependencies

- ([#1646](https://github.com/mesg-foundation/engine/pull/1646)) Bump google.golang.org/grpc from 1.27.0 to 1.27.1.
- ([#1648](https://github.com/mesg-foundation/engine/pull/1648)) Bump github.com/prometheus/client_golang from 1.4.0 to 1.4.1.
- ([#1656](https://github.com/mesg-foundation/engine/pull/1656)) Bump github.com/cosmos/cosmos-sdk from 0.38.0 to 0.38.1.

## [v0.18.3](https://github.com/mesg-foundation/engine/releases/tag/v0.18.3)

#### Added
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ RUN go mod download

RUN go install github.com/golang/protobuf/protoc-gen-go
RUN go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
RUN go install github.com/vektra/mockery/.../

# verify that mesg-dev container is being used.
ENV MESG_DEV true
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all build build-cmd-cosmos changelog check-version clean clean-build clean-docker dep dev dev-mon dev-start dev-stop docker-build docker-dev docker-publish docker-publish-dev docker-tools genesis lint mock protobuf test
.PHONY: all build build-cmd-cosmos changelog check-version clean clean-build clean-docker dep dev dev-mon dev-start dev-stop docker-build docker-dev docker-publish docker-publish-dev docker-tools genesis lint protobuf test

MAJOR_VERSION := $(shell echo $(version) | cut -d . -f 1)
MINOR_VERSION := $(shell echo $(version) | cut -d . -f 1-2)
Expand Down Expand Up @@ -54,9 +54,9 @@ dep:
build: check-version dep
go build -mod=readonly -o ./bin/engine -ldflags="-X 'github.com/mesg-foundation/engine/version.Version=$(version)'" core/main.go

build-cmd-cosmos: dep
go build -mod=readonly -o ./bin/mesg-cosmos ./cmd/mesg-cosmos/main.go
go build -mod=readonly -o ./bin/mesg-cosmos-daemon ./cmd/mesg-cosmos-daemon/main.go
build-cmd: dep
go build -mod=readonly -o ./bin/mesg-cli ./cmd/mesg-cli/
go build -mod=readonly -o ./bin/mesg-daemon ./cmd/mesg-daemon/

e2e: docker-dev
./scripts/run-e2e.sh
Expand All @@ -67,9 +67,6 @@ test: dep
lint:
golangci-lint run

mock: docker-tools
docker run --rm -v $(PWD):/project mesg/tools:local ./scripts/build-mocks.sh

protobuf: docker-tools
docker run --rm -v $(PWD):/project mesg/tools:local ./scripts/build-proto.sh

Expand Down
Loading

0 comments on commit 7e25ea1

Please sign in to comment.