feat: Improve jaeger traces on the aggregator #1603
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve jaeger traces on the aggregator
Description
This PR makes two modifications on the event traces generated while responding to a task on the aggregator:
Bump gas priceevent, in favor ofGas price setso we not only get information of the used gas prices when a bump occurs, but also on the first attempt.effective_gas_priceattribute to theTask Sent to Ethereumevent, so we know exactly what was the gas price fee after sending the transaction (which may be lower than the one specified, see EIP-1559)LogTaskErroronsendAggregatedResponseas it was being duplicatedHow to test
First test, normal behavior
make batcher_send_sp1_taskSecond test, retry behavior
avs_writer.gomake batcher_send_sp1_taskType of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging