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

Problem: sdk 47 is not integrated #1023

Merged
merged 79 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
a7c0242
Problem: sdk 47 is not integrated
yihuang Dec 28, 2023
3034013
Update CHANGELOG.md
yihuang Dec 28, 2023
b4da78c
fix test
yihuang Dec 28, 2023
2e43500
fix test
yihuang Dec 29, 2023
38be807
fix build
mmsqe Dec 29, 2023
a63ad87
fix config
mmsqe Dec 29, 2023
d4e60c7
update pystarport
mmsqe Dec 29, 2023
0bc8f21
fix proto
mmsqe Dec 29, 2023
6540fdd
fix sync
mmsqe Dec 29, 2023
a6b3313
fix basic
mmsqe Dec 29, 2023
a09260e
fix fee_payer
mmsqe Dec 29, 2023
93cfde8
fix feegrant
mmsqe Dec 29, 2023
6634155
fix rocksdb
mmsqe Dec 29, 2023
a640a9c
fix group
mmsqe Dec 29, 2023
e00c1de
fix ledger
mmsqe Dec 29, 2023
5153266
fix ibctm
mmsqe Jul 25, 2023
9afd600
fix solomachine
mmsqe Jul 25, 2023
ffb00b7
fix transfer
mmsqe Dec 29, 2023
d00873e
fix slash
mmsqe Dec 29, 2023
52c58de
fix staking
mmsqe Dec 29, 2023
017780c
fix authz
mmsqe Jan 1, 2024
d916416
fix offline
mmsqe Jan 1, 2024
ef7485f
fix gov
mmsqe Jan 1, 2024
5dfab53
fix gov_propose_legacy
mmsqe Jan 1, 2024
0cc9e37
update hermes
mmsqe Jan 1, 2024
4f85fd6
fix ibc
mmsqe Jan 1, 2024
2fe2ff1
icaauth route is not registered correctly
mmsqe Jan 1, 2024
4894b47
fix app
mmsqe Jan 1, 2024
c2fde1c
fix nft
mmsqe Jan 1, 2024
059598a
fix nft transfer
mmsqe Jan 1, 2024
a46d31e
fix priority wip
mmsqe Jan 1, 2024
59daec0
fix ibc_extended
mmsqe Jan 1, 2024
124741f
pass lint
mmsqe Jan 1, 2024
f0d476b
fix lint
mmsqe Jan 2, 2024
8195edf
set mempool
mmsqe Jan 2, 2024
d8b205e
fix gov
mmsqe Jan 2, 2024
216e3a5
fix test artifacts
yihuang Jan 2, 2024
b647dbd
fix lint
mmsqe Jan 2, 2024
4e4b87a
fix upgrade
mmsqe Jan 2, 2024
f88294c
Update x/nft-transfer/keeper/relay.go
mmsqe Jan 2, 2024
92c90c5
keep gov param for upgrade
mmsqe Jan 2, 2024
87f391d
fix priority
mmsqe Jan 2, 2024
4c67da1
fix upgrade
mmsqe Jan 2, 2024
d241877
update pystarport
mmsqe Jan 3, 2024
67f1970
fix chainId
mmsqe Jan 3, 2024
c1daa40
fix sim
mmsqe Jan 3, 2024
e35ee59
Merge branch 'master' into sdk-47
mmsqe Jan 3, 2024
ba4b402
add aarch64-darwin
mmsqe Jan 3, 2024
9a2a475
add eventQueryTxFor nft
mmsqe Jan 3, 2024
4bbed2f
fix lint
mmsqe Jan 3, 2024
5d2a47e
fix mode
mmsqe Jan 3, 2024
51709ae
debug vesting
mmsqe Jan 3, 2024
84d2730
Merge remote-tracking branch 'origin/master' into sdk-47
mmsqe Jan 3, 2024
bee5ccb
fix create_nft
mmsqe Jan 3, 2024
eb51398
Merge remote-tracking branch 'origin/master' into sdk-47
mmsqe Jan 3, 2024
0de9fe4
fix mode
mmsqe Jan 3, 2024
78dfb02
create_nft
mmsqe Jan 3, 2024
cb800d4
update sdk
mmsqe Jan 3, 2024
703830a
update pystarport
mmsqe Jan 4, 2024
d823f1f
debug sdk47-upgrade
mmsqe Jan 3, 2024
0050a33
fix tmpdir
yihuang Jan 4, 2024
e634eb9
fix upgrade
mmsqe Jan 4, 2024
0b0f09a
update pystarport
mmsqe Jan 5, 2024
b1f8504
wait less
mmsqe Jan 5, 2024
f0e34b2
migrate ICS27 channel capability
mmsqe Jan 12, 2024
e228e42
bump ibc-go
mmsqe Jan 12, 2024
0a39b37
cleanup ica test
mmsqe Jan 16, 2024
18e1265
test cb error
mmsqe Jan 16, 2024
9d6ec50
Merge branch 'master' into sdk-47
yihuang Feb 16, 2024
9fd2de3
Merge branch 'master' into sdk-47
mmsqe Feb 23, 2024
1559ea0
update solo
mmsqe Feb 23, 2024
1005cd8
cleanup
mmsqe Feb 23, 2024
3c79ad9
fix lint
mmsqe Feb 23, 2024
2af4336
Merge remote-tracking branch 'origin/master' into sdk-47
mmsqe Feb 23, 2024
8032698
Apply suggestions from code review
mmsqe Feb 26, 2024
f684c8b
Apply suggestions from code review
mmsqe Feb 26, 2024
fc6de57
Update nix/rocksdb.nix
mmsqe Feb 26, 2024
0bdbfca
Update nix/rocksdb.nix
mmsqe Feb 26, 2024
4a273d1
fix version
mmsqe Feb 26, 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
16 changes: 8 additions & 8 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
flags: integration_tests_upgrade
- name: Tar debug files
if: failure()
run: tar cfz debug_files_upgrade.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_upgrade.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
flags: integration_tests_ledger
- name: Tar debug files
if: failure()
run: tar cfz debug_files_ledger.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_ledger.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
flags: integration_tests_solomachine
- name: Tar debug files
if: failure()
run: tar cfz debug_files_solomachine.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_solomachine.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
flags: integration_tests_slow
- name: Tar debug files
if: failure()
run: tar cfz debug_files_slow.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_slow.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
flags: integration_tests_ibc
- name: Tar debug files
if: failure()
run: tar cfz debug_files_ibc.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_ibc.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
flags: integration_tests_byzantine
- name: Tar debug files
if: failure()
run: tar cfz debug_files_byzantine.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_byzantine.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
flags: integration_tests_gov
- name: Tar debug files
if: failure()
run: tar cfz debug_files_gov.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_gov.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
flags: integration_tests_grpc
- name: Tar debug files
if: failure()
run: tar cfz debug_files_grpc.tar.gz -C /tmp/pytest-of-runner .
run: tar cfz debug_files_grpc.tar.gz -C $TMPDIR/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## UNRELEASED

- [#1023](https://github.com/crypto-org-chain/chain-main/pull/1023) Integrate sdk 0.47

*Dec 6, 2023*

## v4.2.8
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GOLANG_CROSS_VERSION = v1.20.1


VERSION := $(shell echo $(shell git describe --tags 2>/dev/null ) | sed 's/^v//')
TMVERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::')
TMVERSION := $(shell go list -m github.com/cometbft/cometbft | sed 's:.* ::')
COMMIT := $(shell git log -1 --format='%H')
NETWORK ?= mainnet
COVERAGE ?= coverage.txt
Expand Down
21 changes: 11 additions & 10 deletions MakefileDoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
### Documentation ###
###############################################################################

include third_party/cosmos-sdk/contrib/devtools/Makefile
# include third_party/cosmos-sdk/contrib/devtools/Makefile

containerProtoVer=v0.7
containerProtoImage=tendermintdev/sdk-proto-gen:$(containerProtoVer)
containerProtoGen=cosmos-sdk-proto-gen-$(containerProtoVer)
containerProtoGenSwagger=cosmos-sdk-proto-gen-swagger-$(containerProtoVer)
containerProtoFmt=cosmos-sdk-proto-fmt-$(containerProtoVer)
DOCKER := $(shell which docker)
protoVer=0.11.6
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
BINDIR ?= ~/go/bin

all: update-swagger-docs
Expand All @@ -27,13 +26,15 @@ proto-swagger-gen:

proto-gen:
@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):/workspace --workdir /workspace $(containerProtoImage) \
sh ./scripts/protocgen.sh; fi
$(protoImage) sh ./scripts/protocgen.sh

proto-lint:
@echo "Linting Protobuf files"
@$(protoImage) buf lint --error-format=json

proto-format:
@echo "Formatting Protobuf files"
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoFmt}$$"; then docker start -a $(containerProtoFmt); else docker run --name $(containerProtoFmt) -v $(CURDIR):/workspace --workdir /workspace tendermintdev/docker-build-proto \
find ./ -not -path "./third_party/*" -name "*.proto" -exec clang-format -i {} \; ; fi
@$(protoImage) find ./ -not -path "./third_party/*" -name "*.proto" -exec clang-format -i {} \;

proto-all: proto-format proto-gen proto-swagger-gen

Expand Down
4 changes: 2 additions & 2 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
ibcante "github.com/cosmos/ibc-go/v5/modules/core/ante"
"github.com/cosmos/ibc-go/v5/modules/core/keeper"
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
"github.com/cosmos/ibc-go/v7/modules/core/keeper"
nfttypes "github.com/crypto-org-chain/chain-main/v4/x/nft-transfer/types"
)

Expand Down
Loading
Loading