Chris Hitchcott (Digix Core Dev)

Why was Tempo created?

Tempo allows us to easily test time sensitive code in our Solidity contracts such as storage fee and demurrage operations of DGX within the TestRPC environment.

A tool to simplify time management in EVM Tests

There are different APIs for traversing time in tests that run against testrpc as well as a 'regular' EVM.

Tempo provides a simple interface for ‘fast-forwarding’ time (mining blocks) that will transparently fallback to regular mining when TestRPC is not available.

Example