Skip to content

Conversation

@h4n0
Copy link
Contributor

@h4n0 h4n0 commented Jul 21, 2021

  1. Debugging refactorings on ocw, to make debugging more friendly.
  2. Improved the error handling of ocw.

@h4n0 h4n0 changed the title Ocw debugging addon Improvement of OCW debugging and error handling Jul 21, 2021
// Start query at second block of a session
if index_in_session == 1 {
Self::start(block_number);
let _ = Self::start(block_number);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is, where is the Result of start consumed?

@h4n0 h4n0 requested a review from Satoshi-Kusumoto July 27, 2021 07:01
Copy link
Contributor

@Satoshi-Kusumoto Satoshi-Kusumoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next time this kind of PR can not be passed since if you do not handle the result, the more addition is two logs.
Anyway please fire another issue of the TODO and fix it in no later than the next sprint

@h4n0
Copy link
Contributor Author

h4n0 commented Jul 29, 2021

Yes thanks for mentioning this John. I will write an issue in case this is overlooked.

@h4n0 h4n0 merged commit 956db01 into dev Aug 2, 2021
@h4n0 h4n0 deleted the ocw-debugging-addon branch August 2, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants