You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Fast" is in the name of the product. We should monitor performance of the system (especially the contract) throughout the project.
In particular, we should measure how many advancements we can do in a block; that is: how the computron cost of advancement compares to the block budget (currently 65Mc).
Description of the Design / Test Plan
Expand swingset test tooling to support reporting computrons used. Use this tooling to measure cost of advancement.
The content you are editing has changed. Please copy your edits and refresh the page.
closes: #10388
refs: #10511
## Description
Prune `testBorrow`, `testRepay` methods along with contract tests that depend on them.
- Several tests are largely covered by share-pool-math tests
- 1 was not, so I made a pool-share-math test to cover _repay succeeds with no Pool or Contract Fee_.
- Several tests basically checked the interface guards of `lp.borrower.borrow` / `lp.repayer.repay`.
These are internal APIs with static types.
- testing consistency between interface guards and static types
might have some value, but, I suggest, not enough for the cost
### Scaling / Documentation / Upgrade Considerations
none
### Security / Testing Considerations
small loss in test coverage - mostly in test redundancy
`makeTestPushInvitation` remains on the public facet. Getting rid of it in due course remains critical.
I expect / hope we can get rid of it in #10606 (cc @samsiegart ) .
Ideally, the liquidity-pool exo would have unit test coverage. I looked into that but found that I would have to build substantial ZCF / Zoe test tooling. Since `liquidity-pool.js` is just 360 lines of straightforward Zoe API usage, I suggest we postpone that under...
- #10558
What is the Problem Being Solved?
"Fast" is in the name of the product. We should monitor performance of the system (especially the contract) throughout the project.
In particular, we should measure how many advancements we can do in a block; that is: how the computron cost of advancement compares to the block budget (currently 65Mc).
Description of the Design / Test Plan
Expand swingset test tooling to support reporting computrons used. Use this tooling to measure cost of advancement.
Tasks
Security Considerations
This task is mainly to confirm that performance is consistent with assumptions elsewhere in security modeling and design.
Scaling Considerations
Mostly confirming that the system scales as expected.
Upgrade Considerations
n/a/
The text was updated successfully, but these errors were encountered: