hiero-ledger / hiero-ledger/hiero-consensus-node
"unqualified delegate detected" should be a new kind of `HederaExceptionalHaltReason`
Open
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
Over in [`HTSPrecompiledContract`](https://github.com/hashgraph/hedera-services/blob/dad10e18e8bb0305ac99a9d9862407da505fa43c/hedera-node/hedera-mono-service/src/main/java/com/hedera/node/app/service/mono/store/contracts/precompile/HTSPrecompiledContract.java#L232) a generic "precompile error" is returned when an "unqualified delegate detected" happens (delegate call to a precompile).
It would provide more help for the caller if a new `HederaExceptionalHaltReason` with a proper message was invented for the purpose.
Contributor guide
Assessment
This issue has not been assessed yet.