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

[meta] Provide alternative(s) to missing seal functions in the solang-contracts #70

Open
5 of 10 tasks
realnimish opened this issue Sep 28, 2022 · 1 comment
Open
5 of 10 tasks
Assignees

Comments

@realnimish
Copy link
Member

realnimish commented Sep 28, 2022

Info

description:
Solang currently doesn't support all the seal APIs exposed by the pallet-contract. Provide alternative approaches to make them available in solidity contracts and note the ones whose alternative is not available.

expected results:

  • Create system-contract which would expose the missing APIs to solang-based contracts
  • Document the availability of the said APIs and how to use them.

missing seal APIs:

  • seal_call_chain_extension
  • seal_is_contract
  • seal_caller_is_origin
  • seal_set_code_hash
  • seal_code_hash
  • seal_own_code_hash
  • seal_delegate_call
  • seal_ecdsa_recover
  • seal_ecdsa_to_eth_address
  • seal_contains_storage
@realnimish realnimish self-assigned this Sep 28, 2022
@realnimish
Copy link
Member Author

#56 provides alternative for seal_set_code_hash

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

No branches or pull requests

1 participant