fix(forgerpc): forge calls need the run credential and reach only the run's own repository

This commit is contained in:
sam committed 2026-10-04 18:34:16 +11:00
1 parent 78e4427f0d
commit 18b9dddbaf
7 files changed
+160 -49

No files matched your search

@@ -125,8 +125,8 @@ type RemoteTrees interface {
}
// Forger constructs the identity-scoped forge RPC client.
func (t *Transport) Forger(identity string, timeout time.Duration) workflow.Forger {
return &forgerpc.Client{Conn: t.conn, Timeout: timeout, Identity: identity}
func (t *Transport) Forger(identity, credential string, timeout time.Duration) workflow.Forger {
return &forgerpc.Client{Conn: t.conn, Timeout: timeout, Identity: identity, Credential: credential}
}
// Store returns the State Store client, bounding each call by timeout when