You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As some transactions execute TIMESTAMP opcode it is needed to set the timestamp of the current block that is being mined with that transaction so that a transaction could calculate the desired TIMESTAMP value;
First set the timestamp of the current block. Then calculate some transaction with that timestamp.
Then finish and calculate the post state hash of a new block.
*This is basically needed to check that TIMESTAMP related tests has a determined results. But is might be not a good solution so far. A disscussion is welcome.
The text was updated successfully, but these errors were encountered:
void test_modifyTimestamp(int _timestamp)
As some transactions execute TIMESTAMP opcode it is needed to set the timestamp of the current block that is being mined with that transaction so that a transaction could calculate the desired TIMESTAMP value;
The RPC call sequence is following:
First set the timestamp of the current block. Then calculate some transaction with that timestamp.
Then finish and calculate the post state hash of a new block.
*This is basically needed to check that TIMESTAMP related tests has a determined results. But is might be not a good solution so far. A disscussion is welcome.
The text was updated successfully, but these errors were encountered: