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

v0.4.0 release #5

Merged
merged 29 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
edb742e
update cosmos-sdk to v0.45.16
niilptr Oct 7, 2024
46bca9f
upgrade wasmd to v0.33.0
niilptr Oct 7, 2024
66b1a00
fix: remove replace that blocked wasmd v0.33.0
niilptr Oct 7, 2024
b930926
upgrade ibc-go to v4.3.0
niilptr Oct 8, 2024
01dcb9d
downgrade wasmd to v0.31.0
niilptr Oct 8, 2024
108fdde
remove wasm genesis cli commands
niilptr Oct 8, 2024
3754bc5
fix app.go to use new wasmd and ibc-go versions
niilptr Oct 8, 2024
cd04a45
dont use ignite to generate the root cmd
niilptr Oct 9, 2024
aaca2b8
regenerate pb.go
niilptr Oct 9, 2024
810cb5d
update gogoproto
niilptr Oct 9, 2024
95a0a95
use docker image to run proto-gen
niilptr Oct 10, 2024
48b4749
regenerate proto go
niilptr Oct 10, 2024
a4e6f18
upgrade wasmd to v0.33.0
niilptr Oct 10, 2024
4e3b4be
specify commits for buf deps
niilptr Oct 15, 2024
995f824
update make proto-gen
niilptr Oct 15, 2024
d51f83a
test: update nft_item proto
niilptr Oct 15, 2024
8686be8
redefine the proto package to end up with the previous firmachain.fir…
niilptr Oct 15, 2024
54dde17
add v04 upgrade handler
niilptr Oct 16, 2024
670f38a
Merge pull request #2 from kintsugi-tech/kintsugi/minor-version-upgrade
haryunio Oct 22, 2024
816e9d9
fix: remove old upgradehandler and upgradestoreloader
haryunio Oct 22, 2024
e3cfeab
misc: use upgrade name v0.4.0 and restore unused imports
haryunio Oct 22, 2024
c5413e0
Merge pull request #3 from FirmaChain/develop/v0.4.0
haryunio Oct 22, 2024
5e7ca1d
docs: update readme including v0.4.0 requirements
haryunio Nov 5, 2024
4d1967e
docs: update readme
haryunio Nov 19, 2024
c146fbb
Merge pull request #4 from FirmaChain/v0.4.0-develop
haryunio Nov 19, 2024
c261e5e
fix: use go 1.21 on CI
haryunio Nov 19, 2024
9a209e1
fix: use codecov v4
haryunio Nov 20, 2024
14420ad
fix: apply github repo secrets Codecov token
haryunio Nov 20, 2024
22338e7
fix: use codecov v3 and go optional
haryunio Nov 20, 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
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.21

- name: Build
run: go build -v ./...
Expand All @@ -31,7 +31,10 @@ jobs:
uses: golangci/[email protected]

- name: codecov-action
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.txt
fail_ci_if_error: true # optional (default = false)
fail_ci_if_error: false # optional (default = false)

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ EXPOSE 1317 9090 26656 26657

# Run firmachind by default
# ex) docker run firmachain
CMD ["/usr/local/bin/firmachaind"]
CMD ["/usr/local/bin/firmachaind"]
9 changes: 9 additions & 0 deletions Dockerfile.proto-gen
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM tendermintdev/sdk-proto-gen:v0.7

ENV GOLANG_VERSION=1.21.0
ENV PATH=/usr/local/go/bin:$PATH

RUN wget -q "https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz" && \
tar -C /usr/local -xzf "go${GOLANG_VERSION}.linux-amd64.tar.gz" && \
rm "go${GOLANG_VERSION}.linux-amd64.tar.gz" && \
go version
29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,32 @@ go.sum: go.mod

test:
@go test -mod=readonly $(PACKAGES)

###############################################################################
### Proto ###
###############################################################################

# Variables for the image and version
protoVer=v0.7
protoImageName=tendermintdev/sdk-proto-gen-go-1.21-image
GOLANG_VERSION=1.21.0
containerProtoGen=firmachain-proto-gen-$(protoVer)-go-${GOLANG_VERSION}

# Target to build the image if it doesn't exist
build-proto-image:
@if [ -z "$$(docker images -q $(protoImageName))" ]; then \
echo "Building Docker image with Go $(GOLANG_VERSION)..."; \
docker build -t $(protoImageName) -f Dockerfile.proto-gen .; \
else \
echo "Image $(protoImageName) already exists."; \
fi

# Generate Protobuf files using the image
proto-gen: build-proto-image
@echo "Generating Protobuf files..."
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then \
docker start -a $(containerProtoGen); \
else \
docker run --name $(containerProtoGen) -v $(CURDIR):/firmachain --workdir /firmachain $(protoImageName) \
sh ./scripts/protocgen.sh; \
fi
Loading
Loading