Skip to content

[pull] main from dfinity:main#547

Merged
pull[bot] merged 3 commits intomikeyhodl:mainfrom
dfinity:main
Apr 21, 2026
Merged

[pull] main from dfinity:main#547
pull[bot] merged 3 commits intomikeyhodl:mainfrom
dfinity:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 21, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

sea-snake and others added 3 commits April 21, 2026 07:09
…te values (#3770)

Certified attribute values were encoded as raw bytes (`Blob`) regardless
of their semantic type. This changes the ICRC-3 attribute message to use
the correct types: `Text` for string values (email, name), `Blob` for
binary data (nonce), and `Nat` for timestamps.

# Changes

- `prepare_icrc3_attributes` now produces `Icrc3Value::Text` for
attribute values, `Icrc3Value::Blob` for nonce, and `Icrc3Value::Nat`
for timestamps instead of encoding everything as `Blob`.
- `icrc3_attribute_message` accepts `BTreeMap<String, Icrc3Value>`
instead of `BTreeMap<String, Vec<u8>>`.
- E2e tests updated to verify correct ICRC-3 Value types in the decoded
attribute map.

---

<div align="left">← Previous: #3768</div>
<div align="right">Next: #3791 →</div>

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
…ests field (#3794)

The `pull_requests` field in the GitHub API's workflow runs endpoint is
often empty for recent runs, causing `deploy-pr-to-beta` to fail to
locate the workflow run.

Query by the PR's head branch name instead, which is reliably populated.

## Test plan
- [x] Verified fix resolves the issue for PR #3784
- [x] Script now successfully finds canister-tests.yml workflow runs
…3791)

The ICRC-3 attribute handler previously only existed in the OpenID
resume flow. Dapps using the default (non-OpenID) authorize flow that
request `ii-icrc3-attributes` would get no response.

This adds an ICRC-3 attributes listener to the default authorize flow's
`AuthorizationChannel`. Since the user didn't authenticate via OpenID,
there are no attribute values to certify — the handler responds with
only the implicit entries (nonce, origin, timestamp) by calling
`prepare_icrc3_attributes` with an empty attributes list.

# Changes

- Added `handleIcrc3AttributeRequests` to `AuthorizationChannel.svelte`
that listens for `ii-icrc3-attributes`, waits for authorization +
authentication, then certifies an empty attribute set.

---

<div align="left">← Previous: #3770</div>
<div align="right">Next: #3777 →</div>

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Apr 21, 2026
@pull pull Bot added the ⤵️ pull label Apr 21, 2026
@pull pull Bot merged commit 5b311bf into mikeyhodl:main Apr 21, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants