Skip to content

[Core Protocol] Ecotone fee docs are incorrect and inconsistent #429

Closed Answered by hash1go
deanpress asked this question in Core Protocol
Discussion options

You must be logged in to vote

@deanpress
First, the values you referred are no longer in use.

(even though the baseFee view function in GasOracle on basescan returns 0).

Please refer to this.
That document does not reflect the actual method names of the contract. Therefore, I think it would be best to refer to this specification.

Additionally, the base_fee_scalar and blob_base_fee_scalar have the hardcoded value of 6 applied as decimals. Therefore, you should divide by 10e6. For more details, please refer to this specification.

Based on this, the L1fee should output the actual value.
Upon actual calculation, your L1 fee can be 0.00013 USD.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hash1go
Comment options

Answer selected by sbvegan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-protocol Questions relating to the core protocol and how the OP Stack works. discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
2 participants