Skip to content

Conversation

@td202
Copy link
Contributor

@td202 td202 commented Oct 17, 2025

Purpose

Depends on Concordium/concordium-transaction-logger#58

Update the Rust SDK and fix issues.

Changes

  • Update SDK
  • Handle Unknown cases.
  • Include token_update in /network/options.
  • Bump version.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

src/api/block.rs Outdated

while let Some(e) = special_events.next().await.transpose()? {
let Upward::Known(e) = e else {
warn!("Encountered unknown special transaction outcome; skipping.");
Copy link
Member

Choose a reason for hiding this comment

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

I would include info on what to do to remove the warning in all log::warn through out the PR.

Suggested change
warn!("Encountered unknown special transaction outcome; skipping.");
warn!("Encountered unknown special transaction outcome; skipping. Update the `concordium-rust-sdk` version to remove the warning.");

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not really a solution for a user. In the first place, they might be using a binary distribution. In the second, updating the SDK will also require implementing cases for the new outcomes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have made the log messages say that the node/protocol version may be unsupported by the version of concordium-rosetta.

@td202 td202 requested a review from DOBEN October 29, 2025 14:29
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