feat(beacon_chain): Added Box to some fields in BeaconChainError#7623
feat(beacon_chain): Added Box to some fields in BeaconChainError#7623PoulavBhowmick03 wants to merge 8 commits intosigp:unstablefrom
Box to some fields in BeaconChainError#7623Conversation
|
@eserilev can you PTAL and let me know if there is more to be done in this |
|
Hi @PoulavBhowmick03 In order to address this issue you'll need to figure out which variants inside |
Got it, looking into it |
|
PTAL, it passes clippy now, do let me know if i need to make any more changes |
|
Thanks for your changes @PoulavBhowmick03 . It does pass Clippy now, but I'm not sure the |
|
@eserilev Removed Box from String, Hash256 and Checkpoint. Passes clippy as well, PTAL now. |
| sender_clone: &UnboundedSender<NetworkMessage<T::EthSpec>>, | ||
| blob: &GossipVerifiedBlob<T>, | ||
| ) -> Result<(), BlockError> { | ||
| ) -> Result<(), Box<BlockError>> { |
There was a problem hiding this comment.
I had to box this since it was throwing error. Do i need to try something else?
| crate::publish_pubsub_message(sender_clone, pubsub_message) | ||
| .map_err(|_| BlockError::BeaconChainError(Box::new(BeaconChainError::UnableToPublish))) | ||
| crate::publish_pubsub_message(sender_clone, pubsub_message).map_err(|_| { | ||
| Box::new(BlockError::BeaconChainError( |
0fa7ca5 to
16a348b
Compare
|
@eserilev is the test failing something to do with my changes? or a fault on the infra side? or some other logic |
|
hey @eserilev any updates on this, any changes for me to make? |
|
Hi @PoulavBhowmick03, this pull request has been closed automatically due to 30 days of inactivity. If you’d like to continue working on it, feel free to reopen at any time. |

Issue Addressed
Fixes #7473
BoxHash256 fields in variants like InconsistentPayloadReconstructed, BadPreState, RevertedFinalizedEpoch, etc.