lesedi41 (lesedi41)

lesedi41

Protocol Upgrade Architect | Spec-to-Wallet Specialist | Currently bulletproofing the Jovian transition. | Locked Bounties Only. πŸŒΏπŸ›°οΈπŸŒ

0 Followers

Recent casts

Top casts

@lesedi41 Jovian SDK Migration: Solving the Fee Gap Updated the gas estimation logic for the Jovian Hardfork. Key fix: querying daFootprintGasScalar (uint16) & operatorFeeScalar (uint32) directly from L1Block. PR Ref: https://github.com/ethereum-optimism/specs/commit/ed5c781 CC: @jessepollak @jessepollek.base.eth @bountycaster @bountycasterxyz #BuildOnBase (1/2)

  • 0 replies
  • 0 recasts
  • 0 reactions

2/2 The Code: // Jovian Fee Fix const [daS, opS, opC] = await Promise.all([ c.readContract({address:L1, abi:ABI, functionName:'daFootprintGasScalar'}), c.readContract({address:L1, abi:ABI, functionName:'operatorFeeScalar'}), c.readContract({address:L1, abi:ABI, functionName:'operatorFeeConstant'}) ]); const opFee = (gas * BigInt(opS) * 100n) + BigInt(opC); return { opFee, daS };

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses