sui icon indicating copy to clipboard operation
sui copied to clipboard

[indexer] use in memory buffer to store obj changes and update snapsh…

Open emmazzz opened this issue 1 year ago • 3 comments

…ot table

Description

Introduce an object change buffer that gets populated by the checkpoint commiter and consumed by the snapshot processor to update the objects snapshot table asynchronously.

Test plan

Tested locally against devnet data.


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • [ ] Protocol:
  • [ ] Nodes (Validators and Full nodes):
  • [ ] Indexer:
  • [ ] JSON-RPC:
  • [ ] GraphQL:
  • [ ] CLI:
  • [ ] Rust SDK:

emmazzz avatar May 31 '24 06:05 emmazzz

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
multisig-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 11:39pm
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 11:39pm
sui-kiosk ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 11:39pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 11:39pm

vercel[bot] avatar May 31 '24 06:05 vercel[bot]

Semgrep found 1 ssc-efa14576-9601-4ae6-939c-3da58aa25013 finding:

  • examples/trading/frontend/pnpm-lock.yaml

Risk: Affected versions of vite are vulnerable to Improper Handling Of Case Sensitivity / Exposure Of Sensitive Information To An Unauthorized Actor / Improper Access Control. The vulnerability arises when the Vite development server's option, server.fs.deny, can be circumvented on case-insensitive file systems through the utilization of case-augmented versions of filenames, as the matcher derived from config.server.fs.deny fails to prevent access to sensitive files when raw filesystem paths are requested with augmented casing.

Manual Review Advice: A vulnerability from this advisory is reachable if you host vite's development server on Windows, and you rely on server.fs.deny to deny access to certain files

Fix: Upgrade this library to at least version 4.5.2 at sui/examples/trading/frontend/pnpm-lock.yaml:4700.

Reference(s): https://github.com/advisories/GHSA-c24v-8rfc-w8vw, CVE-2023-34092, CVE-2024-23331

Ignore this finding from ssc-efa14576-9601-4ae6-939c-3da58aa25013.

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 07 '24 01:08 github-actions[bot]