Skip to content

Commit

Permalink
node: terra stopped b64 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel authored and evan-gray committed Jun 4, 2024
1 parent dc5e87f commit d5fd72b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/pkg/watchers/cosmwasm/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ func NewWatcher(
latestBlockURL := "cosmos/base/tendermint/v1beta1/blocks/latest"

// Injective does not base64 encode parameters (as of release v1.11.2).
// Terra does not base64 encode parameters (as of v3.0.1 software upgrade)
// Terra2 no longer base64 encodes parameters.
b64Encoded := env == common.UnsafeDevNet || (chainID != vaa.ChainIDInjective && chainID != vaa.ChainIDTerra2)
b64Encoded := env == common.UnsafeDevNet || (chainID != vaa.ChainIDInjective && chainID != vaa.ChainIDTerra2 && chainID != vaa.ChainIDTerra)

return &Watcher{
urlWS: urlWS,
Expand Down

0 comments on commit d5fd72b

Please sign in to comment.