Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Do not issue empty remote read request + fix rr-related trace on full node #4619

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

svyatonik
Copy link
Contributor

Fixes two related issues:

  1. there's no need to issue empty RemoteRead && RemoteReadChild requests from light node and it turns current UI (at https://polkadot.js.org/apps/#/) does this;
  2. I've recently introduced invalid trace!() call in network (when we moved to single-key-in-remote-request to multiple-keys-in-single-remote-request) which leads to panic when invalid request is received over network :(

@svyatonik svyatonik added A0-please_review Pull request needs code review. M4-core labels Jan 14, 2020
Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

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

Looks good to me, I don't know that much about networking though, but disconnecting + reporting seems reasonable too.

@tomusdrw tomusdrw added A8-looksgood and removed A0-please_review Pull request needs code review. labels Jan 14, 2020
@svyatonik svyatonik merged commit 45995b4 into master Jan 14, 2020
@svyatonik svyatonik deleted the fix_empty_remote_read_request branch January 14, 2020 15:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants