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

`ivy scenarios` initialize grpc stubs with default shard/realm

Open
#21,017 0 comments 0 reactions 1 assignee Claimed by @mhess-swl View on GitHub
Bug Yahcli
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

Yahcli's `ivy` command doesn't designate the spec's target network prior to initializing its grpc stubs. The net effect is that `HapiSpec`'s non-trivial initialization sequence executes with differing consequences when done via gradle's `testSubprocess` command vs. running a command directly from the yahcli jar. In the `testSubprocess` case gradle gets around this behavior by explicitly setting the shard/realm via system properties prior to launching `HapiSpec`'s startup sequence. Running the yahcli jar, however, has no such bootstrap, and its commands fail to find any matching stubs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.