Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abort handling via host provided function #416

Open
1 task done
radkomih opened this issue Jun 3, 2024 · 0 comments
Open
1 task done

abort handling via host provided function #416

radkomih opened this issue Jun 3, 2024 · 0 comments
Assignees

Comments

@radkomih
Copy link
Collaborator

radkomih commented Jun 3, 2024

Is there an existing issue?

  • I have searched the existing issues

Motivation

Instead of calling panic(message)

func (l Logger) Critical(message string) {
	l.log(CriticalLevel, []byte(target), []byte(message))
	panic(message)
}

use the host provided abort function

Request

Interface for aborting the execution of the runtime:ext_panic_handler_abort_on_panic_version_1

https://spec.polkadot.network/chap-host-api#id-abort-handler

Solution

No response

Are you willing to help with this request?

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant