Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows configuring if arbitrary messages should be disabled while the chain is not interchain-secured at built time.
The build tag "skip_ccv_msg_filter" being set to true disables message filtering for the test environment.
Passing tests show that disabling works properly (in the other case tests wouldn't pass).
To test if messages are filtered if the option is "false" or not even present in the config do the following:
Makefile
(build_tags_test_binary += skip_ccv_msg_filter
)make start
neutrond tx bank send demowallet1 neutron1suhgf5svhu4usrurvxzlgn54ksxmn8gljarjtxqnapv8kjnp4nrstdxvff 1untrn --fees 125000untrn --keyring-backend test --home data/test-1 --chain-id test-1 -y -b block
It should fail with
raw_log: tx contains unsupported message types at height
in the output.Copy of #227