osmosis-labs / test-tube

Test tube for cosmos-sdk chains integration test, written in Rust!
Apache License 2.0
54 stars 33 forks source link

Made initial timestamp fixed. #18

Closed maxrobot closed 1 year ago

maxrobot commented 1 year ago

description:

In this PR I made the initial timestamp static, fixing it as in cosmwasm_std::testing::mock_env.

rationale:

This is more useful for myself as it allows me to more easily test some parameters and calculation that depend on block timestamps. I hope it is also helpful for others.

questions:

Are there any additional features required to complete issue #4? Please let me know if so and if I am capable I will happily include them in this PR.

maxrobot commented 1 year ago

@iboss-ptk ok, as discussed in TG I removed the magic numbers ;)

I still wouldn't mind to have seconds be more easily returned but lmk if you like this addition or not.

iboss-ptk commented 1 year ago

LGTM!