Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(contracts/core): add fee oracle v2 #1952

Merged
merged 1 commit into from
Sep 27, 2024
Merged

feat(contracts/core): add fee oracle v2 #1952

merged 1 commit into from
Sep 27, 2024

Conversation

kevinhalliday
Copy link
Contributor

Add FeeOracleV2 contract.

  • fee oracle v2 uses explicit data & exec gas prices per chain
  • add version() view on fee oracles

issue: #1951

/**
* @notice Base gas limit for each xmsg.
*/
uint64 public baseGasLimit;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a bit more descriptive name - I actually don't know what this is referring to. Is it the minimum gas limit a developer can set?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No that's xmsgMinGasLimit in the portal .

baseGasLimit is the base gas limit we charge for each xmsg, to account for overhead.

@kevinhalliday kevinhalliday force-pushed the kh/feeoraclev2 branch 4 times, most recently from 80c896f to 3f84a12 Compare September 27, 2024 14:34
@kevinhalliday kevinhalliday merged commit 7013787 into main Sep 27, 2024
18 checks passed
@kevinhalliday kevinhalliday deleted the kh/feeoraclev2 branch September 27, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants