Fix scratch data [#3601]
Closes #3601 (closed). Ensures that scratch data is only written to the scratch chain. See ethan.acme/data on Kermit.
Changelog: fix
Closes #3601 (closed). Ensures that scratch data is only written to the scratch chain. See ethan.acme/data on Kermit.
Changelog: fix