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

Removes the timestamp part of the abigen comment #352

Merged

Conversation

maoueh
Copy link
Contributor

@maoueh maoueh commented Jan 8, 2019

The abigen adds a comment to the generated ABI file. This comment includes a timestamp information at which time the ABI file was generated. This is problematic when trying to reproduce an exact identical ABI file since the timestamp will make the file looks different.

This PR removes the actual timestamp information from the comment and only keep the static text instead.

By not having the timestamp, someone can checkout a particular tag, perform the build step and validate that the sha256 of the ABI file has not changed.

The abigen adds a comment to the generated ABI file. This comment
includes a timestamp information at which time the ABI file was generated.
This is problematic when trying to reproduce an exact identical ABI file
since the timestamp will make the file looks different.

This PR removes the actual timestamp information from the comment and
only keep the static text instead.

By not having the timestamp, someone can checkout a particular tag,
perform the build step and validate that the sha256 of the ABI file has
not changed.
@larryk85 larryk85 merged commit 0ac8fac into EOSIO:develop Feb 1, 2019
@maoueh maoueh deleted the feature/remove-abigen-comment-timestamp branch February 1, 2019 14:47
rise-worlds pushed a commit to potato-coin/eosio.cdt that referenced this pull request Jul 14, 2020
…ment-timestamp

Removes the timestamp part of the abigen comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants