Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Enforce zosversion check when loading zos json files #162

Merged
merged 7 commits into from
Oct 5, 2018

Conversation

spalladino
Copy link
Contributor

When loading a zos.json or zos.network.json file, either local or from a dependency, it is now checked that the json file contains a zosversion equal to 2, or an error message is thrown.

This PR is part of the fixes for issues #159 and #131. Another PR is pending to implement the same logic in 1.4.x.

@spalladino
Copy link
Contributor Author

CI is failing with the following error:

zos version identifier not found in node_modules/openzeppelin-zos/zos.json. This means the project was built with an older version of zos (1.x), and needs to be upgraded. Please refer to the documentation at https://docs.zeppelinos.org for more info.

I hate it when my code is smarter than me.

@spalladino spalladino force-pushed the feature/check-zosversion-#131 branch from 534911c to 0c17799 Compare October 4, 2018 19:23
@spalladino spalladino added the status:ready-to-merge Order mergify to merge label Oct 4, 2018
@mergify mergify bot merged commit 7231154 into master Oct 5, 2018
@facuspagnuolo facuspagnuolo deleted the feature/check-zosversion-#131 branch October 22, 2018 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready-to-merge Order mergify to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants