Uh oh!
There was an error while loading. Please reload this page.
feat: task sender with slack updates and pager duty alerts - #1633
Conversation
fix: paths feat: add repetitions as parameter
chore: disable alerts
…o-pager-duty-on-failed-tasks
chore: use pk
feat: use nonce to generate proof
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
JulianVentura
commented
Dec 18, 2024
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…o-pager-duty-on-failed-tasks-v2
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com> Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com> Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com> Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com> Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Modify how spent amount is calculated on task sender
Description
We have the task sender configured to send proofs periodically. After a new batch of proofs is verified, a slack message is sent notifying the cost of this submission and verification. The reported cost is associated with the
Fee per proofvariable, which is alright for the users, but not in this case. We just want to know how much did we spend only by creating the task and responding to it, without any fee to the batcher. This PR accomplishes that, by fetching the transaction receipts and calculating the exact fees.At the same time, some environment variables were added so it's easy to test this feature on different environments
How to test
send_slack_messagefunction onsender_with_alert.shwith the following:.envfile underalertsdirectory, using.env.exampleas a template./alerts/sender_with_alert.sh ./alerts/.envfee_per_proof * number_of_proofs, which you can see on the explorermax_batch_proof_qtyvariable under thetry_build_batchfunction on the batcher, so that the amount of proofs sent is split between two batches.max_batch_proof_qty, so the second batch doesn't have the same merkle root as the first one. For example,max_batch_proof_qty=7,repetitions=12.How to calculate by hand
gasUsedandeffectiveGasPriceType of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging