Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary check during add-warm-message command #50

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

pr0n00gler
Copy link
Collaborator

@pr0n00gler pr0n00gler commented Apr 5, 2023

This PR removes a couple of checks during add-wam-message execute command:

  • hasContract check is useless in a case of complex contract instantiation during genesis. For example, when instantiate-contract (or execute) message populates another contract instantiation during its work. The function is not able to properly build contract address for such contract because of instance id inconsistency, that's why we decided to remove this check;
  • hasAccountBalance since it cannot properly check balance on consumer chains since there is no staking module anymore.

@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/codeql-analizer.yml:CodeQL-Build. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@zavgorodnii zavgorodnii merged commit 6e8bb5c into neutron Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants