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

PR Feedback #35

Open
2 of 3 tasks
anilhelvaci opened this issue Jun 10, 2024 · 1 comment
Open
2 of 3 tasks

PR Feedback #35

anilhelvaci opened this issue Jun 10, 2024 · 1 comment

Comments

@anilhelvaci
Copy link
Collaborator

anilhelvaci commented Jun 10, 2024

Context

See Agoric#8994

What's left?

anilhelvaci added a commit that referenced this issue Jun 10, 2024
anilhelvaci added a commit that referenced this issue Jun 10, 2024
anilhelvaci added a commit that referenced this issue Jun 13, 2024
anilhelvaci added a commit that referenced this issue Jun 13, 2024
…onVisibilityWriters` resulted with below changes;

* Use `Promise.all` instead of `allValuesSettled`
* Remove `liq-rejected-schedule` and `liq-rejected-timestampStorageNode` as we don't need to handle those cases anymore
* Write an error message in postAuction and auctionResults recorder kits in the case of an error in distributing plans

Refs: #35
@anilhelvaci
Copy link
Collaborator Author

Important for commit 984f55b

As plan and vaultsInPlan are assigned implicitly tsc complained with TS2322 error. The assignment of plan and vaultsInPlan is tied to helper.planProceedsDistribution working without any errors and in the case of any error, the error is handled in the catch statement.

With this commit, we've introduced a new message in postAuctionRecorderKit and auctionResultsRecorderKit to indicate if plan or vaultsInPlan are not assigned properly for some reason, we print { error: 'Error distributing proceeds' }. Since there's no way I could find to produce this case in the tests, I had to proceed with no explicit tests. As all the other tests are passing, I believe it might be sufficient to leave it like this.

anilhelvaci added a commit that referenced this issue Jun 13, 2024
anilhelvaci added a commit that referenced this issue Jun 14, 2024
anilhelvaci added a commit that referenced this issue Jun 17, 2024
anilhelvaci added a commit that referenced this issue Jun 17, 2024
anilhelvaci added a commit that referenced this issue Jun 17, 2024
anilhelvaci added a commit that referenced this issue Jun 17, 2024
…onVisibilityWriters` resulted with below changes;

* Use `Promise.all` instead of `allValuesSettled`
* Remove `liq-rejected-schedule` and `liq-rejected-timestampStorageNode` as we don't need to handle those cases anymore
* Write an error message in postAuction and auctionResults recorder kits in the case of an error in distributing plans

Refs: #35
anilhelvaci added a commit that referenced this issue Jun 17, 2024
anilhelvaci added a commit that referenced this issue Jun 17, 2024
anilhelvaci added a commit that referenced this issue Jun 18, 2024
anilhelvaci added a commit that referenced this issue Jun 18, 2024
anilhelvaci added a commit that referenced this issue Jun 18, 2024
anilhelvaci added a commit that referenced this issue Jun 18, 2024
…onVisibilityWriters` resulted with below changes;

* Use `Promise.all` instead of `allValuesSettled`
* Remove `liq-rejected-schedule` and `liq-rejected-timestampStorageNode` as we don't need to handle those cases anymore
* Write an error message in postAuction and auctionResults recorder kits in the case of an error in distributing plans

Refs: #35
anilhelvaci added a commit that referenced this issue Jun 18, 2024
anilhelvaci added a commit that referenced this issue Jun 18, 2024
anilhelvaci added a commit that referenced this issue Jun 21, 2024
TODO: Update bootstrap tests as well

Refs: #35 #36
anilhelvaci pushed a commit that referenced this issue Jun 21, 2024
anilhelvaci added a commit that referenced this issue Jun 21, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
…onVisibilityWriters` resulted with below changes;

* Use `Promise.all` instead of `allValuesSettled`
* Remove `liq-rejected-schedule` and `liq-rejected-timestampStorageNode` as we don't need to handle those cases anymore
* Write an error message in postAuction and auctionResults recorder kits in the case of an error in distributing plans

Refs: #35
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
TODO: Update bootstrap tests as well

Refs: #35 #36
anilhelvaci pushed a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 15, 2024
anilhelvaci added a commit that referenced this issue Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant