Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the ability to find details for multiple vats #174

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

Chris-Hibbert
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert commented Sep 5, 2024

Share some tools built for vaults-auctions upgrade

See: #172

@Chris-Hibbert Chris-Hibbert self-assigned this Sep 5, 2024
@Chris-Hibbert Chris-Hibbert added the enhancement New feature or request label Sep 6, 2024
@@ -62,6 +62,14 @@ const makeSwingstore = db => {
if (!targetVat) throw Error(`vat not found: ${vatName}`);
return targetVat;
},
/** @param {string} vatName */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one's a substring, not a name

would it help to support regexp?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the name.

I can't think of a reason to want a regexp here. YAGNI

@@ -62,6 +62,14 @@ const makeSwingstore = db => {
if (!targetVat) throw Error(`vat not found: ${vatName}`);
return targetVat;
},
/** @param {string} string a string to search for within the vat name. */
Copy link
Member

@turadg turadg Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using string as the type, the param name, and the doc word reads slowly. consider,

Suggested change
/** @param {string} string a string to search for within the vat name. */
/** @param {string} substring to search for within the vat name. */

@Chris-Hibbert Chris-Hibbert enabled auto-merge (squash) September 9, 2024 20:02
@Chris-Hibbert Chris-Hibbert merged commit d37362f into main Sep 9, 2024
2 checks passed
@Chris-Hibbert Chris-Hibbert deleted the 172-vatDetailsForSynthChain branch September 9, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants