Skip to content

Commit 442f4c6

Browse files
authored
Merge pull request #1073 from ethereum-optimism/calculator
Updated Calculator endpoints
2 parents 1a76d48 + d444283 commit 442f4c6

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

components/calculator/ResultsTable.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,11 @@ export function ResultsTable({
108108
<p className="calculator-info calculator-text">
109109
<strong>Note: </strong>This is an estimation,{" "}
110110
<a
111-
href="https://docs.optimism.io/builders/chain-operators/management/blobs#determine-scalar-values-for-using-blobs"
111+
href="/builders/chain-operators/management/blobs#determine-scalar-values-for-using-blobs"
112112
target="_blank"
113113
>
114-
see the Optimism Docs
115-
</a>{" "}
116-
for steps on modifying parameters if needed once the chain is on
117-
mainnet{" "}
114+
read how to determine scalar values using blobs
115+
</a>
118116
</p>
119117
</div>
120118
<div className="results-table-wrap">

utils/calculator-helpers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { transactionTypes } from "./transaction-types";
22

33
const L1GasBaseFee =
4-
"https://static.optimism.io/op-analytics/reference_data/market_data/outputs/suggest_base_fee.txt"; // E76
4+
"https://raw.githubusercontent.com/ethereum-optimism/op-analytics/refs/heads/main/reference_data/market_data/outputs/suggest_base_fee.txt"; // E76
55
const ethToUsdRate =
6-
"https://static.optimism.io/op-analytics/reference_data/market_data/outputs/ethusd.txt"; // E77
6+
"https://raw.githubusercontent.com/ethereum-optimism/op-analytics/refs/heads/main/reference_data/market_data/outputs/ethusd.txt"; // E77
77
const blobBaseFee =
8-
"https://static.optimism.io/op-analytics/reference_data/market_data/outputs/blob_base_fee.txt"; // E78
8+
"https://raw.githubusercontent.com/ethereum-optimism/op-analytics/refs/heads/main/reference_data/market_data/outputs/blob_base_fee.txt"; // E78
99

1010
// transactionsPerDay === E14: number
1111
// comparableTxnType === E15: string

0 commit comments

Comments
 (0)