hiero-ledger / hiero-ledger/hiero-consensus-node
Confirm `@HapiTest`s implement mono parity tests for `ContractService`
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
For `ContractCreate`,
- [ ] Creating a contract with an auto-renew account requires its signature.
For `ContractDelete`,
- [ ] Deleting a contract with transfer account with `receiverSigRequired=false` requires only the contract admin key.
- [ ] Deleting a contract with transfer account with `receiverSigRequired=true` requires both the admin and receiver signatures.
For `ContractUpdate`,
- [ ] Updating a contract's admin key requires both the existing and new key.
- [ ] Updating to do nothing but extend a contract's expiration time requires only the payer signature.
Contributor guide
Research direction
Start by locating the existing @HapiTest coverage for ContractService and the ContractCreate, ContractDelete, and ContractUpdate test entry points. Run the relevant test suite, then add coverage for each listed signature scenario. Done means all five cases are represented and the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100