Skip to content

fix: rename fetchTsgs parameter saider to diger#1259

Merged
SmithSamuelM merged 1 commit intoWebOfTrust:mainfrom
jaelliot:fix/fetchTsgs-saider-to-diger
Mar 4, 2026
Merged

fix: rename fetchTsgs parameter saider to diger#1259
SmithSamuelM merged 1 commit intoWebOfTrust:mainfrom
jaelliot:fix/fetchTsgs-saider-to-diger

Conversation

@jaelliot
Copy link
Copy Markdown
Contributor

@jaelliot jaelliot commented Feb 27, 2026

Summary

Renames the saider parameter of fetchTsgs() to diger to match the actual type (Diger) being passed. Updates all callers.

This is part of the Saider→Diger cleanup series directed by Sam (2026-02-26 dev call). The fetchTsgs function in eventing.py receives a Diger instance but the parameter was misleadingly named saider.

Changes

Function signature

  • keri.core.eventing.fetchTsgs(db, saider, snh)fetchTsgs(db, diger, snh)
  • Updated docstring: saider (Saider)diger (Diger)

Callers updated (4 sites)

  • src/keri/core/routing.py — 3 call sites in Revery (lines 315, 376, 469)
  • src/keri/app/habbing.py — 2 call sites in BaseHab (lines 1824, 1903)
  • src/keri/db/escrowing.py — 1 call site in Broker.processEscrowReply (line 114)

ChangeLog

  • Added entry under 2.0.0-dev5 in ref/ChangeLog.md

Related

@jaelliot jaelliot force-pushed the fix/fetchTsgs-saider-to-diger branch from 124aee1 to fee759e Compare March 2, 2026 01:04
The saider parameter in fetchTsgs() actually receives a Diger instance
(the SAID digest of the reply). Rename to match the actual type.

Changed:
- eventing.py: fetchTsgs(db, saider, snh) -> fetchTsgs(db, diger, snh)
- routing.py: 3 callsites updated (keyword arg saider= -> diger=)
- habbing.py: 2 callsites updated (keyword arg saider= -> diger=)
- escrowing.py: 1 callsite updated (keyword arg saider= -> diger=)

ChangeLog entry added under 2.0.0-dev5.

Per Sam's direction on 2026-02-26 dev call.
@jaelliot jaelliot force-pushed the fix/fetchTsgs-saider-to-diger branch from fee759e to a1c2b08 Compare March 4, 2026 01:01
@SmithSamuelM SmithSamuelM merged commit 1d9d81b into WebOfTrust:main Mar 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants