You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decouple components that are unnecessarily tied to the chain package because they depend on either the block or transaction types. We should remove the pattern of using a resolutions.go and dependencies.go file to pass around mega objects and switch to passing in the required parameters to each type we need to construct.
Replace the dependencies.go file with passing in the minimal required functionality for the package and use a generic type for blocks/transactions where necessary, so that the code can be re-used with alternative block/transaction types:
Decouple components that are unnecessarily tied to the chain package because they depend on either the block or transaction types. We should remove the pattern of using a
resolutions.go
anddependencies.go
file to pass around mega objects and switch to passing in the required parameters to each type we need to construct.Replace the
dependencies.go
file with passing in the minimal required functionality for the package and use a generic type for blocks/transactions where necessary, so that the code can be re-used with alternative block/transaction types:The text was updated successfully, but these errors were encountered: