hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
281 stars 125 forks source link

TokenClaimAirdrop tests #14796

Closed kimbor closed 1 week ago

kimbor commented 1 month ago

This list of tests corresponds to the test plan in Notion: https://limechain.notion.site/Token-Claim-Airdrop-Test-Plan-d1cc52e193b147dabe3232484e7f4d59

### POSITIVE TESTS
- [ ] https://github.com/hashgraph/hedera-services/issues/14813
- [ ] https://github.com/hashgraph/hedera-services/issues/14814
- [ ] https://github.com/hashgraph/hedera-services/issues/14815
- [ ] https://github.com/hashgraph/hedera-services/issues/14820
- [ ] https://github.com/hashgraph/hedera-services/issues/14821
- [ ] https://github.com/hashgraph/hedera-services/issues/14816
- [ ] https://github.com/hashgraph/hedera-services/issues/14853
- [ ] https://github.com/hashgraph/hedera-services/issues/14854
- [ ] https://github.com/hashgraph/hedera-services/issues/14855
- [ ] https://github.com/hashgraph/hedera-services/issues/14856
- [ ] https://github.com/hashgraph/hedera-services/issues/14857
- [ ] https://github.com/hashgraph/hedera-services/issues/14874
- [ ] https://github.com/hashgraph/hedera-services/issues/14875
- [ ] https://github.com/hashgraph/hedera-services/issues/14876
- [ ] https://github.com/hashgraph/hedera-services/issues/14877
- [ ] https://github.com/hashgraph/hedera-services/issues/14923
- [ ] https://github.com/hashgraph/hedera-services/issues/14924
- [ ] https://github.com/hashgraph/hedera-services/issues/14918
- [ ] https://github.com/hashgraph/hedera-services/issues/14899
- [ ] https://github.com/hashgraph/hedera-services/issues/14885
- [ ] https://github.com/hashgraph/hedera-services/issues/14884
### receiverSigRequired=true
- [ ] https://github.com/hashgraph/hedera-services/issues/14933
- [ ] https://github.com/hashgraph/hedera-services/issues/15141
- [ ] https://github.com/hashgraph/hedera-services/issues/15212
- [ ] https://github.com/hashgraph/hedera-services/issues/15213
- [ ] https://github.com/hashgraph/hedera-services/issues/15214
- [ ] https://github.com/hashgraph/hedera-services/issues/15250
### POSITIVE HOLLOW ACCOUNTS
- [ ] https://github.com/hashgraph/hedera-services/issues/15049
- [ ] https://github.com/hashgraph/hedera-services/issues/15056
- [ ] https://github.com/hashgraph/hedera-services/issues/15057
- [ ] https://github.com/hashgraph/hedera-services/issues/15070
- [ ] https://github.com/hashgraph/hedera-services/issues/15071
- [ ] https://github.com/hashgraph/hedera-services/issues/15072
### ALLOWANCE (Skipping this part)
- [x] ~~(CLAIM_39) [Single Token] Receiver has a pending airdrop, then he gets association + allowance for the token, then he accepts the airdrop~~
- [x] ~~(CLAIM_41) A sender signs a tokenAirdropTransacton when he has enough balance and enough allowance for the same token. Then the receiver signs a claimAirdropTransaction.~~
- [x] ~~(CLAIM_43) [Single Token] Alice have a balance of 1 FT A and gives Bob allowance for 1 FT A Then Alice airdrops 1 FT A to Carol~~
- [x] ~~(CLAIM_45) [Multiple Tokens] Airdrop 2 different FTs when the receiver has no free association slots and is already associated to 1 of the tokens.~~
- [x] ~~(CLAIM_66) Given a sender has given allowance for all of their token balance and has airdropped the token, when the spender transfers the allowed tokens then airdrop will remain in pending and the claim for the airdrop will fail~~
### NEGATIVE TESTS
- [ ] https://github.com/hashgraph/hedera-services/issues/14911
- [ ] https://github.com/hashgraph/hedera-services/issues/14912
- [ ] https://github.com/hashgraph/hedera-services/issues/14913
- [ ] https://github.com/hashgraph/hedera-services/issues/14914
- [ ] https://github.com/hashgraph/hedera-services/issues/14915
- [ ] https://github.com/hashgraph/hedera-services/issues/14916
- [ ] https://github.com/hashgraph/hedera-services/issues/14954
- [ ] https://github.com/hashgraph/hedera-services/issues/14955
- [ ] https://github.com/hashgraph/hedera-services/issues/14950
- [ ] https://github.com/hashgraph/hedera-services/issues/14951
- [ ] https://github.com/hashgraph/hedera-services/issues/14952
- [ ] https://github.com/hashgraph/hedera-services/issues/14953
- [ ] https://github.com/hashgraph/hedera-services/issues/14956
- [ ] https://github.com/hashgraph/hedera-services/issues/14959
- [ ] https://github.com/hashgraph/hedera-services/issues/14960
- [ ] https://github.com/hashgraph/hedera-services/issues/15028
- [ ] https://github.com/hashgraph/hedera-services/issues/15029
- [ ] https://github.com/hashgraph/hedera-services/issues/15020
- [ ] https://github.com/hashgraph/hedera-services/issues/15017
- [ ] https://github.com/hashgraph/hedera-services/issues/15018
- [ ] https://github.com/hashgraph/hedera-services/issues/15014
### LOAD TESTS
- [ ] https://github.com/hashgraph/hedera-services/issues/14937
- [ ] https://github.com/hashgraph/hedera-services/issues/15058