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

Issue3 - Some epochs might not get truevals fix this #67

Merged
merged 73 commits into from
Aug 25, 2023

Conversation

trizin
Copy link
Contributor

@trizin trizin commented Aug 22, 2023

Fixes #3

Changes proposed in this PR:

  • Query the slots where trueval does not exist and submit trueval for them. Wait "SLEEP_TIME" seconds between iterations, and limit each iteration to a maximum of "BATCH_SIZE" submissions.

Live logs (Sapphire testnet):

Found 1174 pending slots, processing 10
Processing slot 1692720900 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692720900
Submitted trueval, txhash: 0x7d278619acdc00492b833a673ded44fdc00c751ee4e170fad2a4d750a008250e
Processing slot 1692721200 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692721200
Submitted trueval, txhash: 0xb72817bf22be60d0a1c8bd9089393d390c6b4859fe73bce45ccb7525fc868b3e
Processing slot 1692721500 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692721500
Submitted trueval, txhash: 0xd12bf5ed5a7e19ef49b65f5ba3f61155430853ac52a26fb794cbe02f0c26a24c
Processing slot 1692721800 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692721800
Submitted trueval, txhash: 0x3da71ac453b469acf43e0f32e51a6a2ab44e094c43b244bb7669a7439ff2e45a
Processing slot 1692722100 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692722100
Submitted trueval, txhash: 0x8e9b91f3c7bd90ba3977d988add4756d7df435ce2363048635df53b4f0d0c628
Processing slot 1692722400 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692722400
Submitted trueval, txhash: 0x3dc7c8f6dff018777f674b4b8c5e73b058f14e168f94fb7ceb3ad6e08dd8fd1c
Processing slot 1692722700 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692722700
Submitted trueval, txhash: 0x97c69336e6ffe488983c136b73eff46e70c8a9ec69f937589fdc75c2eea55b3c
Processing slot 1692723000 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692723000
Submitted trueval, txhash: 0x13833d93275e10f1106c5f1f3a8abeaccca800b7895c5337213ad3dfef1a351a
Processing slot 1692723300 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692723300
Submitted trueval, txhash: 0x91aa7e682936e7140034361b719e841a11f56c3abd973bb5a381cd2a80b6728c
Processing slot 1692723600 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692723600
Submitted trueval, txhash: 0xbfafbddbcf1d032fb2075e13cee75e7a3b4864067c39fa9024eb6d381127ca73
Sleeping for 30 seconds...
Found 1164 pending slots, processing 10
Processing slot 1692723900 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692723900
Submitted trueval, txhash: 0x8343f5de3be7477a48016f55caa8bbaaa1a38f1f833075fcc7a26682830bdcb5
Processing slot 1692724200 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692724200
Submitted trueval, txhash: 0x152b0c65f6e391524a5409afa7991277b128fdb917e579c68390f39dad82b0d2
Processing slot 1692724500 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692724500
Submitted trueval, txhash: 0xa735c6bc6ed826c28eb17be6ac00faad0edf41f48af5d517a3d6eb71cf514f18
Processing slot 1692724800 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692724800
Submitted trueval, txhash: 0xeee3bad35ac205ca601659ec20ac4f95a7e328a909d60884ba0ea85086f29d33
Processing slot 1692725100 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692725100
Submitted trueval, txhash: 0x8bb4730a57c04d80fad58fcdc6f5502c7308968ba19d02be13632a9185b8edd0
Processing slot 1692725400 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692725400
Submitted trueval, txhash: 0x9887306436937177a035ab34effa7b10b13d3c124645f90cbfa4ac465c3427f9
Processing slot 1692725700 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692725700
Submitted trueval, txhash: 0xf71c30f1c3dfe414ace128785c19b80a3fe521ee67016dd0c82122f4c660a4dd
Processing slot 1692726000 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692726000
Submitted trueval, txhash: 0xf87511bfc54c137a0d5f6a0b563e7ca3678f605351284cbe9e7eb62e74714ed0
Processing slot 1692726300 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692726300
Submitted trueval, txhash: 0x999e09ff5fa8ef9579ca547c9321b5fd360446d8327ef24526c9dd7e78db9015
Processing slot 1692726600 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692726600
Submitted trueval, txhash: 0xb8bb8976656c7f56cbe091b9d418dbc6a3bd173b3cf2d041793464851f086b72
Sleeping for 30 seconds...
Found 1154 pending slots, processing 10
Processing slot 1692726300 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325
Contract:0x1456C74C421d46af30ef3C8a4F142d2f713aE325 - Submitting true_val True and slot:1692726300
Submitted trueval, txhash: 0x5000f05b515c9a82c4501c085ccb366c5e141315dd4d49e09b88be8635cb9acc
Processing slot 1692726600 for contract 0x1456c74c421d46af30ef3c8a4f142d2f713ae325

@trizin trizin linked an issue Aug 22, 2023 that may be closed by this pull request
@trizin trizin self-assigned this Aug 25, 2023
@trizin trizin requested a review from trentmc August 25, 2023 11:35
@trizin trizin merged commit 2df74f1 into main Aug 25, 2023
5 checks passed
@trizin trizin deleted the issue3-some-epochs-might-not-get-truevals-fix-this branch August 25, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some epochs might not get truevals; fix this
2 participants