-
Notifications
You must be signed in to change notification settings - Fork 41
Tracing console output with proper monotonic time #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7cfa9cf to
9e7483c
Compare
e9297ed to
fe95d99
Compare
|
@binier I've also added submodules, now it is easier to just modify our dependencies right in the project tree. |
75fa1f2 to
dda22c7
Compare
binier
left a comment
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.
Looks good. We just need to revert extra changes caused by force push.
cli/src/commands/snarker/mod.rs
Outdated
| // // .module(module_path!()) // remove this line to see libp2p logs. | ||
| // .init() | ||
| // .unwrap(); | ||
| unsafe { backtrace_on_stack_overflow::enable() }; |
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.
We don't need this anymore.
node/shared/src/block.rs
Outdated
| pub type ArcBlockWithHash = BlockWithHash<Arc<Block>>; | ||
|
|
||
| #[derive(Serialize, Deserialize, Debug, Clone)] | ||
| #[derive(Serialize, Deserialize, Clone)] |
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.
Tmp changes that were in original branch, We should undo changes in this file.
| rpc_sender_clone.oneshot_request(RpcRequest::GetState).await; | ||
|
|
||
| with_json_reply(&result, StatusCode::OK) | ||
| let result = result.map(|v| v.transition_frontier.sync); |
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.
Tmp change, needs to be removed.
p2p/src/channels/rpc/mod.rs
Outdated
| if matches!(result_kind, RpcResultKind::Err) { | ||
| let err = mina_p2p_messages::rpc_kernel::Error::binprot_read(r)?; | ||
| let err = format!("{:?}", err); | ||
| let err = dbg!(format!("{:?}", err)); |
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.
Tmp change, needs to be removed.
snarker/src/ledger/ledger_service.rs
Outdated
| block: ArcBlockWithHash, | ||
| pred_block: ArcBlockWithHash, | ||
| ) -> Result<(), String> { | ||
| eprintln!( |
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.
Tmp change, needs to be removed.
binier
left a comment
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.
Looks good, thanks.
Tracing console output with proper monotonic time
…ync staged ledger reconstruction re: #52
…ync staged ledger reconstruction re: #52
Issue #44