feat(audit-trail): initialize wasm client and integrate into context - #192
Open
alexruzenhack wants to merge 3 commits into
Open
feat(audit-trail): initialize wasm client and integrate into context#192alexruzenhack wants to merge 3 commits into
alexruzenhack wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
alexruzenhack
marked this pull request as draft
May 19, 2026 17:55
alexruzenhack
marked this pull request as ready for review
May 20, 2026 11:32
alexruzenhack
force-pushed
the
feat/audit-trail-wasm
branch
from
May 21, 2026 16:44
b1873e9 to
516c2c1
Compare
alexruzenhack
force-pushed
the
feat/audit-trail-config
branch
from
May 29, 2026 09:26
7a694ae to
fb93c95
Compare
alexruzenhack
force-pushed
the
feat/audit-trail-wasm
branch
from
May 29, 2026 09:41
516c2c1 to
cf0cc41
Compare
alexruzenhack
force-pushed
the
feat/audit-trail-wasm
branch
from
June 15, 2026 15:42
cf0cc41 to
dae80f7
Compare
alexruzenhack
force-pushed
the
feat/audit-trail-wasm
branch
from
June 15, 2026 17:33
dae80f7 to
d9c8c8e
Compare
VmMad
approved these changes
Jul 13, 2026
evavirseda
requested changes
Jul 17, 2026
| } | ||
|
|
||
| throw new Error( | ||
| 'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment if running on a custom network.', |
Member
There was a problem hiding this comment.
nit 🙏
Suggested change
| 'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment if running on a custom network.', | |
| 'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment variables if running on a custom network.', |
|
|
||
| export const IOTA_IDENTITY_PKG_ID = import.meta.env.VITE_IOTA_IDENTITY_PKG_ID; | ||
| export const IOTA_NOTARIZATION_PKG_ID = import.meta.env.VITE_IOTA_NOTARIZATION_PKG_ID; | ||
| export const IOTA_AUDIT_TRAIL_PKG_ID = import.meta.env.VITE_IOTA_AUDIT_TRAIL_PKG_ID; |
Member
There was a problem hiding this comment.
VITE_IOTA_AUDIT_TRAIL_PKG_ID and VITE_IOTA_TF_COMPONENTS_PKG_ID shouldnt be in the .env.example¿
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of change
This PR integrates the
@iota/audit-trailWASM client into the Explorer's global state. This is required to decode and verify on-chain Audit Trail objects and events in the upcoming UI views.Key Features and Changes
createAuditTrailClientReadOnlyto instantiate the WASM client.auditTrailClientinto theTrustFrameworkProviderso it can be consumed globally via hooks.How the change has been tested