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

refactor: fix invalid zrc20withdraw #1766

Merged
merged 20 commits into from
Feb 18, 2024
Merged

Conversation

kingpinXD
Copy link
Contributor

Description

  • Refactors the PostTxProcessing EVM hook functionality to deal with invalid withdraw events
  • Modifies the code structure to improve testebility
    Closes:

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

Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

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

LGTM

x/crosschain/keeper/evm_hooks_test.go Show resolved Hide resolved
x/crosschain/keeper/evm_hooks.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@brewmaster012 brewmaster012 left a comment

Choose a reason for hiding this comment

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

minor request for change.

x/crosschain/keeper/evm_hooks.go Show resolved Hide resolved
@kingpinXD kingpinXD merged commit 6fd3e65 into develop Feb 18, 2024
15 checks passed
@kingpinXD kingpinXD deleted the fix-invalid-zrc20withdraw branch February 18, 2024 18:22
lumtis pushed a commit that referenced this pull request Feb 19, 2024
lumtis added a commit that referenced this pull request Feb 21, 2024
* rename smoke test to e2e

* changelog

* some more renaming

* move smoketest package to e2e

* fix imports

* rename sm to r

* add more documentation in Dockerfile

* remove old upgrade test

* remove no longer used scripts

* script renaming

* remove eth dir

* cleaning up in orchestratort

* remove some lines

* p2p diag

* fix lint

* fix docker upgrade

* group start zetacore and zetaclient scripts

* simplify docker files

* add stress test command

* refine readme

* add localnet makefile entry

* some renaming

* refactor: make staking keeper private (#1760)

* refactor: fix invalid zrc20withdraw (#1766)

* fix lint

* comments iteration 1

* review iteration 2

* proto

---------

Co-authored-by: Tanmay <[email protected]>
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.

4 participants