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

GasFeePricingUpgradeable #158

Closed
wants to merge 37 commits into from
Closed

Conversation

ChiTimesChi
Copy link
Collaborator

Description

This PR will make GasFeePricing upgradeable. It will also use messaging for cross-chain setups.

Checklist

  • New Contracts have been tested
  • Lint has been run
  • I have checked my code and corrected any misspellings

@coveralls
Copy link

coveralls commented May 20, 2022

Pull Request Test Coverage Report for Build 2378229420

  • 0 of 128 (0.0%) changed or added relevant lines in 4 files are covered.
  • 15 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.5%) to 25.349%

Changes Missing Coverage Covered Lines Changed/Added Lines %
contracts/messaging/libraries/Options.sol 0 9 0.0%
contracts/messaging/libraries/GasFeePricingUpdates.sol 0 11 0.0%
contracts/messaging/framework/SynMessagingReceiverUpgradeable.sol 0 14 0.0%
contracts/messaging/GasFeePricingUpgradeable.sol 0 94 0.0%
Files with Coverage Reduction New Missed Lines %
contracts/messaging/MessageBusSenderUpgradeable.sol 15 0%
Totals Coverage Status
Change from base Build 2360436724: -1.5%
Covered Lines: 664
Relevant Lines: 2418

💛 - Coveralls


event ChainInfoUpdated(uint256 indexed chainId, uint256 gasTokenPrice, uint256 gasUnitPrice);

event MarkupsUpdated(uint256 markupGasDrop, uint256 markupGasUsage);
Copy link
Contributor

Choose a reason for hiding this comment

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

What's a markup (might want to be a little more verbose here)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@trajan0x more clear docs are added in 73d8273

@ChiTimesChi
Copy link
Collaborator Author

More tests are needed, but the contracts should be pretty close to their final form.

@ChiTimesChi ChiTimesChi marked this pull request as ready for review May 24, 2022 14:08
@ChiTimesChi ChiTimesChi mentioned this pull request May 27, 2022
3 tasks
@ChiTimesChi
Copy link
Collaborator Author

Closed in favor of #162

@trajan0x trajan0x deleted the feature/messaging-gas-pricing branch May 28, 2022 01:35
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.

None yet

3 participants