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

Add precompile in NEAR EVM to schedule a promise #3449

Open
ilblackdragon opened this issue Oct 5, 2020 · 1 comment
Open

Add precompile in NEAR EVM to schedule a promise #3449

ilblackdragon opened this issue Oct 5, 2020 · 1 comment
Assignees
Labels
A-contract-runtime Area: contract compilation and execution, virtual machines, etc A-EVM Area: Native EVM implementation and support C-enhancement Category: An issue proposing an enhancement or a PR with one. C-epic Category: an epic T-Aurora Team: issues relevant to the Aurora team

Comments

@ilblackdragon
Copy link
Member

ilblackdragon commented Oct 5, 2020

There needs to be an EVM precompile(s) that will allow a solidity code to schedule a promise call outside.

We probably can mimic the interface of the NEAR's promises:

promise_id = create_promise(receiver_id)
promise_transfer(promise_id, 100)
promise_function_call(promise_id, method_name, args, deposit, gas)

Additional discussion [here](near/NEPs#106 (comment)).

@ilblackdragon ilblackdragon added C-enhancement Category: An issue proposing an enhancement or a PR with one. A-transaction-runtime Area: transaction runtime (transaction and receipts processing, state transition, etc) labels Oct 5, 2020
@artob artob added the A-EVM Area: Native EVM implementation and support label Nov 18, 2020
@alexauroradev alexauroradev changed the title [EVM] Add precompile in NEAR EVM to schedule a promise Add precompile in NEAR EVM to schedule a promise Dec 4, 2020
@alexauroradev alexauroradev added the C-epic Category: an epic label Dec 4, 2020
@bowenwang1996 bowenwang1996 added A-contract-runtime Area: contract compilation and execution, virtual machines, etc T-Aurora Team: issues relevant to the Aurora team and removed A-transaction-runtime Area: transaction runtime (transaction and receipts processing, state transition, etc) labels Jun 29, 2021
@stale
Copy link

stale bot commented Sep 27, 2021

This issue has been automatically marked as stale because it has not had recent activity in the last 2 months.
It will be closed in 7 days if no further activity occurs.
Thank you for your contributions.

@stale stale bot added the S-stale label Sep 27, 2021
@akhi3030 akhi3030 removed the S-stale label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-contract-runtime Area: contract compilation and execution, virtual machines, etc A-EVM Area: Native EVM implementation and support C-enhancement Category: An issue proposing an enhancement or a PR with one. C-epic Category: an epic T-Aurora Team: issues relevant to the Aurora team
Projects
None yet
Development

No branches or pull requests

6 participants