Skip to content

Conversation

@febo
Copy link
Contributor

@febo febo commented Mar 14, 2025

Problem

Currently, p-token does not log an error message – this is different than the current SPL Token implementation.

Solution

Add error logging.

The PR also updates pinocchio dependencies to use the ToStr trait.

Base automatically changed from febo/fixtures to main March 14, 2025 16:37
pinocchio = { version = "0.7", git = "https://github.com/febo/pinocchio.git", branch = "febo/close-unstable" }
pinocchio-log = { version = "0.3", git = "https://github.com/febo/pinocchio.git", branch = "febo/close-unstable" }
pinocchio = "0.8"
pinocchio-log = { version = "0.4", default-features = false }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Disabling default features to avoid bringing the log macro dependencies – the macro is not used.

@febo febo marked this pull request as ready for review March 19, 2025 01:20
@febo febo requested a review from joncinque March 19, 2025 01:20
Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Looks great!

@febo febo merged commit 4c46748 into main Mar 19, 2025
15 checks passed
@febo febo deleted the febo/log-error branch March 19, 2025 10:51
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.

3 participants