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

feat: adds tests that verify IHRC904 rejectTokens targeted to an EOA are functional when called by a contract #1198

Merged
merged 5 commits into from
Feb 4, 2025

Conversation

simzzz
Copy link
Contributor

@simzzz simzzz commented Jan 21, 2025

Description:
This PR adds tests that verify IHRC904 rejectTokens targeted to an EOA are functional when called by a contract as per the design doc

Related issue(s):

Closes #1190

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
@quiet-node quiet-node added the enhancement New feature or request label Jan 21, 2025
@quiet-node quiet-node added this to the 0.12.0 milestone Jan 21, 2025
Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
@simzzz simzzz requested a review from konstantinabl January 29, 2025 09:05
Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
@simzzz simzzz requested a review from quiet-node January 30, 2025 15:11
Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
@simzzz simzzz requested a review from quiet-node February 3, 2025 14:42
Copy link
Member

@quiet-node quiet-node left a comment

Choose a reason for hiding this comment

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

LGTM

@simzzz simzzz merged commit 96941f6 into hashgraph:main Feb 4, 2025
33 checks passed
@simzzz simzzz deleted the 1190-reject-tokens-coverage branch February 4, 2025 13:52
mp-arianelabs pushed a commit to Ariane-Labs/hedera-smart-contracts that referenced this pull request Feb 10, 2025
…are functional when called by a contract (hashgraph#1198)

* feat: added test coverage for TokenReject.sol

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* exported magic BigInt as constant

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* requested changes from review

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* changed ONE_HBAR const to use ethers.parseEther

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

---------

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
mp-arianelabs pushed a commit to Ariane-Labs/hedera-smart-contracts that referenced this pull request Feb 10, 2025
…are functional when called by a contract (hashgraph#1198)

* feat: added test coverage for TokenReject.sol

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* exported magic BigInt as constant

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* requested changes from review

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

* changed ONE_HBAR const to use ethers.parseEther

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>

---------

Signed-off-by: Simeon Nakov <simeon.nakov@limechain.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests that verify IHRC904 rejectTokens targeted to an EOA are functional when called by a contract
3 participants