hiero-ledger / hiero-ledger/hiero-consensus-node

Confirm `@HapiTest`s implement mono parity tests for `ContractService`

Open
#13,826 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.