Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1139 - [test_submit_prediction_and_payout] Increase prediction epoch #1178

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_submit_prediction_and_payout(
current_epoch = feed_contract1.get_current_epoch_ts()

# set prediction epoch
prediction_epoch = UnixTimeS(current_epoch + S_PER_EPOCH * 2)
prediction_epoch = UnixTimeS(current_epoch + S_PER_EPOCH * 3)

# get the OCEAN balance of the owner before submitting
bal_before = OCEAN.balanceOf(web3_config.owner)
Expand Down Expand Up @@ -170,7 +170,7 @@ def test_submit_prediction_and_payout(

# fast forward time to get payout
web3_config.w3.provider.make_request(
RPCEndpoint("evm_increaseTime"), [S_PER_EPOCH * 4]
RPCEndpoint("evm_increaseTime"), [S_PER_EPOCH * 5]
)
web3_config.w3.provider.make_request(RPCEndpoint("evm_mine"), [])

Expand Down
Loading