0xMiden / 0xMiden/faucet

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

Aperta
#287 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
10
Fork
12
Merge medio
1g 15h
PR unite (30g)
9

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.