hiero-ledger / hiero-ledger/hiero-consensus-node
Create a contract for testing HIP-796 HTS precompile extensions
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
### Problem
We need [at least](https://github.com/hashgraph/hedera-services/blob/hip796-test-dsl/hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/hip796/Hip796Verbs.java#L63):
- [ ] `moveBetweenSameUserPartitions(address,address,address,int64)`
- [ ] `moveBetweenDifferentUserPartitions(address,address,address,address,int64)`
- [ ] `createPartition(address,string,string)`
- [ ] `deletePartition(address)`
- [ ] `deletePartition(address,bool,string,bool,string)`
- [ ] `rotateKey((uint256,(bool,address,bytes,bytes,address))`
- [ ] `removeKey(uint256)`
### Solution
Write a contract that implements the above external functions in the obvious way.
### Alternatives
_No response_
Contributor guide
Research direction
Start with the HIP-796 entry point in hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/hip796/Hip796Verbs.java, especially the referenced section. Use the listed external function signatures to define the contract's scope; done means all seven checked-off extensions are implemented for the HIP-796 test flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, solidity
- Domain
- blockchain, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100