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

Offchain Worker Weight Runtime Communication #220

Open
2 of 8 tasks
functor-flow opened this issue Sep 10, 2024 · 0 comments
Open
2 of 8 tasks

Offchain Worker Weight Runtime Communication #220

functor-flow opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@functor-flow
Copy link
Member

functor-flow commented Sep 10, 2024

Offchain worker

  • new extrinsic to send encrypted weights into
  • storage for encrypted weights
  • receiving weights from runtime
  • encrypting weigths
  • checking profitability
  • releasing weights back to the runtime
  • runtime accepting weights
  • Make a function that checks if a node is having decryption keys for weight copying decryption. If so return true, otherwise false

And implement the

let decrypted_weights: Option<Vec<(u16, Vec<(u16, u16)>)>> = Some(Vec::new());

in offchain worker hook

@functor-flow functor-flow added the enhancement New feature or request label Sep 10, 2024
@functor-flow functor-flow added this to the Weight Copy milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants