tezos-commons / baseDAO

BaseDAO - a generic smart contract framework for DAOs on Tezos
57 stars 15 forks source link

[#230] Fix Makefile to use proper current timestamp #231

Closed sras closed 3 years ago

sras commented 3 years ago

Description

Problem: In the storage generation section of Makefile we use 'Tezos.now' to fetch the current timestamp. But it appears that the 'ligo compile' command is not able to fetch the current timestamp properly.

Solution: Use the 'date' command from environment to fetch the unix timestamp and use it as a timestamp during storage generation.

Related issue(s)

Resolves #230

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)