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

El Collectooorr review 18/07/22 e7f5eae0c430444ac43aa70ea64c63a5f219bca7 #82

Open
Adamantios opened this issue Jul 18, 2022 · 2 comments

Comments

@Adamantios
Copy link
Collaborator

Adamantios commented Jul 18, 2022

This review was performed for commit: e7f5eae

@0xArdi
Copy link
Collaborator

0xArdi commented Jul 30, 2022

  • I wasn't aware of contract_method_call, is there any benefit to using it in comparison to what we have now?
  • I have introduced constants in fix/audit problems #90 for all the listed constants here.
  • I agree it doesn't make sense to use enforce(), I have created an issue for it Replace AEAEnforceError with a more appropriate mechanism #91 , and it will be worked on it in a future version.
  • Those unused functions are removed in fix/audit problems #90 .
  • For more complicated algorithms, we will need to use Tasks.
  • The reason why this merging is done on the round is to avoid sending large payloads. Apart from it being kinda ugly, do you see any other issues?

@Adamantios
Copy link
Collaborator Author

I wasn't aware of contract_method_call, is there any benefit to using it in comparison to what we have now?

No there is no additional benefit apart from uniformity across repos.

The reason why this merging is done on the round is to avoid sending large payloads. Apart from it being kinda ugly, do you see any other issues?

I see, sending large payloads is not a good idea. One reason to keep all the processing on the behaviour side would be for example to separate the concerns or to enhance readability, i.e., it is easier to read a behaviour and understand the skill.
@DavidMinarsch would you have anything to add on this?

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

2 participants