0xMiden / 0xMiden/web-sdk

Investigate issue in custom transaction web test

未關閉
#121 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
1
分支
21
平均合併
12 小時 14 分鐘
30 天內合併 PR
41

描述

We had to modify the custom transaction tests in the web client to make them work. We should investigate why this change was necessary and if we can make it work as intended.

> The examples I use in both of these custom code tests are taken from different places in the repo. In this case, I tried to follow [this example](https://github.com/partylikeits1983/miden-clob-designs/blob/205ade0f7315e55a516327dfbafdd5ef7fab869a/tests/mapping_example_test.rs#L21) as closely as possible, with the exception of [deleting lines 6 & 7 of this script](https://github.com/partylikeits1983/miden-clob-designs/blob/205ade0f7315e55a516327dfbafdd5ef7fab869a/masm/scripts/mapping_example_script.masm#L6) as they were causing errors in the test and I didn't know how to fix the issues with those lines present.

_Originally posted by @dagarcia7 in [#914](https://github.com/0xMiden/miden-client/issues/914#issuecomment-2902924234)_

貢獻指南

開啟貢獻指南

研究方向

Look at the custom transaction tests in the web client, likely in a test directory. Compare the modified test to the original example in the linked Rust file (tests/mapping_example_test.rs) and MASM script (masm/scripts/mapping_example_script.masm). Understand why lines 6-7 of the script caused errors. Determine if the web client's transaction handling differs from the Rust example's expectations.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust, typescript
領域
testing, web-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。