Closed cjcobb23 closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.40%. Comparing base (
a64c6e0
) to head (de12e73
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
https://axelarnetwork.atlassian.net/browse/AXE-4318
Prior to this, the gas cost of each vote was more than prior votes in the same poll. Performance testing with 25 verifiers showed later votes costing over 100% more gas than earlier votes, which was causing out of gas errors. This PR makes the gas cost of each vote constant, except for the vote that achieves quorum. In testing with 25 verifiers and 20 messages in a batch, the vote that achieves quorum cost 6% more gas than other votes.