gov/v1
Philipp-Sc opened this issue · comments
Philipp commented
Hi,
is there a reason gov/v1 is not available as export?
/// Messages and services handling governance
pub mod gov {
pub mod v1beta1 {
include!("prost/cosmos-sdk/cosmos.gov.v1beta1.rs");
}
}
I want to use the newer gov/v1 instead of gov/v1beta, since I get the following error quite often when querying for proposals.
codespace sdk code 29: invalid type: can't convert a gov/v1 Proposal to gov/v1beta1 Proposal when amount of proposal messages is more than one
Philipp commented
It looks like gov/v1 is expected to have replaced gov/v1beta1, the existing conversion hack makes it possible for most proposals to be backwards compatible.
Tony Arcieri (iqlusion) commented
Added in #437