• Mark Tyneway's avatar
    core-utils: `calculateL1Cost` helper · 6d32d701
    Mark Tyneway authored
    Add a helper function for computing the L1 cost.
    It looks byte by byte and sums how much the calldata
    would cost given the calldata costs for 0 or non 0 bytes.
    6d32d701
fees.ts 1.65 KB