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

Changes since latest mainnet release #62

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e4ea78b
add stars airdrop command
go7066 Oct 24, 2022
e84c4d6
resolve double airdrop allocation
go7066 Oct 24, 2022
c0c2a8b
add airdrop module account query
go7066 Oct 24, 2022
caa8970
update script for further stars allocation
go7066 Nov 7, 2022
855b3e8
Cosmwasm state sync support
effofxprime Nov 12, 2022
e10a2ea
Merge pull request #56 from effofxprime/cosmwasm-statesync
go7066 Nov 17, 2022
f6d991c
in progress codebase for intertx
go7066 Nov 18, 2022
a2b7774
Merge branch 'main' of github.com:NXTPOP/teritori-chain into ica_cont…
go7066 Nov 22, 2022
9729c30
- Resolve intertx package import issue
go7066 Nov 22, 2022
e4f7274
- Resolve interface for teritori app to be compatible with IBC test app
go7066 Nov 23, 2022
d00ac4c
Write upgrade handler for v140 for ica controller params
go7066 Nov 24, 2022
b80c07a
update upgrade test script
go7066 Nov 30, 2022
f3d921f
add test configuration for relayers and network setup
go7066 Dec 1, 2022
035d6d2
add ibc test result
go7066 Dec 2, 2022
09c8603
Merge pull request #57 from TERITORI/ica_controller
go7066 Dec 2, 2022
14bc8ba
add prune command
go7066 Dec 8, 2022
54af981
Merge branch 'main' of github.com:NXTPOP/teritori-chain
go7066 Dec 8, 2022
54c32c6
Update README.md
omniwired Dec 21, 2022
d20bb5d
Merge pull request #63 from omniwired/patch-1
zdeadex Dec 22, 2022
d4e2027
remove vesting delegation preventor
go7066 Feb 6, 2023
13752ae
add upgrade handler for v1.3.1
go7066 Feb 6, 2023
0801739
add richest snapshot script
go7066 May 22, 2023
adf8b2b
Create msg endpoint for burn message
go7066 May 22, 2023
4dbf138
implement changes for burn tokens endpoint
go7066 May 22, 2023
b5be794
register mint module msg interface & test burn token feature with cli
go7066 May 23, 2023
d4707da
Merge branch 'enable_vesting_delegation' of github.com:NXTPOP/teritor…
go7066 May 23, 2023
d0c6505
v140 upgrade test
go7066 May 24, 2023
e08216d
Merge pull request #69 from TERITORI/v140_upgrade
go7066 May 29, 2023
01f60ec
resolve build error on v131 upgrade handler
go7066 May 29, 2023
34d6252
update for go mod
go7066 Nov 20, 2023
da85689
update on build issue fix
go7066 Nov 21, 2023
dac7aa2
Resolve AccountKeeper, BankKeeper, AuthzKeeper, StakingKeeper, Slashi…
go7066 Nov 22, 2023
d5a0d98
Add IBCFeeKeeper and use it on IBC keepers & Update ExportAppStateAnd…
go7066 Nov 22, 2023
18db455
update on fixing build issues
go7066 Nov 24, 2023
677b86c
Resolve undefined: types.Pallas issue
go7066 Nov 28, 2023
8d7e925
protobuf update and panic fixes
go7066 Nov 30, 2023
d1ccfb4
unit test fixes
go7066 Dec 5, 2023
6c5cdf6
resolve node start issue
go7066 Dec 6, 2023
dab0f48
Upgrade Cosmos sdk version from v0.47.5 to v0.47.6
go7066 Dec 6, 2023
3f7f8e9
add groups module
go7066 Dec 6, 2023
fba9666
Add TotalBurntAmount calculator on BurnTokens tx
go7066 Dec 11, 2023
59f2134
add more queries and basic upgrade handler
go7066 Dec 15, 2023
6290191
add one more item to check
go7066 Dec 15, 2023
056de35
resolve issues in upgrade test
go7066 Dec 29, 2023
6234488
feat: teritori-test-4
n0izn0iz Jan 3, 2024
f9e7734
chore: CI
n0izn0iz Jan 4, 2024
b72093d
fix: add wasm module account (#75)
go7066 Jan 5, 2024
f0a774e
feat: teritori-test-5 (#77)
n0izn0iz Jan 5, 2024
1c560ae
Merge branch 'main' of github.com:NXTPOP/teritori-chain into sdk_upgrade
go7066 Jan 10, 2024
182d8d7
upgrade wasmvm version to v1.3.1 for patch
go7066 Jan 10, 2024
959eaad
resolve unit tests
go7066 Jan 11, 2024
41d398c
update total burnt amount to correct amount
go7066 Jan 11, 2024
d7e89c5
Merge pull request #72 from TERITORI/sdk_upgrade
go7066 Jan 11, 2024
401e458
fix: docker build (#78)
n0izn0iz Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Gather info
id: info
run: echo "tags=$(git describe --tags || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
push: false
platforms: linux/amd64
tags: rg.nl-ams.scw.cloud/teritori/teritorid:${{ steps.info.outputs.tags }}
32 changes: 32 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Go

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
with:
go-version: "1.19"

- name: Tidy go.mod
run: go mod tidy

- name: Check diff
run: git diff --exit-code

- name: Build
run: make build

- name: Test
run: make test

- name: Check diff
run: git diff --exit-code
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.csv
*.json
*.zip
testnetv2
data
*.txt
48 changes: 48 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# docker build . -t rg.nl-ams.scw.cloud/teritori/teritorid:latest
# docker run --rm -it rg.nl-ams.scw.cloud/teritori/teritorid:latest /bin/sh
FROM golang:1.21-alpine3.17 AS go-builder
ARG arch=x86_64

# this comes from standard alpine nightly file
# https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile
# with some changes to support our toolchain, etc
RUN set -eux; apk add --no-cache ca-certificates build-base;

RUN apk add git
# NOTE: add these to run with LEDGER_ENABLED=true
# RUN apk add libusb-dev linux-headers

WORKDIR /code
COPY . /code/
# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep b89c242ffe2c867267621a6469f07ab70fc204091809d9c6f482c3fdf9293830
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep c0f4614d0835be78ac8f3d647a70ccd7ed9f48632bc1374db04e4df2245cb467

# Copy the library you want to the final location that will be found by the linker flag `-lwasmvm_muslc`
RUN cp /lib/libwasmvm_muslc.${arch}.a /lib/libwasmvm_muslc.a

# force it to use static lib (from above) not standard libgo_cosmwasm.so file
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build
RUN echo "Ensuring binary is statically linked ..." \
&& (file /code/build/teritorid | grep "statically linked")

# --------------------------------------------------------
FROM alpine:3.17

COPY --from=go-builder /code/build/teritorid /usr/bin/teritorid

#COPY docker/* /opt/
#RUN chmod +x /opt/*.sh

WORKDIR /opt

# rest server
EXPOSE 1317
# tendermint p2p
EXPOSE 26656
# tendermint rpc
EXPOSE 26657

CMD ["/usr/bin/teritorid", "version"]
Loading