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

Fix fee check for simulate mode #235

Merged
merged 2 commits into from
May 2, 2023
Merged

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented May 2, 2023

Describe your changes and provide context

We check if the provided fee meets validators' minimum limit in CheckTx to prevent spamming, but simulate also uses CheckTx's state, and since simulate is run with gas limit set to auto, the check here shouldn't apply.

Testing performed to validate your change

tested with unit test in sei-chain

@codchen codchen force-pushed the tony-chen-fix-simulation branch from fd0c862 to bcb6e9a Compare May 2, 2023 09:33
Copy link
Contributor

@philipsu522 philipsu522 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@besated tested and verified. merging

@philipsu522 philipsu522 enabled auto-merge (squash) May 2, 2023 18:33
@philipsu522 philipsu522 merged commit 34849db into main May 2, 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.

2 participants