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 Scopes into Transaction #2657

Closed
wants to merge 4 commits into from
Closed

Conversation

shargon
Copy link
Member

@shargon shargon commented Feb 8, 2022

It's required to have access to the transaction's scopes inside the smart contract in certain cases, I thought about create a new syscall, check if a witness it will be valid, but it depend of the callingscript, executionscript, in fact the whole ExecutionEngine...
I want to check inside my verify if the transaction was signed by the user.

@erikzhang
Copy link
Member

How do you decode it in a contract?

@shargon
Copy link
Member Author

shargon commented Feb 16, 2022

How do you decode it in a contract?

Is not required to be decoded, you can hardcode the expected one, and don't allow anything else

@erikzhang
Copy link
Member

I think we should create a new syscall, and decode senders for the user.

@shargon
Copy link
Member Author

shargon commented Mar 31, 2022

I think we should create a new syscall, and decode senders for the user.

GetTransactionSigners?

@shargon shargon deleted the branch neo-project:develop April 6, 2022 10:31
@shargon shargon closed this Apr 6, 2022
@shargon shargon deleted the expose-scopes branch April 7, 2022 08:17
@shargon shargon mentioned this pull request Apr 7, 2022
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 this pull request may close these issues.

3 participants