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

refactor: order of version and func_id #205

Closed
2 tasks
Daanvdplas opened this issue Aug 16, 2024 · 1 comment
Closed
2 tasks

refactor: order of version and func_id #205

Daanvdplas opened this issue Aug 16, 2024 · 1 comment
Labels

Comments

@Daanvdplas
Copy link
Collaborator

The function extract_env in the chain extension returns four bytes:

let (version, function_id, pallet_index, call_index) = extract_env(&env);

This should become:

let (function_id, version, pallet_index, call_index) = extract_env(&env);
  • chain extension changes
  • pop api
@Daanvdplas Daanvdplas changed the title fix: order of version and func_id refactor: order of version and func_id Aug 16, 2024
@Daanvdplas
Copy link
Collaborator Author

closed by #271

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

No branches or pull requests

1 participant