-
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
fix(agops): fix continuing id lookup in oracle setPrice #8457
Conversation
I looked into doing a test. Threading IO capabilities explicitly looks like more trouble than it's worth (#2160). How about landing this as is? |
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.
Threading IO capabilities explicitly looks like more trouble than it's worth.
It would be fine to use ambient IO capabilities for a test.
I looked into doing a test.
A test would be nice but since this is an internal tool, if you've tested it manually that suffices for me.
Hm. It would go out to the network and such then, right? I would need to run a blockchain node or something. Alternatively, I could factor out the part that I fixed and unit test that, but again, it's kind of a pain. |
needs instance based on --pair
4508326
to
9bf2d72
Compare
Yeah, I was assuming we could mock module imports. That's built into Jest. In Ava it would take something like https://github.com/iambumblehead/esmock |
Yeah, that's another approach. I didn't look into it. Does it make a test seem more cost-effective? |
More but not enough imo. Also using esmock-loader precludes using tsx-loader. |
fix(agops): fix continuing id lookup in oracle setPrice
needs instance based on --pair
closes: #8281
refs: #XXXX
Description
Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations
Upgrade Considerations