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

Repeated imported function #712

Closed
neithanmo opened this issue Oct 17, 2023 · 1 comment
Closed

Repeated imported function #712

neithanmo opened this issue Oct 17, 2023 · 1 comment
Assignees

Comments

@neithanmo
Copy link

In the host-api documentation, the section Offchain_index_clear describes a function that is used to clear the storage, however, in the code snippet it has the same name as the function described in the previous section:

  • Offchain_index_set(section)
(func $ext_offchain_index_set_version_1
    (param $key i64) (param $value i64))
  • Offchain_index_clear(section)
(func $ext_offchain_index_set_version_1
    (param $key i64)) 

I think the method should be renamed to ext_offchain_index_clear_version_1

@bhargavbh
Copy link
Contributor

Thanks for pointing out,
it has been fixed here #713

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 a pull request may close this issue.

2 participants