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
I checked the documentation and found no answer to my problem.
I checked the existing issues to make sure my problem has not already been reported.
Expected Behavior
I expect the block.time.seconds() to go up about 1 every second
Current Behavior
If I run the node replacing 5 in the timeout_commit config with 0.25, then time rises about twice as quickly as realtime in the contracts. My initialisation script does this: sed -i 's/timeout_commit = "5s"/timeout_commit = "0.25s"/g' ~/.fetchd/config/config.toml
prior to calling fetchd start
I then ran a python script which every second queried a contract which returned the block.time. This is the table:
These 3 seconds seem to match the timeout_propose parameter default value. You can try to adjust this as well. Other than this I have no clue how to configure tendermint to achieve what you want, probably worth you ask over https://github.com/tendermint/tendermint or reach on cosmos discord someone to help you.
Prerequisites
Expected Behavior
I expect the block.time.seconds() to go up about 1 every second
Current Behavior
If I run the node replacing 5 in the timeout_commit config with 0.25, then time rises about twice as quickly as realtime in the contracts. My initialisation script does this:
sed -i 's/timeout_commit = "5s"/timeout_commit = "0.25s"/g' ~/.fetchd/config/config.toml
prior to calling fetchd start
I then ran a python script which every second queried a contract which returned the block.time. This is the table:
You can see that the contract time rises about twice as fast as the realtime (measured in python).
This is only an issue when the timeout_commit time is < 1. However, this is kind of crucial for us otherwise development becomes impossibly slow.
To Reproduce
Talk to Diarmid and I can point you to code.
Context
OSX
Fetchd version (docker image) image: fetchai/fetchd:0.9.0-rc4
Failure Logs
No response
The text was updated successfully, but these errors were encountered: