From 86570cfcb72f8f2493a9ca18838498b9afd0e0a2 Mon Sep 17 00:00:00 2001 From: NoahMaizels Date: Thu, 9 May 2024 21:29:33 +0700 Subject: [PATCH] revise description --- docs/develop/access-the-swarm/buy-a-stamp-batch.md | 2 +- src/components/AmountAndDepthCalc.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/develop/access-the-swarm/buy-a-stamp-batch.md b/docs/develop/access-the-swarm/buy-a-stamp-batch.md index df66acbe..27a50049 100644 --- a/docs/develop/access-the-swarm/buy-a-stamp-batch.md +++ b/docs/develop/access-the-swarm/buy-a-stamp-batch.md @@ -115,7 +115,7 @@ Depending on the use case, uploaders may desire to use mutable or immutable batc The following postage batch calculators allow you to conveniently find the depth and amount values for a given storage duration and storage volume, or to find the storage duration and storage volume for a given depth and amount. The results will display the cost in xBZZ for the postage batch. The current pricing information is sourced from the Swarmscan API and will vary over time. :::info -The 'effective volume' is the volume of data that can safely stored for each storage depth. The 'theoretical max volume' is significantly lower than the effective volume at lower depths and the two values trend towards the same value at higher depths. The lowest depth with an effective volume above zero is 22, with an effective depth of 4.93 GB. Lower depth values can be used for smaller uploads but do not come with the same effective depth guarantee. [Learn more here](/docs/learn/technology/contracts/postage-stamp#effective-utilisation-table). +The 'effective volume' is the volume of data that can safely stored for each storage depth. The 'theoretical max volume' is significantly lower than the effective volume at lower depths and the two values trend towards the same value at higher depths. The lowest depth with an effective volume above zero is 22, with an effective depth of 4.93 GB. Lower depth values can be used for smaller uploads but do not come with the same storage guarantees. [Learn more here](/docs/learn/technology/contracts/postage-stamp#effective-utilisation-table). ::: ### Depth & Amount to Time & Volume Calculator diff --git a/src/components/AmountAndDepthCalc.js b/src/components/AmountAndDepthCalc.js index 98e9ef64..91877887 100644 --- a/src/components/AmountAndDepthCalc.js +++ b/src/components/AmountAndDepthCalc.js @@ -7,7 +7,6 @@ function FetchPriceComponent() { const [volume, setVolume] = useState(''); const [volumeUnit, setVolumeUnit] = useState('GB'); const [convertedTime, setConvertedTime] = useState(null); - const [convertedVolume, setConvertedVolume] = useState(null); const [depth, setDepth] = useState(null); const [amount, setAmount] = useState(null); const [storageCost, setStorageCost] = useState(null); @@ -105,7 +104,6 @@ function FetchPriceComponent() { if (!hours || !gigabytes) return; setConvertedTime(hours); - setConvertedVolume(gigabytes); calculateDepth(gigabytes); calculateAmount(hours * 3600 / 5); setShowResults(true);