Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Conversation

@b1bart
Copy link
Contributor

@b1bart b1bart commented Mar 6, 2020

In this PR:

  • data is now always the hex encoded payload of the action
  • params is a new optional field that represents the translated version of data (eg via ABIs) if one is successfully created. This field is not present if there is no such translation.

…` is present IFF a data handler can process the data

auto params = data_handler(a);
if (!params.is_null()) {
action_variant("params", params);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be parameters ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-)

@b1bart b1bart merged commit d92a3aa into feature/trace-api-plugin Mar 7, 2020
@b1bart b1bart deleted the feature/trace-api-params branch March 7, 2020 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants