Dear all,
since evaluating periods measured as number of blocks does not work well in test environments such as Remix, for sake of simplicity and for the final term purposes it may be enough to use debug functions to switch between periods.
For example, the Vickrey auction has 4 (+1) phases:
- Initial Grace period
- Commitment phase
- Withdrawal phase
- Opening phase
- (Termination/finalization phase)
You may use one, or more, function(s) to switch between these periods and not use the number of blocks as time constraint.
Hope this will simplify the testing. If someone already did with the blocks, he/she can keep such solution.
Andrea