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
We currently version offchain/src/TrustlessSidechain/RawScripts.purs and offchain/test/Test/PoCRawScripts.purs files inside the repository, even though these files are generated automatically by calling make update-scripts from the offchain directory. There are good reasons to have these files versioned (faster development, less dependencies for anyone wanting to build the off-chain), we should have the CI test that these files build correctly and are up to date. Hence the proposal that the CI:
Builds all of on-chain code
Removes both raw-scripts files.
calls make update-scripts in offchain
checks that generated files are identical to what is stored in the repository (in other words, the git tree should be clean)
We currently version
offchain/src/TrustlessSidechain/RawScripts.purs
andoffchain/test/Test/PoCRawScripts.purs
files inside the repository, even though these files are generated automatically by callingmake update-scripts
from theoffchain
directory. There are good reasons to have these files versioned (faster development, less dependencies for anyone wanting to build the off-chain), we should have the CI test that these files build correctly and are up to date. Hence the proposal that the CI:make update-scripts
inoffchain
If any of the above fails, the CI should fail.
IOG Jira: https://input-output.atlassian.net/browse/ETCM-7837
The text was updated successfully, but these errors were encountered: