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

[Migration] FINAL v0.47.x ==> v0.50.x #396

Merged
merged 55 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
7d36745
feat: delete conflicting directorys for re-scaffolding
Jan 25, 2024
23eb974
feat: comment out module mock generation code
Jan 25, 2024
321766b
chore: temporarily remove `testutil` pkg
bryanchriswhite Feb 6, 2024
fe49711
chore: temporarily remove `pkg` pkgs
bryanchriswhite Feb 6, 2024
9339896
chore: temporarily remove E2E tests
bryanchriswhite Feb 6, 2024
a2680d6
chore: re-scaffold `tools` pkg
bryanchriswhite Feb 6, 2024
4aeb680
chore: update `localnet_regenesis` Make target
bryanchriswhite Feb 6, 2024
bc8b821
chore: re-scaffold chain & ensure sequencer produces blocks
bryanchriswhite Feb 6, 2024
c9ba62c
chore: remove redundant .gitignore lines
bryanchriswhite Feb 2, 2024
5eaf296
chore: add shared service.proto to buf.gen.pulsar.yaml
bryanchriswhite Feb 2, 2024
2d01138
chore: add `yq` as a CI dep
bryanchriswhite Feb 7, 2024
617ab40
chore: use sequencer name & power from config.yml
bryanchriswhite Feb 7, 2024
84063d7
chore: use rollkit v0.11.19 cosmos-sdk
bryanchriswhite Feb 7, 2024
361a377
chore: update go.mod
bryanchriswhite Feb 7, 2024
49d161f
reconcile: app account address prefix
bryanchriswhite Feb 6, 2024
15ea3e8
[SDK Migration] Switch to celestia-da, bump rollkit, fix CI (#367)
okdas Feb 9, 2024
f2b2b85
chore: add `proto_clean_pulsar` make target
bryanchriswhite Feb 12, 2024
54e49b7
scaffold & reconcile: all modules
bryanchriswhite Feb 12, 2024
2ff5aeb
restore: pkg/*
bryanchriswhite Feb 16, 2024
3aea3f7
restore: e2e/*
bryanchriswhite Feb 16, 2024
f7b2187
restore: docusaurus
bryanchriswhite Feb 16, 2024
988f7f9
restore: off-chain testutil pkgs
bryanchriswhite Feb 16, 2024
70be125
restore: off-chain mock pkgs
bryanchriswhite Feb 16, 2024
fccef78
reconcile: off-chain proto types
bryanchriswhite Feb 16, 2024
dc13057
reconcile: off-chain & E2E with supplier/proof module split
bryanchriswhite Feb 16, 2024
50f9142
fix: encoding config depinject
bryanchriswhite Feb 16, 2024
67478be
fix: math imports
bryanchriswhite Feb 16, 2024
3248d32
reconcile: off-chain v0.50 breaking changes
bryanchriswhite Feb 16, 2024
009e2e7
fix: off-chain testutils
bryanchriswhite Feb 16, 2024
7948546
fix: localnet
bryanchriswhite Feb 16, 2024
7b3f6a2
chore: update go.mod
bryanchriswhite Feb 16, 2024
0aed7ae
chore: update openapi.yml
bryanchriswhite Feb 16, 2024
c966501
reconcile: add off-chain commands
red-0ne Feb 17, 2024
7407141
fix: block unmarshalling using upstream types
red-0ne Feb 17, 2024
22fb716
fix: add chain-id flag
red-0ne Feb 18, 2024
39da225
reconcile: Adapt transaction results
red-0ne Feb 18, 2024
6d10322
fix: tx client test
red-0ne Feb 18, 2024
30627bf
chore: gateway module review improvements
bryanchriswhite Feb 21, 2024
36ad3dd
chore: service module review improvements
red-0ne Feb 20, 2024
275387a
chore: application module review improvements
bryanchriswhite Feb 21, 2024
e71f512
chore: supplier module review improvements
red-0ne Feb 20, 2024
1df7a6a
chore: session module review improvements
red-0ne Feb 18, 2024
f82e60a
chore: proof module review improvements
red-0ne Feb 18, 2024
d008f57
chore: tokenomics module review improvements
red-0ne Feb 20, 2024
d20affb
chore: off-chain review improvements
red-0ne Feb 20, 2024
4cc23fe
chore: base review improvements
red-0ne Feb 20, 2024
689123b
trigger CI
bryanchriswhite Feb 21, 2024
5ea30ac
Merge branch 'main' into migration/base-restore
Olshansk Feb 22, 2024
2b6672e
`make go_test` works but a few TODOs:
Olshansk Feb 23, 2024
be076a9
Trying to get tilt running (not yet). Two frequent commands I need to…
Olshansk Feb 23, 2024
a07fcc6
Got `tilt up` working with a few hacky workaroudns:
Olshansk Feb 23, 2024
c806df3
E2E test functioning
Olshansk Feb 23, 2024
c2a0f12
[Makefile] Check if gnu grep and sed needs to be installed on MacOS (…
okdas Feb 23, 2024
0482dc9
Removed outdated doc files
Olshansk Feb 23, 2024
e637451
Remove TODO_IN_THIS_PR after running through reviewer.py a few times
Olshansk Feb 23, 2024
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
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
# TODO_TECHDEBT: upgrade to the latest Ignite (the latest at the moment of creating a note is 0.28). Need to downgrade to fix CI pipelines. Might be done in scope of #240.
run: |
# curl https://get.ignite.com/cli! | bash
wget https://github.com/ignite/cli/releases/download/v0.27.2/ignite_0.27.2_linux_amd64.tar.gz
tar -xzf ignite_0.27.2_linux_amd64.tar.gz
wget https://github.com/ignite/cli/releases/download/v28.2.0/ignite_28.2.0_linux_amd64.tar.gz
tar -xzf ignite_28.2.0_linux_amd64.tar.gz
sudo mv ignite /usr/local/bin/ignite
ignite version

Expand All @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.10"
go-version: "1.21.6"

- name: Install CI dependencies
run: make install_ci_deps
Expand Down Expand Up @@ -103,11 +103,11 @@ jobs:
sparse-checkout: |
.github

- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v1"
with:
credentials_json: '${{ secrets.GKE_PROTOCOL_US_CENTRAL }}'
credentials_json: "${{ secrets.GKE_PROTOCOL_US_CENTRAL }}"

- uses: google-github-actions/get-gke-credentials@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ jobs:
reporter: github-check
level: warning
locale: "US"

# TODO_IMPROVE: Enforce using k.Logger() when logging in the `x/` directory code.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
# TODO_TECHDEBT: upgrade to the latest Ignite (the latest at the moment of creating a note is 0.28). Need to downgrade to fix CI pipelines. Might be done in scope of #240.
run: |
# curl https://get.ignite.com/cli! | bash
wget https://github.com/ignite/cli/releases/download/v0.27.2/ignite_0.27.2_linux_amd64.tar.gz
tar -xzf ignite_0.27.2_linux_amd64.tar.gz
wget https://github.com/ignite/cli/releases/download/v28.2.0/ignite_28.2.0_linux_amd64.tar.gz
tar -xzf ignite_28.2.0_linux_amd64.tar.gz
sudo mv ignite /usr/local/bin/ignite
ignite version

Expand All @@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.10"
go-version: "1.21.6"

- name: Install CI dependencies
run: make install_ci_deps
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ localnet/*/config/*.json
# Frontend utils
ts-client/

# Proto artifacts
**/*.pb.go
**/*.pb.gw.go

# Mock
**/*_mock.go

Expand All @@ -64,6 +60,10 @@ localnet_config.yaml
# `docusaurus/docs/infrastructure/localnet.md`, please do!
# Ref: https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux
localnet_config.yaml-e
# These are needed to ignore byproducts of `make proto_fix_self_import`
# Since sed functions different on macOS and Linux, we need to implement
# some workarounds by always using "sed -i'' -e" instead of just "sed -i -e".
api/poktroll/**/*.go-E

# Relase artifacts produced by `ignite chain build --release`
release
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Run `asdf plugin add golang` and `asdf install` to install the dependencies,
# and `asdf current` to switch to the versions of dependencies listed below
golang 1.20.10
go 1.20.10
golang 1.21.6
go 1.21.6
6 changes: 3 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This Dockerfile is used to build container image for development purposes.
# It intentionally contains no security features, ships with code and troubleshooting tools.

FROM golang:1.20 as base
FROM golang:1.21.6 as base

RUN apt update && \
apt-get install -y \
ca-certificates net-tools kubernetes-client \
curl jq make vim less dnsutils
ca-certificates net-tools kubernetes-client \
curl jq make vim less dnsutils

# enable faster module downloading.
ENV GOPROXY https://proxy.golang.org
Expand Down
Loading
Loading