You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is my understanding the following situation is possible:
0. Osmosis mainnet has incorporated bech32ibc with "osmo" as the NativeHrp
A governance vote initiates and miraculously passes to add a HrpIbcRecord with Hrp = "osmo"
MsgSends are unaffected due to the bech32ics20 msg_server handling native transfers with the default bank handler
There are a couple avenues by which a chain could accept a confusing HrpIbcRecord containing the NativeHrp. It is important to note that the bech32ics20 current msg_server implementation would not allow an IBC transfer from the NativeHrp so this is not a critical issue.
However, the HrpIbcRecordProposalHandler should automatically fail any such proposal containing the NativeHrp to cancel any bad votes, and setHrpIbcRecord() should fail to store any such invalid proposal. The change to setHrpIbcRecord() would also cover the InitGenesis() path to this confusing state.
The text was updated successfully, but these errors were encountered:
It is my understanding the following situation is possible:
0. Osmosis mainnet has incorporated bech32ibc with "osmo" as the NativeHrp
MsgSend
s are unaffected due to the bech32ics20 msg_server handling native transfers with the default bank handlerThere are a couple avenues by which a chain could accept a confusing HrpIbcRecord containing the NativeHrp. It is important to note that the bech32ics20 current msg_server implementation would not allow an IBC transfer from the NativeHrp so this is not a critical issue.
However, the HrpIbcRecordProposalHandler should automatically fail any such proposal containing the NativeHrp to cancel any bad votes, and
setHrpIbcRecord()
should fail to store any such invalid proposal. The change tosetHrpIbcRecord()
would also cover theInitGenesis()
path to this confusing state.The text was updated successfully, but these errors were encountered: