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(gas-payment): remove check gasObtained == outTxGasFee #1304

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

lumtis
Copy link
Member

@lumtis lumtis commented Oct 16, 2023

Description

Remove the check between the two values as there are tiny differences.

The values are always mostly similar, but there are some differences in the smallest decimals that prevent the check from passing sometimes.

Differences to be investigated: #1303

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

x/crosschain/keeper/gas_payment.go Outdated Show resolved Hide resolved
@brewmaster012 brewmaster012 merged commit 7b6e305 into develop Oct 16, 2023
11 checks passed
@lumtis lumtis deleted the fix/erc20-swap-gas-check branch October 27, 2023 20:00
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.

None yet

3 participants