File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -209,21 +209,6 @@ func TargetBlobsPerBlock(cfg *params.ChainConfig, time uint64) int {
209209 return blobConfig .Target
210210}
211211
212- // TargetBlobGasPerBlock returns the target blob gas that can be spent in a block at the given timestamp.
213- func TargetBlobGasPerBlock (cfg * params.ChainConfig , time uint64 ) uint64 {
214- return uint64 (TargetBlobsPerBlock (cfg , time )) * params .BlobTxBlobGasPerBlob
215- }
216-
217- // LatestTargetBlobsPerBlock returns the latest target blobs per block defined by the
218- // configuration, regardless of the currently active fork.
219- func LatestTargetBlobsPerBlock (cfg * params.ChainConfig ) int {
220- bcfg := latestBlobConfig (cfg , math .MaxUint64 )
221- if bcfg == nil {
222- return 0
223- }
224- return bcfg .Target
225- }
226-
227212// fakeExponential approximates factor * e ** (numerator / denominator) using
228213// Taylor expansion.
229214func fakeExponential (factor , numerator , denominator * big.Int ) * big.Int {
You can’t perform that action at this time.
0 commit comments