hashgraph/hedera-smart-contracts

Create tests for HIP 206/906

Closed this issue · 0 comments

Problem

There are tests that exist for HIP 206. However, these tests update the keys to include the contract key in order to enable the transaction.

Solution

Write new tests that use approvals via contracts and try atomic crypto transfer scenarios and negative tests.

  • add CryptoAllowance example contract to expose HederaAccountService
  • testt atomic method for crypto transfer in HIP 206

Alternatives

No response