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

feat: Apply wasmd v0.29.1 #5

Merged
merged 151 commits into from
Jan 30, 2023
Merged

Conversation

zemyblue
Copy link
Member

@zemyblue zemyblue commented Jan 15, 2023

Description

refers: #4

  • bump up wasmd from v0.27.0 to v0.29.1. full changelogs
  • replace line/lbm-sdk/x/ibc to line/ibc-go v3.3.1

Motivation and context

Bump up wasmd v0.29.1 to apply wasmvm v1.1.1 and cosmwasm v1.1.9.

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

dependabot bot and others added 30 commits May 12, 2022 08:12
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](spf13/cast@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
* Publish protobufs on release tags

* Fix regex to match also rc versions
…ithub.com/prometheus/client_golang-1.12.2

Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
* Fix wasm simulations + make functions compatible with tgrade

* Fix lint issues

* Fix simulation setup

* Make simulations store msg pass

* Use default values params to make operations succeed

* Normalize wasm store

* Add simulations to circleci config

* Run simulation in temp dir

* Store sim logs

* Increase circleci machine type

* Extract reflect contract api into helper

* Add execute msg to simulations

* Embed refect wasm contract

Co-authored-by: Pino' Surace <[email protected]>
feat: setup and run script in dockerfile
…ithub.com/spf13/cast-1.5.0

Bump github.com/spf13/cast from 1.4.1 to 1.5.0
Remove unused NegotiateAppVersion ibc callback
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ithub.com/stretchr/testify-1.7.2

Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…ithub.com/stretchr/testify-1.8.0

Bump github.com/stretchr/testify from 1.7.2 to 1.8.0
Output events are not part of consensus and can be non-deterministic
* wasmd_v0.29.1: (94 commits)
  fix test.
  fix test.
  update cosmos-sdk to v45.9, add dragonberry.
  Changelog updates (CosmWasm#1024)
  Validate incoming messages
  Add dependencies for protobuf and remove third_party forlder (CosmWasm#1030)
  Bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 (CosmWasm#1006)
  Add check version wasm (CosmWasm#1029)
  Make SenderPrivKey field public
  Bump actions/checkout from 3.0.2 to 3.1.0
  Revert module version to 1 as there is no migration
  Doc ante handler
  Fix: typos
  Changelog for v0.29.0-rc1 (CosmWasm#1018)
  Implement improvements to new address generation (CosmWasm#1014)
  Prune vesting accounts balances (CosmWasm#1003)
  Bump github.com/cosmos/ibc-go/v3 from 3.2.0 to 3.3.0
  Fix path to proofs in protos
  Upgrade .a files to 1.1.1
  Bump wasmvm to 1.1.1
  ...

# Conflicts:
#	.circleci/config.yml
#	.github/workflows/proto-buf-publisher.yml
#	CHANGELOG.md
#	Dockerfile
#	Makefile
#	README.md
#	app/app.go
#	app/app_test.go
#	app/export.go
#	app/sim_test.go
#	app/test_helpers.go
#	go.mod
#	go.sum
#	scripts/protocgen.sh
#	third_party/proto/cosmos/base/query/v1beta1/pagination.proto
#	third_party/proto/cosmos/base/v1beta1/coin.proto
#	third_party/proto/tendermint/blockchain/types.pb.go
#	third_party/proto/tendermint/consensus/types.pb.go
#	third_party/proto/tendermint/consensus/wal.pb.go
#	third_party/proto/tendermint/p2p/conn.pb.go
#	third_party/proto/tendermint/privval/types.pb.go
#	third_party/proto/tendermint/state/types.pb.go
#	third_party/proto/tendermint/types/types.pb.go
#	third_party/proto/tendermint/types/validator.pb.go
#	x/wasm/alias.go
#	x/wasm/client/cli/genesis_msg.go
#	x/wasm/client/cli/genesis_msg_test.go
#	x/wasm/client/cli/query.go
#	x/wasm/client/cli/tx.go
#	x/wasm/client/rest/gov.go
#	x/wasm/handler.go
#	x/wasm/ibctesting/chain.go
#	x/wasm/ibctesting/wasm.go
#	x/wasm/ioutils/ioutil_test.go
#	x/wasm/ioutils/utils_test.go
#	x/wasm/keeper/authz_policy.go
#	x/wasm/keeper/bench_test.go
#	x/wasm/keeper/contract_keeper.go
#	x/wasm/keeper/gas_register.go
#	x/wasm/keeper/gas_register_test.go
#	x/wasm/keeper/genesis_test.go
#	x/wasm/keeper/ibc_test.go
#	x/wasm/keeper/keeper.go
#	x/wasm/keeper/keeper_test.go
#	x/wasm/keeper/legacy_querier_test.go
#	x/wasm/keeper/msg_server.go
#	x/wasm/keeper/options.go
#	x/wasm/keeper/options_test.go
#	x/wasm/keeper/proposal_handler.go
#	x/wasm/keeper/proposal_integration_test.go
#	x/wasm/keeper/querier.go
#	x/wasm/keeper/querier_test.go
#	x/wasm/keeper/recurse_test.go
#	x/wasm/keeper/reflect_test.go
#	x/wasm/keeper/relay_test.go
#	x/wasm/keeper/staking_test.go
#	x/wasm/keeper/submsg_test.go
#	x/wasm/keeper/test_common.go
#	x/wasm/keeper/testdata/reflect.go
#	x/wasm/keeper/testdata/reflect.wasm
#	x/wasm/keeper/wasmtesting/coin_transferrer.go
#	x/wasm/keeper/wasmtesting/gas_register.go
#	x/wasm/module.go
#	x/wasm/module_test.go
#	x/wasm/simulation/genesis.go
#	x/wasm/simulation/operations.go
#	x/wasm/simulation/params.go
#	x/wasm/types/codec.go
#	x/wasm/types/events.go
#	x/wasm/types/exported_keepers.go
#	x/wasm/types/genesis.pb.go
#	x/wasm/types/iavl_range_test.go
#	x/wasm/types/ibc.pb.go
#	x/wasm/types/params.go
#	x/wasm/types/proposal.pb.go
#	x/wasm/types/query.pb.go
#	x/wasm/types/query.pb.gw.go
#	x/wasm/types/tx.pb.go
#	x/wasm/types/types.pb.go
@zemyblue zemyblue self-assigned this Jan 15, 2023
@zemyblue zemyblue marked this pull request as draft January 15, 2023 06:17
@codecov
Copy link

codecov bot commented Jan 15, 2023

Codecov Report

Merging #5 (216d9c6) into main (cae21ec) will decrease coverage by 1.98%.
The diff coverage is 68.91%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   60.89%   58.92%   -1.98%     
==========================================
  Files          62       63       +1     
  Lines        8405     9002     +597     
==========================================
+ Hits         5118     5304     +186     
- Misses       2989     3394     +405     
- Partials      298      304       +6     
Impacted Files Coverage Δ
app/ante.go 56.09% <ø> (ø)
app/test_access.go 0.00% <0.00%> (ø)
app/test_helpers.go 0.64% <0.00%> (-0.04%) ⬇️
x/wasm/client/cli/genesis_msg.go 68.89% <ø> (-0.43%) ⬇️
x/wasm/client/cli/gov_tx.go 5.38% <ø> (+5.38%) ⬆️
x/wasm/client/cli/query.go 86.49% <ø> (-6.95%) ⬇️
x/wasm/client/cli/tx.go 23.21% <ø> (+7.11%) ⬆️
x/wasm/handler.go 65.38% <ø> (-2.62%) ⬇️
x/wasm/ibc.go 8.79% <ø> (-55.89%) ⬇️
x/wasm/ioutils/ioutil.go 83.33% <ø> (-16.67%) ⬇️
... and 60 more

@zemyblue
Copy link
Member Author

I am waiting for ibc-go v3.3.0 to apply to line/ibc-go.

@zemyblue zemyblue force-pushed the apply_wasmd_v0.29.1 branch from 8c16405 to e080fb0 Compare January 26, 2023 13:22
@zemyblue zemyblue marked this pull request as ready for review January 26, 2023 13:46
@tkxkd0159
Copy link
Member

.github/workflows/proto-buf-publisher.yml seems empty. Does it need to add in this PR?

@zemyblue
Copy link
Member Author

.github/workflows/proto-buf-publisher.yml seems empty. Does it need to add in this PR?

We don't need it. But It looks like it was added during the merge process. I'll remove it.

Copy link
Member

@tkxkd0159 tkxkd0159 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zemyblue
Copy link
Member Author

CI error is due to a decrease in coverage percent of Covercov. This is because the coverage of the code that was versioned up in origin was reduced. Please ignore it and review it.

Copy link

@shiki-tak shiki-tak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

#!/bin/sh

./setup_wasmd.sh "$@"
./run_wasmd.sh

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: No newline at end of file

plugins:
- name: doc
out: ../docs/proto
opt: ../docs/proto/protodoc-markdown.tmpl,proto-docs.md

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: No newline at end of file

opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types
- name: grpc-gateway
out: ..
opt: logtostderr=true,allow_colon_final_segments=true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: No newline at end of file

@zemyblue zemyblue merged commit 51dd725 into Finschia:main Jan 30, 2023
@zemyblue zemyblue mentioned this pull request Mar 28, 2023
@zemyblue zemyblue deleted the apply_wasmd_v0.29.1 branch April 2, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.