Skip to content

Commit 7497e2c

Browse files
authored
Merge pull request #737 from celestiaorg/evan/manually-upgrade-v0.35
Add Celestia specifc logic to tendermint v0.35.x
2 parents 5b14d27 + d3aadef commit 7497e2c

File tree

126 files changed

+12331
-3059
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+12331
-3059
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@
77
# global owners are only requested if there isn't a more specific
88
# codeowner specified below. For this reason, the global codeowners
99
# are often repeated in package-level definitions.
10-
* @ebuchman @cmwaters @tychoish @williambanfield @creachadair
10+
* @liamsi @evan-forbes @Wondertan
11+
12+
# Overrides for tooling packages
13+
docs/ @liamsi @adlerjohn

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@ Be ready for followup questions, and please respond in a timely
1010
manner. We might ask you to provide additional logs and data (tendermint & app).
1111
-->
1212

13-
**Tendermint version** (use `tendermint version` or `git rev-parse --verify HEAD` if installed from source):
14-
15-
16-
**ABCI app** (name for built-in, URL for self-written if it's publicly available):
17-
18-
**Environment**:
19-
- **OS** (e.g. from /etc/os-release):
20-
- **Install tools**:
21-
- **Others**:
13+
**Version** (use `git rev-parse --verify HEAD`):
2214

2315

2416
**What happened**:
@@ -27,16 +19,14 @@ manner. We might ask you to provide additional logs and data (tendermint & app).
2719
**What you expected to happen**:
2820

2921

30-
**Have you tried the latest version**: yes/no
31-
3222
**How to reproduce it** (as minimally and precisely as possible):
3323

3424
**Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file)**:
3525

36-
**Config (you can paste only the changes you've made)**:
26+
**Config (you can paste only the changes you've made to the config)**:
3727

3828
**node command runtime flags**:
3929

4030
**Please provide the output from the `http://<ip>:<port>/dump_consensus_state` RPC endpoint for consensus bugs**
4131

42-
**Anything else we need to know**:
32+
**Anything else**:

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Actionable implementation task
3+
about: A well-defined, already decided-on, actionable implementation task.
4+
5+
---
6+
7+
## Summary
8+
9+
<!-- Short, concise description of what feature the implementation will cover -->
10+
11+
## Details
12+
13+
<!--
14+
Particularly if this implementation was not already discussed in a Proposal issue,
15+
or even in an ADR, please include as many details as possible about what this
16+
implementation task covers.
17+
18+
Also cover WHY this is needed!
19+
-->
20+
21+
### Action Items
22+
<!-- Short, concise list of actionable sub-tasks -->
23+
- [ ] sub-task 1
24+
<!-- open issues for sub-tasks where it makes sense
25+
rule of thumb: is a sub-task more than 1-2 days of work? -> requires own issue -->
26+
27+
### References
28+
29+
<!--
30+
Add references and all relations to:
31+
- other issues
32+
- particularly Proposals (if applicable)
33+
- Important: related tracking issue!
34+
- other pull requests
35+
- discussions
36+
- and ADRs
37+
38+
examples:
39+
blocked by: #XXX
40+
depends on: #XXX
41+
implements ADR: link to ADR
42+
included in: #link to tracking issue
43+
reference to specification: perma-link to spec
44+
-->
45+

.github/ISSUE_TEMPLATE/proposal.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: proposal
3+
about: Propose an improvement, feature, or change to core components
4+
5+
---
6+
7+
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
8+
v ✰ Thanks for proposing an improvement or feature! ✰
9+
v Before smashing the submit button please review the template.
10+
v Word of caution: poorly thought-out proposals may be rejected
11+
v without deliberation
12+
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
13+
14+
## Summary
15+
16+
<!-- Short, concise description of the proposed feature / change -->
17+
18+
## Problem Definition
19+
20+
<!-- Why do we need this feature?
21+
What problems may be addressed by introducing this feature?
22+
What benefits does we gain by including this feature?
23+
Are there any disadvantages of including this feature? -->
24+
25+
## Proposal
26+
27+
<!-- Detailed description of requirements of implementation -->
28+
29+
### Implementation
30+
31+
<!-- Include details on how the implementation would look like -->
32+
<!-- Point to branches, draft PRs with spike, proof of concept or tracer implementations -->
33+
34+
<!-- If the change is large, how will the changes be broken up for ease of review? -->
35+

.github/ISSUE_TEMPLATE/write-adr.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: ADR
3+
about: Write an ADR for certain aspect of the system
4+
5+
---
6+
7+
## Summary
8+
9+
<!-- Short, concise description of what this ADR should cover -->
10+
11+
## Details
12+
13+
<!-- Add more details about the nature of this ADR -->
14+
15+
<!-- Jot down expectations as clearly as possible
16+
Does this ADR cover changes to:
17+
- public API?
18+
- changes to Tendermint core types?
19+
- the p2p networking layer?
20+
- storage?
21+
- user interface?
22+
- some other core component (mempool, gossiping etc)
23+
-->
24+
25+
<!--
26+
If this ADR is part of some time critical, urgent feature, please be
27+
explicit about this in the issue already.
28+
This will help guiding the author on decision for the implementation plan.
29+
-->
30+
31+
## References and Context
32+
33+
<!-- Usually, before we decide to write ADR about a certain aspect,
34+
there are pre-existing:
35+
- reference to specification (perma-link to spec)
36+
- discussions
37+
- issues (e.g. Proposals)
38+
- or even draft PRs.
39+
40+
Make sure to link those here to facilitate writing the ADR and
41+
to give the author all required context (this can be helpful even
42+
if you are the author yourself).
43+
-->

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,5 @@ updates:
2020
interval: daily
2121
time: "11:00"
2222
open-pull-requests-limit: 10
23-
reviewers:
24-
- melekes
25-
- tessr
2623
labels:
2724
- T:dependencies

.github/workflows/build.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,26 @@ jobs:
5858
shell: bash
5959
if: "env.GIT_DIFF != ''"
6060

61-
test_apps:
62-
runs-on: ubuntu-latest
63-
needs: build
64-
timeout-minutes: 5
65-
steps:
66-
- uses: actions/setup-go@v3
67-
with:
68-
go-version: "1.17"
69-
- uses: actions/checkout@v3
70-
- uses: technote-space/get-diff-action@v6
71-
with:
72-
PATTERNS: |
73-
**/**.go
74-
go.mod
75-
go.sum
76-
- name: install
77-
run: make install install_abci
78-
if: "env.GIT_DIFF != ''"
79-
- name: test_apps
80-
run: test/app/test.sh
81-
shell: bash
82-
if: "env.GIT_DIFF != ''"
61+
# TODO: re-enable this test after upgrading to v0.36.x
62+
# test_apps:
63+
# runs-on: ubuntu-latest
64+
# needs: build
65+
# timeout-minutes: 5
66+
# steps:
67+
# - uses: actions/setup-go@v3
68+
# with:
69+
# go-version: "1.17"
70+
# - uses: actions/checkout@v3
71+
# - uses: technote-space/get-diff-action@v6
72+
# with:
73+
# PATTERNS: |
74+
# **/**.go
75+
# go.mod
76+
# go.sum
77+
# - name: install
78+
# run: make install install_abci
79+
# if: "env.GIT_DIFF != ''"
80+
# - name: test_apps
81+
# run: test/app/test.sh
82+
# shell: bash
83+
# if: "env.GIT_DIFF != ''"

.github/workflows/e2e-nightly-34x.yml renamed to .github/workflows/e2e-nightly-35x.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- uses: actions/checkout@v3
2929
with:
30-
ref: 'v0.34.x'
30+
ref: 'v0.35.x'
3131

3232
- name: Build
3333
working-directory: test/e2e
@@ -56,7 +56,7 @@ jobs:
5656
SLACK_USERNAME: Nightly E2E Tests
5757
SLACK_ICON_EMOJI: ':skull:'
5858
SLACK_COLOR: danger
59-
SLACK_MESSAGE: Nightly E2E tests failed on v0.34.x
59+
SLACK_MESSAGE: Nightly E2E tests failed on v0.35.x
6060
SLACK_FOOTER: ''
6161

6262
e2e-nightly-success: # may turn this off once they seem to pass consistently
@@ -72,5 +72,5 @@ jobs:
7272
SLACK_USERNAME: Nightly E2E Tests
7373
SLACK_ICON_EMOJI: ':white_check_mark:'
7474
SLACK_COLOR: good
75-
SLACK_MESSAGE: Nightly E2E tests passed on v0.34.x
75+
SLACK_MESSAGE: Nightly E2E tests passed on v0.35.x
7676
SLACK_FOOTER: ''

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
e2e-test:
1414
runs-on: ubuntu-latest
15-
timeout-minutes: 15
15+
timeout-minutes: 25
1616
steps:
1717
- uses: actions/setup-go@v3
1818
with:

.github/workflows/linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
paths:
1313
- "**.md"
1414
- "**.yml"
15+
- "**.yaml"
1516

1617
jobs:
1718
build:
@@ -20,11 +21,14 @@ jobs:
2021
steps:
2122
- name: Checkout Code
2223
uses: actions/checkout@v3
24+
with:
25+
# Full git history is needed to get a proper list of changed files within `super-linter`
26+
fetch-depth: 0
2327
- name: Lint Code Base
2428
uses: docker://github/super-linter:v4
2529
env:
2630
VALIDATE_ALL_CODEBASE: true
27-
DEFAULT_BRANCH: master
31+
DEFAULT_BRANCH: v0.35.x-celestia
2832
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2933
VALIDATE_MD: true
3034
VALIDATE_OPENAPI: true

DOCKER/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# stage 1 Generate Tendermint Binary
2-
FROM golang:1.16-alpine as builder
2+
FROM golang:1.17-alpine as builder
33
RUN apk update && \
44
apk upgrade && \
55
apk --no-cache add make

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ BUILDDIR ?= $(CURDIR)/build
44

55
BUILD_TAGS?=tendermint
66

7+
IMAGE := ghcr.io/tendermint/docker-build-proto:latest
8+
79
# If building a release, please checkout the version tag to get the correct version setting
810
ifneq ($(shell git symbolic-ref -q --short HEAD),)
911
VERSION := unreleased-$(shell git symbolic-ref -q --short HEAD)-$(shell git rev-parse HEAD)
@@ -15,7 +17,7 @@ LD_FLAGS = -X github.com/tendermint/tendermint/version.TMVersion=$(VERSION)
1517
BUILD_FLAGS = -mod=readonly -ldflags "$(LD_FLAGS)"
1618
HTTPS_GIT := https://github.com/tendermint/tendermint.git
1719
BUILD_IMAGE := ghcr.io/tendermint/docker-build-proto
18-
BASE_BRANCH := v0.35.x
20+
BASE_BRANCH := v0.35.x-celestia
1921
DOCKER_PROTO := docker run -v $(shell pwd):/workspace --workdir /workspace $(BUILD_IMAGE)
2022
CGO_ENABLED ?= 0
2123

0 commit comments

Comments
 (0)