-
Notifications
You must be signed in to change notification settings - Fork 1
feat: inscriber example #17
feat: inscriber example #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped a few suggestions, but we can merge it now
nice job!
.await | ||
.context("Failed to create Inscriber")?; | ||
|
||
println!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we could use the tracing
crate here. It will help understand how logs will look like in production
checkout the indexer example
|
||
println!("---------------------------------First Inscription---------------------------------"); | ||
let context = inscriber_instance.get_context_snapshot()?; | ||
println!("context: {:?}", context); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to implement fmt::Debug
for context struct, but maybe in the future refactoring or so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, i'll add your suggestion in my next PR
thanks
fixing client response time on fetching utxo
using inscriber module in the example
cargo run --example inscriber