Skip to content

Commit f516e48

Browse files
api!: rename path to merkle path for contract api json msgs (backport #6962) (#7207)
* api!: rename path to merkle path for contract api json msgs (#6962) * api!: rename path to merkle path for contract api json msgs * fix --------- Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com> (cherry picked from commit 5a6b4ae) # Conflicts: # modules/light-clients/08-wasm/CHANGELOG.md * fix conflict --------- Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
1 parent bb420a9 commit f516e48

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/light-clients/08-wasm/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Ref: https://keepachangelog.com/en/1.0.0/
4444

4545
### API Breaking
4646

47-
* [\#6644](https://github.com/cosmos/ibc-go/pull/6644) api!: add `v2.MerklePath` for contract api `VerifyMembershipMsg` and `VerifyNonMembershipMsg` structs. Note, this requires a migration for existing client contracts to correctly handle deserialization of `MerklePath.KeyPath` which has changed from `repeated string` to `repeated bytes`. In JSON message structures this change is reflected as the `KeyPath` being a marshalled as a list of base64 encoded byte strings.
4847
* [\#6937](https://github.com/cosmos/ibc-go/pull/6937) Remove `WasmConsensusHost` implementation of the `ConsensusHost` interface.
4948

5049
### State Machine Breaking

modules/light-clients/08-wasm/types/contract_api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type VerifyMembershipMsg struct {
7070
DelayTimePeriod uint64 `json:"delay_time_period"`
7171
DelayBlockPeriod uint64 `json:"delay_block_period"`
7272
Proof []byte `json:"proof"`
73-
Path commitmenttypesv2.MerklePath `json:"path"`
73+
Path commitmenttypesv2.MerklePath `json:"merkle_path"`
7474
Value []byte `json:"value"`
7575
}
7676

@@ -80,7 +80,7 @@ type VerifyNonMembershipMsg struct {
8080
DelayTimePeriod uint64 `json:"delay_time_period"`
8181
DelayBlockPeriod uint64 `json:"delay_block_period"`
8282
Proof []byte `json:"proof"`
83-
Path commitmenttypesv2.MerklePath `json:"path"`
83+
Path commitmenttypesv2.MerklePath `json:"merkle_path"`
8484
}
8585

8686
// VerifyUpgradeAndUpdateStateMsg is a sudoMsg sent to the contract to verify an upgrade and update its state.

0 commit comments

Comments
 (0)