Skip to content

Conversation

howjmay
Copy link
Member

@howjmay howjmay commented Sep 18, 2025

No description provided.

@howjmay howjmay changed the title Go ver chore: Sync all the go version Sep 18, 2025
// VMErrorTemplate by mistake, so that we don't crash the VM because of that.
func (e *VMErrorTemplate) Error() string {
// calling Sprintf so that it marks missing parameters as errors
return fmt.Sprintf(e.messageFormat)
Copy link
Member Author

Choose a reason for hiding this comment

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

This won't be compilable anymore.

@howjmay howjmay marked this pull request as ready for review September 23, 2025 06:52
@howjmay howjmay marked this pull request as draft September 23, 2025 14:03
if privateKey, err = PrivateKeyFromMarshalUtil(buffer); err != nil {
privateKey, err = PrivateKeyFromMarshalUtil(buffer)
if err != nil {
err = ierrors.Wrap(err, "failed to parse PublicKey from MarshalUtil")
Copy link
Member Author

Choose a reason for hiding this comment

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

BTW the implementation of ierrors.Wrap() is

func Wrap(err error, message string) error {
	return fmt.Errorf("%s: %w", message, err)
}

Maybe we can use fmt.Errorf() directly?

@howjmay howjmay marked this pull request as ready for review September 24, 2025 12:45
@howjmay howjmay merged commit 7831b0b into iotaledger:develop Sep 24, 2025
10 of 14 checks passed
@howjmay howjmay deleted the go-ver branch September 24, 2025 13:36
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.

2 participants