-
Notifications
You must be signed in to change notification settings - Fork 212
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
misc refactorings #7131
misc refactorings #7131
Conversation
Datadog ReportBranch report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
@@ -26,6 +26,7 @@ import { makeAuctionBook } from './auctionBook.js'; | |||
import { AuctionState } from './util.js'; | |||
import { makeScheduler } from './scheduler.js'; | |||
import { auctioneerParamTypes } from './params.js'; | |||
import { appendToStoredArray } from '@agoric/store/src/stores/store-utils.js'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we make it a direct export from @agoric/store
and avoid the deep import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better but not worth another CI spin imo. I expect we'll clean up deep imports after or as part of refactoring the repo.
@@ -373,7 +373,7 @@ export const parseRatio = ( | |||
throw Fail`Invalid numeric data: ${numeric}`; | |||
} | |||
|
|||
const [whole, part = ''] = [match[1], match[2]]; | |||
const [_, whole, part = ''] = match; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! Thx.
b35afb3
to
d792b5d
Compare
Description
Some refactors that had come up
Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations