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

Transaction "action" #22

Open
mpapierski opened this issue Sep 22, 2018 · 0 comments
Open

Transaction "action" #22

mpapierski opened this issue Sep 22, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@mpapierski
Copy link
Contributor

mpapierski commented Sep 22, 2018

In parity there is a notion of "Action" in the transaction. I find it very useful concept that will ensure that we create proper set of TX params.

If "to" is null address, then data field becomes "init" and the transaction becomes a contract creation transaction.
Otherwise "to" is a message call and data should contain a message call (or empty, for just transferring funds between parties).

Sort of needed by guac integration, but we can live without it as we know what is the "right" kind of parameters so we can live without "action" field which just configured to/data params for us.

@mpapierski mpapierski added the enhancement New feature or request label Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant