Skip to content

Commit

Permalink
fix number for max alllocated gas accumulation
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-romano committed Jan 16, 2025
1 parent bb5580d commit 87bcfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
SizeOfSegment = 4104 // WG = WP*WE = 4104: The size of a segment in octets.
MaxWorkPackageSize = 12 * 1 << 20 // WB = 12 MB: The maximum size of an encoded work-package in octets (including extrinsic data and import implications).
ErasureCodingChunkSize = 684 // WE = 684: The basic size of erasure-coded pieces in octets.
MaxAllocatedGasAccumulation = 10_00_000 // GA: The gas allocated to invoke a work-report’s Accumulation logic.
MaxAllocatedGasAccumulation = 10_000_000 // GA: The gas allocated to invoke a work-report’s Accumulation logic.
MaxAllocatedGasIsAuthorized = 50_000_000 // GI: The gas allocated to invoke a work-package’s Is-Authorized logic.
WorkReportMaxSumOfDependencies = 8 // (J) The maximum sum of dependency items in a work-report.
MinWorkPackageResultsSize = 1 // () The minimum amount of work items in a package.
Expand Down

0 comments on commit 87bcfd2

Please sign in to comment.