OpenST / openst-contracts

OpenST is a framework for building token economies on Ethereum
Apache License 2.0
26 stars 19 forks source link

Ensure contracts backward compatibility against published release. #194

Open pgev opened 5 years ago

pgev commented 5 years ago

As a release manager I want release's acceptance tests to fail in case of breaking changes in contracts' interfaces so that I can block the release.

pgev commented 5 years ago

A proposed solution:

The external facing contracts are the ones that we include in npm package. This list is defined in ./npm_package/contract_names.json file.

./tools/generate_external_contract_abis.sh --output-dir <output-dir-path>
./tools/generate_external_contract_abis.sh --output-dir ./test/data/external_contract_abis

for the latest published release and commit the generated ABIs into develop.