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 airdropToken targeted to an EOA are functional when called by a contract #1185

Merged
merged 8 commits into from
Feb 4, 2025

Conversation

simzzz
Copy link
Contributor

@simzzz simzzz commented Jan 17, 2025

Description:
This PR adds tests that verify IHRC904 airdropToken targeted to an EOA are functional when called by a contract, by using the already existing smart contract. This test coverage was in a previous PR and was already reviewed once. Here we separated it from the example contracts so it didn't block the PR and the requested changes, mainly by @quiet-node were addressed.

Related issue(s):

Closes #1109

Notes for reviewer:
One of the tests is currently skipped due to a bug uncovered in the services repo, while testing. The test will fail until the issue is fixed, and a new issue will be created here to remove the skip once the issue in services is resolved.
hashgraph/hedera-services#17409

Checklist

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.

Great work! Left some blocking suggestions tho.

test/constants.js Outdated Show resolved Hide resolved
test/hip-583/HIP583.js Outdated Show resolved Hide resolved
test/system-contracts/hedera-token-service/utils.js Outdated Show resolved Hide resolved
@quiet-node quiet-node added the enhancement New feature or request label Jan 17, 2025
@quiet-node quiet-node added this to the 0.12.0 milestone Jan 17, 2025
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.

Blocking because tests are failing, as HIP-904 will not be enabled until issue #1171 is resolved.

Signed-off-by: Simeon Nakov <[email protected]>
@simzzz simzzz requested a review from quiet-node January 27, 2025 10:15
konstantinabl
konstantinabl previously approved these changes Jan 28, 2025
Copy link
Contributor

@konstantinabl konstantinabl left a comment

Choose a reason for hiding this comment

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

LGTM! Nice work

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.

LG but just 1 request

@simzzz simzzz requested a review from quiet-node January 31, 2025 17:00
quiet-node
quiet-node previously approved these changes Feb 3, 2025
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! Thans for the great work!

konstantinabl
konstantinabl previously approved these changes Feb 4, 2025
@simzzz simzzz force-pushed the 1109-airdrop-contract-coverage branch from 47a08ef to 9b3b14d Compare February 4, 2025 13:42
@simzzz simzzz dismissed stale reviews from konstantinabl and quiet-node via 7e7f8b2 February 4, 2025 13:45
@simzzz simzzz force-pushed the 1109-airdrop-contract-coverage branch from 9b3b14d to 7e7f8b2 Compare February 4, 2025 13:45
@simzzz simzzz force-pushed the 1109-airdrop-contract-coverage branch 2 times, most recently from 8d23673 to 3c752e9 Compare February 4, 2025 15:26
Signed-off-by: Simeon Nakov <[email protected]>
@simzzz simzzz force-pushed the 1109-airdrop-contract-coverage branch from 3c752e9 to 9948fee Compare February 4, 2025 15:27
@simzzz simzzz merged commit 6e09c81 into hashgraph:main Feb 4, 2025
33 checks passed
@simzzz simzzz deleted the 1109-airdrop-contract-coverage branch February 4, 2025 15:45
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 airdropToken targeted to an EOA are functional when called by a contract
3 participants