Skip to content

Commit

Permalink
adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
infiloop2 committed Feb 16, 2024
1 parent 536dfdb commit d401fc6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ abstract contract AutomationRegistryBase2_2 is ConfirmedOwner {
uint256 internal constant REGISTRY_LOG_OVERHEAD = 87_000; // Fixed gas overhead for log upkeeps
uint256 internal constant REGISTRY_PER_SIGNER_GAS_OVERHEAD = 5_800; // Value scales with f
uint256 internal constant REGISTRY_PER_PERFORM_BYTE_GAS_OVERHEAD = 22; // Per perform data byte overhead

// The overhead (in bytes) in addition to perform data for upkeep sent in calldata
// This includes overhead for all struct encoding as well as report signatures
// There is a fixed component and a per signer component
// There is a fixed component and a per signer component. This is calculated exactly by doing abi encoding
uint256 internal constant TRANSMIT_CALLDATA_FIXED_BYTES_OVERHEAD = 932;
uint256 internal constant TRANSMIT_CALLDATA_PER_SIGNER_BYTES_OVERHEAD = 64;

Expand Down

0 comments on commit d401fc6

Please sign in to comment.