-
Notifications
You must be signed in to change notification settings - Fork 39
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
Replace cometbft v0.38.9 with our own fork's v0.38.10-pio-1. #2087
Conversation
WalkthroughThe recent updates involve transitioning dependencies to Provenance forks for better stability and enhancements. Specifically, the major change is shifting from Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
go.mod (1)
214-214
: Action Required: Update all references to the newwasmd
version.The replacement of
github.com/CosmWasm/wasmd
withgithub.com/provenance-io/wasmd v0.52.0-pio-1
in thego.mod
file is not fully propagated throughout the codebase. Please update the following files to reference the new version:
x/oracle/types/tx.pb.go
x/oracle/keeper/mocks_test.go
x/oracle/keeper/icq.go
x/oracle/keeper/query_server.go
x/oracle/types/query.pb.go
x/oracle/keeper/keeper.go
x/ibchooks/wasm_hook.go
x/ibchooks/keeper/keeper.go
testutil/contracts/wasm.go
internal/provwasm/message_encoders.go
internal/provwasm/simulation.go
internal/provwasm/stargate_whitelist.go
internal/provwasm/query_plugins.go
internal/antewrapper/tx_gas_limit_decorator_test.go
app/sim_test.go
app/pio_message_router.go
app/app.go
cmd/provenanced/cmd/root_test.go
Ensure all usages are compatible with
github.com/provenance-io/wasmd v0.52.0-pio-1
.Analysis chain
LGTM! Verify the usage of the new
wasmd
version.The replacement of
github.com/CosmWasm/wasmd
withgithub.com/provenance-io/wasmd v0.52.0-pio-1
is approved.However, ensure that all usages of
wasmd
are compatible with the new version.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all usages of `wasmd` are compatible with the new version. # Test: Search for the usage of `wasmd`. Expect: Only compatible usages. rg --type go -A 5 $'wasmd'Length of output: 11399
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
go.sum
is excluded by!**/*.sum
Files selected for processing (2)
- CHANGELOG.md (1 hunks)
- go.mod (2 hunks)
Files skipped from review due to trivial changes (1)
- CHANGELOG.md
Additional comments not posted (2)
go.mod (2)
216-216
: LGTM! Verify the usage of the newcometbft
version.The replacement of
github.com/cometbft/cometbft
withgithub.com/provenance-io/cometbft-pio v0.38.10-pio-1
is approved.However, ensure that all usages of
cometbft
are compatible with the new version.Verification successful
The replacement of
github.com/cometbft/cometbft
withgithub.com/provenance-io/cometbft-pio
has been successfully completed across the codebase.All instances have been updated appropriately.
- Verified files:
x/trigger/types/trigger.go
x/trigger/types/trigger_test.go
x/trigger/client/cli/cli_test.go
x/trigger/keeper/keeper_test.go
x/trigger/module/module.go
x/quarantine/send_restriction_test.go
x/quarantine/keeper/keeper_test.go
x/quarantine/module/module.go
x/sanction/simulation/operations_test.go
x/name/module.go
x/oracle/keeper/relay.go
x/oracle/module/module.go
x/oracle/keeper/keeper_test.go
x/oracle/keeper/relay_test.go
x/oracle/keeper/icq.go
x/quarantine/client/cli/util.go
x/quarantine/client/testutil/query_test.go
x/quarantine/client/testutil/tx_test.go
x/marker/types/key.go
x/marker/types/send_restrictions_test.go
x/ibcratelimit/module/module.go
x/ibchooks/module.go
x/metadata/module.go
x/msgfees/keeper/params_test.go
x/msgfees/keeper/keeper_test.go
x/ibchooks/keeper/msg_server_test.go
x/metadata/client/cli/cli_test.go
x/ibchooks/client/cli/cli_test.go
x/marker/client/cli/cli_test.go
x/hold/keeper/grpc_query.go
internal/handlers/aggregate_events.go
internal/handlers/msg_service_router_test.go
internal/handlers/bank_send_restriction_test.go
internal/handlers/aggregate_events_test.go
cmd/provenanced/config/manager.go
cmd/provenanced/cmd/init.go
cmd/provenanced/cmd/root.go
cmd/provenanced/cmd/pre_upgrade_test.go
cmd/provenanced/config/manager_test.go
cmd/provenanced/cmd/testnet.go
app/app_test.go
app/app.go
app/sim_bench_test.go
app/export.go
app/test_helpers.go
app/upgrades_test.go
app/sim_test.go
app/group_test.go
third_party/proto/tendermint/version/types.proto
third_party/proto/cosmwasm/wasm/v1/types.proto
third_party/proto/cosmwasm/wasm/v1/query.proto
third_party/proto/tendermint/consensus/types.proto
third_party/proto/tendermint/consensus/wal.proto
third_party/proto/tendermint/privval/types.proto
third_party/proto/tendermint/statesync/types.proto
third_party/proto/tendermint/types/evidence.proto
third_party/proto/tendermint/state/types.proto
third_party/proto/tendermint/types/validator.proto
third_party/proto/tendermint/store/types.proto
third_party/proto/tendermint/types/types.proto
third_party/proto/tendermint/rpc/grpc/types.proto
third_party/proto/tendermint/types/canonical.proto
third_party/proto/tendermint/types/params.proto
third_party/proto/ibc/lightclients/tendermint/v1/tendermint.proto
third_party/proto/tendermint/types/events.proto
third_party/proto/tendermint/types/block.proto
third_party/proto/tendermint/p2p/conn.proto
third_party/proto/tendermint/p2p/types.proto
third_party/proto/tendermint/mempool/types.proto
third_party/proto/tendermint/crypto/keys.proto
third_party/proto/tendermint/blocksync/types.proto
third_party/proto/tendermint/abci/types.proto
third_party/proto/tendermint/libs/bits/types.proto
third_party/proto/tendermint/p2p/pex.proto
third_party/proto/tendermint/crypto/proof.proto
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all usages of `cometbft` are compatible with the new version. # Test: Search for the usage of `cometbft`. Expect: Only compatible usages. rg --type go -A 5 $'cometbft'Length of output: 57811
Script:
#!/bin/bash # Description: Replace all occurrences of `github.com/cometbft/cometbft` with `github.com/provenance-io/cometbft-pio` # Find all Go files and replace occurrences. rg --files-with-matches 'github.com/cometbft/cometbft' | xargs sed -i 's|github.com/cometbft/cometbft|github.com/provenance-io/cometbft-pio|g' # Verify the replacement rg 'github.com/provenance-io/cometbft-pio'Length of output: 16626
217-217
: LGTM! Verify the usage of the newcosmos-sdk
version.The replacement of
github.com/cosmos/cosmos-sdk
withgithub.com/provenance-io/cosmos-sdk v0.50.7-pio-1
is approved.However, ensure that all usages of
cosmos-sdk
are compatible with the new version.
* Replace cometbft v0.38.9 with our own fork's v0.38.10-pio-1. * Add changelog entry.
Description
Bump cometbft to
v0.38.10-pio-1
(fromv0.38.9
).This has the fixed block-results query. We're using our own fork for this because cometbft hasn't tagged a version with the fix yet, and we need it now.
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passesSummary by CodeRabbit
cometbft
updated to v0.38.10-pio-1wasmd
replaced with v0.52.0-pio-1cosmos-sdk
replaced with v0.50.7-pio-1go-buffer-pool
.