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

7246 fix vaults list #7247

Merged
merged 6 commits into from
Mar 29, 2023
Merged

7246 fix vaults list #7247

merged 6 commits into from
Mar 29, 2023

Conversation

turadg
Copy link
Member

@turadg turadg commented Mar 27, 2023

closes: #7246

Description

Fixes getting stale vaults list data by reading the wrong end of the array at the latest block height.

Also refactors rpcUtils to DRY out vstorage deserialization to avoid such errors in the future.

Stacked on #7132

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

@turadg turadg requested a review from dckc March 27, 2023 23:25
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presuming rebase as appropriate...

Base automatically changed from dc-bid-cli to master March 28, 2023 04:14
@turadg turadg force-pushed the 7246-fix-vaults-list branch from cc51448 to 4725433 Compare March 28, 2023 14:47
@turadg turadg added automerge:no-update (expert!) Automatically merge without updates bypass:integration Prevent integration tests from running on PR labels Mar 28, 2023
@datadog-full-agoric
Copy link

datadog-full-agoric bot commented Mar 28, 2023

Datadog Report

Branch report: 7246-fix-vaults-list
Commit report: 2eb4259

agoric-sdk: 0 Failed, 0 New Flaky, 3230 Passed, 39 Skipped, 30m 34.22s Wall Time

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #7247 (e52570b) into master (b1df9e2) will decrease coverage by 1.91%.
The diff coverage is 78.26%.

❗ Current head e52570b differs from pull request most recent head ed383c6. Consider uploading reports for the commit ed383c6 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7247      +/-   ##
==========================================
- Coverage   70.94%   69.04%   -1.91%     
==========================================
  Files         451      376      -75     
  Lines       86068    74798   -11270     
  Branches        3        3              
==========================================
- Hits        61059    51642    -9417     
+ Misses      24941    23090    -1851     
+ Partials       68       66       -2     
Impacted Files Coverage Δ
packages/agoric-cli/src/commands/wallet.js 47.73% <33.33%> (-0.09%) ⬇️
packages/agoric-cli/src/lib/wallet.js 75.80% <60.00%> (+4.79%) ⬆️
packages/agoric-cli/src/commands/inter.js 86.14% <63.63%> (+1.58%) ⬆️
packages/agoric-cli/src/lib/rpc.js 89.80% <92.59%> (+0.10%) ⬆️

... and 85 files with indirect coverage changes

Impacted file tree graph

@turadg turadg force-pushed the 7246-fix-vaults-list branch from 4725433 to b3b84dd Compare March 28, 2023 15:19
@mhofman
Copy link
Member

mhofman commented Mar 29, 2023

@Mergifyio requeue

@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

requeue

☑️ This pull request is already queued

@mhofman
Copy link
Member

mhofman commented Mar 29, 2023

@Mergifyio requeue

@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

requeue

☑️ This pull request is already queued

@mhofman
Copy link
Member

mhofman commented Mar 29, 2023

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Mar 29, 2023

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit 87ab064 into master Mar 29, 2023
@mergify mergify bot deleted the 7246-fix-vaults-list branch March 29, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:no-update (expert!) Automatically merge without updates bypass:integration Prevent integration tests from running on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

agops vaults list does not show open vaults
3 participants