duality-labs / duality

Apache License 2.0
10 stars 5 forks source link

Code cleanup -- ctx usage #304

Closed jcompagni10 closed 1 year ago

jcompagni10 commented 1 year ago

Code cleanup - from unnecessary calls and for better readability From unnecessary calls: goCtx is being unwrapped where not needed: code, while it has been unwrapped on entry point message in the keeper layer: core.go code

Propagated into functions, where later not used: code

Since the code is scaffolded with Ignite, there are some generated code remainings that need to be deleted in order to have more cleaner code _ = ctx (code) - found in all the messages.