0xMiden / 0xMiden/faucet

Fetch the fee faucet id from the latest stored block header instead of the genesis

未关闭
#287 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
10
派生
12
平均合并
1 天 15 小时
30 天内合并 PR
9

描述

Originally discussed in [this comment](https://github.com/0xMiden/faucet/pull/262#discussion_r3769759885).

After https://github.com/0xMiden/rust-sdk/pull/2397 was merged, we should update the [`fetch_fee_faucet_id`](https://github.com/0xMiden/faucet/blob/5bc853758e0468176a9b9edb5997b5cb1d93e021/crates/faucet/src/lib.rs#L978) function so that it calls `Client::get_latest_block_header` instead of `Client::get_block_header_by_number`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。