0xMiden / 0xMiden/faucet

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

Open
#287 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
10
Forks
12
Avg merge
1d 15h
Merged PRs (30d)
9

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.