Skip to content

Preflight access key provisioning state#470

Open
decofe wants to merge 1 commit into
mainfrom
agent-1779822455-preflight-key-state
Open

Preflight access key provisioning state#470
decofe wants to merge 1 commit into
mainfrom
agent-1779822455-preflight-key-state

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented May 26, 2026

Summary

  • reintroduce provisioned as a positive cache only, defaulting false and serialized only when true
  • preflight keychain state before charge/session payment dispatch
  • set provisioned = true only after the on-chain preflight confirms the key is active
  • attach stored key authorization on the initial payment when the key is confirmed missing or preflight cannot confirm active state

Validation

  • cargo test -p tempo-common keys::model --lib
  • cargo test -p tempo-common keys::keystore::tests::test_mark_provisioned_address_only_updates_matching_chain --lib
  • cargo check -p tempo-request

Prompted by: @deodad

@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Changelog not found.

A changelog entry is required before merging.

Add changelog

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

Successfully merging this pull request may close these issues.

2 participants