Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Different hashing algorithms in updater and building script #9668

@natlg

Description

@natlg
  • Parity Ethereum version: 2.2.0-nightly
  • Operating system: Linux
  • Installation: built from source
  • Fully synchronized: no
  • Network: POA Sokol
  • Restarted: yes

We have contracts and auto updater server configured for the POA Sokol Network, it worked with the old version of CI. Now after building it pushes a sha256 hash of binary to the Operations contract.
But updater calculates a sha3 hash of binary and it doesn't match. Here is log from our test build:

parity_updater::updater  Unable to fetch update (2.2.0-nightly-0x44c4…21c4): HashMismatch { expected: 0x38db89616c5776c033465d6b7d6401bfab7412e47c1c8db4a2a95e8a8704987b, got: 0x06c38cfb06e9d6d33fba852167c7ed51e45fc4597bd66cc5517e3daeae76a566 }, retrying in 8 seconds.

Tried to use then parity tools hash in the build script , this way it works.

For reproducing you will probably need to add a push-release request to the auto updater server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    F2-bug 🐞The client fails to follow expected behavior.M1-ci 🙉Continuous integration.P2-asap 🌊No need to stop dead in your tracks, however issue should be addressed as soon as possible.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions