FuelLabs/fuels-rs

refactor how we expose the base asset to the user

Open

#1,349 建立於 2024年4月30日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Rust (1,360 fork)batch import
good first issue

倉庫指標

Star
 (43,211 star)
PR 合併指標
 (平均合併 17天) (30 天內合併 1 個 PR)

描述

It would seem we have stale examples still using 0x00... as the base asset.

Also it seems that AssetId still has BASE as a constant with the value of 0x000.... If it's not going to be removed, we should hide this from the user by wrapping the type.

貢獻者指南