Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

fix(logger): Change formatter that collides with new libp2p version [fixes DXJ-459] #334

Merged
merged 7 commits into from
Aug 29, 2023

Conversation

akim-bow
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Aug 29, 2023

@@ -380,7 +380,7 @@ export abstract class FluencePeer {
// Otherwise the race might occur corrupting the prevData

log_particle.debug('id %s. sending particle to interpreter', item.particle.id);
log_particle.trace('id %s. prevData: %a', item.particle.id, prevData);
log_particle.trace('id %s. prevData: %s', item.particle.id, new TextDecoder().decode(prevData));
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest moving this part to a separate function, instead of dublicating this TextDecoder().decode() stuff so when Ivan creates binary data for avm we can change one line instead of changing three or pottentially more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored this to private method

Akim Mamedov added 2 commits August 29, 2023 23:06
@fluencebot fluencebot mentioned this pull request Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e2e Run e2e workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants