Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump prismjs from 1.23.0 to 1.25.0 in /docs #334

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
28bebe3
docs/tutorials: fix sample code #6186
mergify[bot] Mar 1, 2021
52b1d90
rpc/jsonrpc: Unmarshal RPCRequest correctly (bp #6191) (#6193)
mergify[bot] Mar 2, 2021
a047a4a
logs: cleanup (#6198)
mergify[bot] Mar 4, 2021
1b5697a
mempool/rpc: log grooming (bp #6201) (#6203)
mergify[bot] Mar 4, 2021
b9cdd0e
indexer: remove info log (#6194)
mergify[bot] Mar 4, 2021
277ad4a
Merge pull request #195 from line/v0.34.x
Mar 5, 2021
dddf7ea
feat: more prometheus metrics for monitoring performance (#146) (#175)
Mar 4, 2021
0bd87be
chore: config timeout and connection pool (#150) (#171)
wetcod Feb 3, 2021
ef06e93
Merge pull request #198 from line/egon/merge_linemint
Mar 9, 2021
2a1f43c
chore: modify module path (#199)
Mar 15, 2021
5fea666
chore: adopt `line/tm-db/v2` and `line/iavl/v2` (#200)
jinsan-line Mar 16, 2021
c7c246b
chore: bump up tm-db and iavl (#201)
jinsan-line Mar 25, 2021
2b5e16c
chore: rename binary file to ostracon (#206)
Apr 2, 2021
4bc528a
build: fixing building in docker container (#208)
Apr 5, 2021
4183d64
chore: use default db backend among the available ones (#212)
Apr 6, 2021
afe46e5
feat: concurrent checkTx (#213)
Apr 9, 2021
e772f8b
chore: remove abci socket implementation (#214)
jinsan-line Apr 15, 2021
636b019
test: grpc_client_test and fix grpc_client StopForError() hang bug (#…
jinsan-line Apr 16, 2021
89413eb
chore: remove abci flush() (#216)
jinsan-line Apr 16, 2021
f79764f
chore: remove mempool.postCheck (#158) (#217)
jinsan-line Apr 16, 2021
4de81da
chore: bump up tm-db (#218)
jinsan-line Apr 16, 2021
5254cab
fix: revise to call Begin/EndRecheck even though mem.Size() is 0 (#219)
jinsan-line Apr 19, 2021
25d9ece
feat: concurrent recheckTx (#163) (#221)
jinsan-line Apr 27, 2021
b9f0112
chore: increase the value of maxPerPage (#223)
wetcod Apr 27, 2021
0cd77f8
chore: fix the type of consensus_block_interval_seconds from histogra…
wetcod Apr 27, 2021
4750c7b
feat: impl checkTxAsyncReactor() (#168) (#225)
jinsan-line Apr 28, 2021
e5495ce
chore: revise abci.Client, Async() interfaces (#169) (#226)
jinsan-line Apr 29, 2021
ef4fe0a
chore: remove iavl dependency (#228)
Apr 29, 2021
fcf6e59
feat: add metric for measuring performance (#229)
May 6, 2021
6c7ab05
build: remove needless build tag `!libsecp256k1` (#246)
May 12, 2021
2e4c6dd
feat: add duration metrics of gauge type (#256)
May 17, 2021
b6eb70f
feat: async reactor receiving (#261)
brew0722 May 27, 2021
2b37f36
added extra timing info regarding block generation
iproudhon May 14, 2021
78d994c
reformat to keep lint happy
iproudhon Jun 4, 2021
83b433c
Merge pull request #265 from line/iproudhon/ebony
iproudhon Jun 4, 2021
19aab99
perf: optimize checking the txs size (#264)
wetcod Jun 4, 2021
a52812a
perf: do not flush wal when receive consensus msgs (#273)
wetcod Jun 10, 2021
9eea703
build(deps): Bump prismjs from 1.23.0 to 1.25.0 in /docs
dependabot[bot] Oct 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ executors:
golang:
docker:
- image: tendermintdev/docker-tendermint-build
working_directory: /go/src/github.com/tendermint/tendermint
working_directory: /go/src/github.com/line/ostracon
environment:
GOBIN: /tmp/bin
release:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

# # Test RPC implementation against the swagger documented specs
# contract_tests:
# working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint
# working_directory: /home/circleci/.go_workspace/src/github.com/line/ostracon
# machine:
# image: circleci/classic:latest
# environment:
Expand All @@ -139,7 +139,7 @@ jobs:
# # install node and dredd
# ./scripts/get_nodejs.sh
# # build the binaries with a proper version of Go
# docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux build-contract-tests-hooks
# docker run --rm -v "$PWD":/go/src/github.com/line/ostracon -w /go/src/github.com/line/ostracon golang make build-linux build-contract-tests-hooks
# # This docker image works with go 1.7, we can install here the hook handler that contract-tests is going to use
# go get github.com/snikch/goodman/cmd/goodman
# make contract-tests
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test Coverage
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand All @@ -10,6 +12,10 @@ jobs:
split-test-files:
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- name: Create a file with all the pkgs
run: go list ./... > pkgs.txt
Expand Down Expand Up @@ -42,10 +48,14 @@ jobs:
goarch: ["arm", "amd64"]
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand All @@ -64,10 +74,14 @@ jobs:
matrix:
part: ["00", "01", "02", "03"]
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand All @@ -80,7 +94,7 @@ jobs:
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -coverprofile=${{ matrix.part }}profile.out -covermode=atomic
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -tags 'memdb goleveldb' -coverprofile=${{ matrix.part }}profile.out -covermode=atomic
if: env.GIT_DIFF
- uses: actions/upload-artifact@v2
with:
Expand All @@ -91,6 +105,10 @@ jobs:
runs-on: ubuntu-latest
needs: tests
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build & Push
# Build & Push rebuilds the tendermint docker image on every push to master and creation of tags
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
# Build & Push rebuilds the ostracon docker image on every push to master and creation of tags
# and pushes the image to https://docker-registry.linecorp.com/link-network/v2/lbm
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand All @@ -18,7 +20,7 @@ jobs:
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=tendermint/tendermint
DOCKER_IMAGE=ostracon/ostracon
VERSION=noop
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
Expand Down Expand Up @@ -55,5 +57,7 @@ jobs:
context: .
file: ./DOCKER/Dockerfile
platforms: linux/amd64,linux/arm64
build-args: |
GITHUB_TOKEN=${{ secrets.TOKEN }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
11 changes: 7 additions & 4 deletions .github/workflows/e2e-nightly-34x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"

- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
ref: 'v0.34.x'
go-version: '^1.15.4'

- name: Build
working-directory: test/e2e
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/e2e-nightly-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"

- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
go-version: '1.15'

- uses: actions/checkout@v2

- name: Build
working-directory: test/e2e
# Run make jobs in parallel, since we can't run steps in parallel.
Expand Down
65 changes: 35 additions & 30 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,38 @@ on:
- release/**

jobs:
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum

- name: Build
working-directory: test/e2e
# Run two make jobs in parallel, since we can't run steps in parallel.
run: make -j2 docker runner
if: "env.GIT_DIFF != ''"

- name: Run CI testnet
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml
if: "env.GIT_DIFF != ''"

- name: Emit logs on failure
if: ${{ failure() }}
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml logs
# TODO ebony: This is not possible, missing ci.toml from original tendermint
# e2e-test:
# runs-on: ubuntu-latest
# timeout-minutes: 15
# steps:
# - name: Configure git for private modules
# env:
# TOKEN: ${{ secrets.TOKEN }}
# run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
# - uses: actions/checkout@v2
# - uses: actions/setup-go@v2
# with:
# go-version: '^1.15.4'
# - uses: technote-space/get-diff-action@v4
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
#
# - name: Build
# working-directory: test/e2e
# # Run two make jobs in parallel, since we can't run steps in parallel.
# run: make -j2 docker runner
# if: "env.GIT_DIFF != ''"
#
# - name: Run CI testnet
# working-directory: test/e2e
# run: ./build/runner -f networks/ci.toml
# if: "env.GIT_DIFF != ''"
#
# - name: Emit logs on failure
# if: ${{ failure() }}
# working-directory: test/e2e
# run: ./build/runner -f networks/ci.toml logs
6 changes: 6 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Lint
# Lint runs golangci-lint over the entire Tendermint repository
# This workflow is run on every pull request and push to master
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified.
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand All @@ -13,6 +15,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
name: Super linter
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Code Base
Expand All @@ -25,7 +29,7 @@ jobs:
LINTER_RULES_PATH: .
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
VALIDATE_MD: true
MARKDOWN_CONFIG_FILE: .markdownlint.yml
VALIDATE_OPAENAPI: true
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
- uses: actions/checkout@master
- name: lint
run: make proto-lint
proto-breakage:
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- uses: actions/checkout@master
- name: check-breakage
run: make proto-check-breaking-ci
# TODO comment out this. We need to check proto-breakage
# proto-breakage:
# runs-on: ubuntu-latest
# timeout-minutes: 4
# steps:
# - uses: actions/checkout@master
# - name: check-breakage
# run: make proto-check-breaking-ci
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
with:
go-version: '^1.15.4'

- run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md
- run: echo https://github.com/line/ostracon/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --release-notes=../release_notes.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
28 changes: 23 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Tests
# Tests runs different tests (test_abci_apps, test_abci_cli, test_apps)
# This workflow runs on every push to master or release branch and every pull requests
# All jobs will pass without running if no *{.go, .mod, .sum} files have been modified
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand All @@ -15,18 +17,22 @@ jobs:
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -55,10 +61,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -87,10 +97,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down Expand Up @@ -118,10 +132,14 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
Expand Down
Loading