Skip to content

Conversation

@pxrl
Copy link
Collaborator

@pxrl pxrl commented Sep 20, 2025

This log message can be pretty difficult to read in Slack. Prioritise logging fields that are sought the most often.

This log message can be pretty difficult to read in Slack. Prioritise
logging fields that are sought the most often.
bundleLpFees,
groupId,
};
poolRebalanceLeavesPretty += `\n\t\t\t${index}: ${JSON.stringify(orderedLeaf)}`;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm mulling over some ideas about how this might be improved even further. I'd like to get this in as-is, but we might circle back with another change too.

nicholaspai
nicholaspai previously approved these changes Sep 23, 2025
@pxrl
Copy link
Collaborator Author

pxrl commented Sep 29, 2025

nb currently looks like the screenshots below. There are some issues:

  • Monospace font (for alignment) seems to require a code block, which is kinda ugly.
  • Large logs can be split over multiple messages in Slack; this causes formatting issues for the leaf that spans two messages.

It seems like we'll at least need to split the current single log message into:

  • Bundle block numbers
  • Pool rebalance leaves
  • Relayer refund leaves

We will probably also need to split the logs for relayer refund leaves into smaller chunks to avoid splitting them over multiple Slack messages.

1 2

nicholaspai
nicholaspai previously approved these changes Sep 29, 2025
pxrl and others added 2 commits September 29, 2025 18:35
* feat: add atomic depositor entrypoint for OFT bridges

Signed-off-by: bennett <[email protected]>

* import bridge

Signed-off-by: bennett <[email protected]>

* update

Signed-off-by: bennett <[email protected]>

* comment

Signed-off-by: bennett <[email protected]>

* use big number

Signed-off-by: bennett <[email protected]>

---------

Signed-off-by: bennett <[email protected]>
@bmzig
Copy link
Contributor

bmzig commented Sep 30, 2025

nb currently looks like the screenshots below. There are some issues:

Do you plan on addressing the issue about a table being split over multiple messages in this PR?

@pxrl
Copy link
Collaborator Author

pxrl commented Sep 30, 2025

nb currently looks like the screenshots below. There are some issues:

Do you plan on addressing the issue about a table being split over multiple messages in this PR?

Yeah; so far I am splitting the existing single message into bundle blocks, pool rebalance leaves, relayer refund leaves and slow fill leaves. I think the relayer refund leaves will need to be chunked into smaller messages again, though.

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.

4 participants