-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
refactoringCode cleanups and improvementsCode cleanups and improvements
Description
In the off-chain code SidechainParams are all over the place, being explicitly passed into most of the functions only to deserialize scripts somewhere at the bottom of the call stack. This needs to stop. We have the effects system to deal with such things. Importantly, input-output-hk/trustless-sidechain#832 introduces the Env effect, which stores a global read-only environment. This is where SidechainParams should go, and they should only be recovered from the environment when needed.
IOG Jira: https://input-output.atlassian.net/browse/ETCM-7873
Metadata
Metadata
Assignees
Labels
refactoringCode cleanups and improvementsCode cleanups and improvements