-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
…evious PR Signed-off-by: Simeon Nakov <[email protected]>
There was a problem hiding this 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.
contracts/system-contracts/hedera-token-service/examples/hrc-904/Airdrop.sol
Show resolved
Hide resolved
test/system-contracts/hedera-token-service/hrc-904/AirdropContract.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Simeon Nakov <[email protected]>
Signed-off-by: Simeon Nakov <[email protected]>
There was a problem hiding this 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]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice work
There was a problem hiding this 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
test/system-contracts/hedera-token-service/hrc-904/AirdropContract.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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!
47a08ef
to
9b3b14d
Compare
Signed-off-by: Simeon Nakov <[email protected]>
Signed-off-by: Simeon Nakov <[email protected]>
9b3b14d
to
7e7f8b2
Compare
Signed-off-by: Simeon Nakov <[email protected]>
8d23673
to
3c752e9
Compare
Signed-off-by: Simeon Nakov <[email protected]>
3c752e9
to
9948fee
Compare
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