aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[API][v1] Extract common functionality from account, events, state modules

Open banool opened this issue 3 years ago • 0 comments

Currently there is a bit of code duplication and some nasty coupling between these different components, where events is something of an extension on top of accounts. As such, much of the events specific code is in the file for the accounts component. The state section of the API also duplicates some stuff we do in the other API components.

This code could be cleaned up pretty easily, but it's not very high pri right now.

banool avatar Jul 27 '22 21:07 banool