Support the certificate chain cache modes in the explorer

Open
#3,588 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust, wasm

Research direction

Start at the explorer's WASM client creation and the certificate verification modal, then trace how verification events and cache resets are displayed. Add selection and display of EarlyStopVerification or FullVerification, pass the selected mode to the client, and verify that reset behavior and event display work in both modes.

Written by the indexing model from the issue text.

Description

feature :rocket:

Why

The WASM client now supports two certificate chain cache modes (EarlyStopVerification, the default, and FullVerification), whereas the explorer can only enable or disable the cache and does not tell the user which mode is used.

What

Adapt the explorer so that the user can select the certificate chain cache mode and see which mode is used during a certificate chain verification.

How

  • Pass the certificate_chain_verification_cache_mode option when the WASM client is created in the explorer
  • Add a new "Settings" popup (opened via a settings wheel on the top right of the screen, must be responsive):
    • Do not display the settings button in stable version yet
    • Add a section for Cache
    • Add a use cache checkbox
    • Add a reset cache button
    • Add a dropdown menu for switchign the type of cache when activated (EarlyStopVerification or FullVerification)
  • Display the mode in use and adapt the verification events display to the early stop mode
Dominant language
Rust
Stars
155
Forks
52
Avg merge
2d 17h
Merged PRs (30d)
37

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IntersectMBO/mithril

All issues in IntersectMBO/mithril

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.