-
Notifications
You must be signed in to change notification settings - Fork 0
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
DB Invariant tests #1
Comments
Additionally, we want to match: ComputeAgentData from go-pools With equivalent SQL data from: |
#3 implements Total Assets, Total Borrowed and Agent Count |
|
#12 implements Pool Total Assets, Total Borrowed and Agent Count |
#14 Checks the miner counts for each agent on the node and compares to the API |
#16 Checks the agent principal using the econ endpoint (which calls it liabilities) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Macro invariants (system wide aggregates):
iFIL.totalSupply()
agentCount
in theagentFactory
linkpool.totalBorrowed()
pool.totalAssets
.Micro invariants (on a per account basis):
iFIL.balanceOf()
The text was updated successfully, but these errors were encountered: