Open codchen opened 1 month ago
Attention: Patch coverage is 61.92893%
with 75 lines
in your changes missing coverage. Please review.
Project coverage is 61.00%. Comparing base (
b28413d
) to head (ace530a
).:exclamation: Current head ace530a differs from pull request most recent head 8d0cab1
Please upload reports for the commit 8d0cab1 to get more accurate results.
Describe your changes and provide context
Previously pointer contract will be assigned a new address when it's upgraded to a new version, which is quite inconvenient to end users and applications. Since pointer contracts themselves are stateless, it is possible to reuse the same address for a new version of code. This PR implements that for the EVM->CW direction pointers. A similar change will be made for CW->EVM pointers
Testing performed to validate your change
unit test