hashgraph / hedera-services

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

HIP-904: Add tests and validate the logic for Airdrop transaction to receiver with `receiverSigRequired=true` #14795

Closed Neeharika-Sompalli closed 2 months ago

Neeharika-Sompalli commented 2 months ago

As per discussion, the airdrop transaction should follow this logic when airdropping to a receiver with receiverSigRequired=true

Token Airdrop User story:

  1. As a user with receiver signature required enabled, if I have NOT signed the transaction, airdrop sent to me will go to pending regardless of open slots.
  2. As a user with receiver signature required enabled, if I have signed the transaction, airdrop sent to me will go to pending if I don't have open slots, otherwise I will receive the airdrop.