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

Draft contract change for no native billing in data streams #11928

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
81dff2f
Draft contract change for no native billing in data streams
ad0ll Feb 3, 2024
ee78cb7
PR feedback incl' updating everything to use solidity 0.8.19
ad0ll Feb 5, 2024
4c70442
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Feb 5, 2024
2751fa2
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Feb 12, 2024
7f27431
Node API OCR3 delegate support (#11993)
george-dorin Feb 12, 2024
fb9caa7
Fix solhint
ad0ll Feb 5, 2024
71ef543
Prettier fixes
ad0ll Feb 5, 2024
6c8cde2
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Feb 12, 2024
fcd03a1
Add gas snapshot
ad0ll Feb 12, 2024
4d46bd4
Tweak solc compile script, add geth wrapper for FeeManagerNoNative
ad0ll Feb 12, 2024
e315cf6
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Feb 12, 2024
05044cc
Update e2e test code
lukaszcl Feb 14, 2024
07aa2c5
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Feb 14, 2024
adf5cee
Address audit feedback
ad0ll May 14, 2024
5f59ff5
Resolve merge conflict
ad0ll May 14, 2024
6cd7209
Add blockNativeBilling back to processFeeBulk, fix some comments
ad0ll May 14, 2024
14ba6e8
Merge 6cd72092e8f9a07df39163949c85b20bda14786e into a0e7b7cdd63ecb3f4…
ad0ll May 14, 2024
9f46d4d
Update gethwrappers
app-token-issuer-infra-releng[bot] May 14, 2024
b6e91d2
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Jun 16, 2024
ddb71e9
Update comments in FeeManagerNoNative
ad0ll Jun 16, 2024
3a2343d
Merge branch 'MERC-3331-draft-implement-link-w-eth-billing-contract-c…
ad0ll Jun 16, 2024
0a34f73
Add changelog
ad0ll Jun 16, 2024
27f4307
Merge branch 'develop' into MERC-3331-draft-implement-link-w-eth-bill…
ad0ll Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions contracts/.changeset/lucky-turtles-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/contracts': minor
---

Add FeeManagerNoNative contract to data streams contracts
89 changes: 89 additions & 0 deletions contracts/gas-snapshots/llo-feeds.gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,95 @@ ByteUtilTest:test_readUint32MultiWord() (gas: 3393)
ByteUtilTest:test_readUint32WithEmptyArray() (gas: 3253)
ByteUtilTest:test_readUint32WithNotEnoughBytes() (gas: 3272)
ByteUtilTest:test_readZeroAddress() (gas: 3365)
FeeManagerNoNativeGetFeeAndRewardTest:test_DiscountIsAppliedForNative() (gas: 52667)
FeeManagerNoNativeGetFeeAndRewardTest:test_DiscountIsReturnedForNative() (gas: 52639)
FeeManagerNoNativeGetFeeAndRewardTest:test_DiscountIsReturnedForNativeWithSurcharge() (gas: 78808)
FeeManagerNoNativeGetFeeAndRewardTest:test_baseFeeIsAppliedForLink() (gas: 17190)
FeeManagerNoNativeGetFeeAndRewardTest:test_baseFeeIsAppliedForNative() (gas: 20128)
FeeManagerNoNativeGetFeeAndRewardTest:test_correctDiscountIsAppliedWhenBothTokensAreDiscounted() (gas: 91011)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountAIsNotAppliedWhenSetForOtherUsers() (gas: 56534)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountFeeRoundsDownWhenUneven() (gas: 52847)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsAppliedForLink() (gas: 49636)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsAppliedWith100PercentSurcharge() (gas: 78903)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsNoLongerAppliedAfterRemoving() (gas: 46476)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsNotAppliedForInvalidTokenAddress() (gas: 17560)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsNotAppliedToOtherFeeds() (gas: 54604)
FeeManagerNoNativeGetFeeAndRewardTest:test_discountIsReturnedForLink() (gas: 49608)
FeeManagerNoNativeGetFeeAndRewardTest:test_emptyQuoteRevertsWithError() (gas: 12185)
FeeManagerNoNativeGetFeeAndRewardTest:test_feeIsUpdatedAfterDiscountIsRemoved() (gas: 49757)
FeeManagerNoNativeGetFeeAndRewardTest:test_feeIsUpdatedAfterNewDiscountIsApplied() (gas: 67677)
FeeManagerNoNativeGetFeeAndRewardTest:test_feeIsUpdatedAfterNewSurchargeIsApplied() (gas: 64368)
FeeManagerNoNativeGetFeeAndRewardTest:test_feeIsZeroWith100PercentDiscount() (gas: 52045)
FeeManagerNoNativeGetFeeAndRewardTest:test_getBaseRewardWithLinkQuote() (gas: 17207)
FeeManagerNoNativeGetFeeAndRewardTest:test_getLinkFeeIsRoundedUp() (gas: 49829)
FeeManagerNoNativeGetFeeAndRewardTest:test_getLinkRewardIsSameAsFee() (gas: 55641)
FeeManagerNoNativeGetFeeAndRewardTest:test_getLinkRewardWithNativeQuoteAndSurchargeWithLinkDiscount() (gas: 82765)
FeeManagerNoNativeGetFeeAndRewardTest:test_getRewardWithLinkDiscount() (gas: 49654)
FeeManagerNoNativeGetFeeAndRewardTest:test_getRewardWithLinkQuoteAndLinkDiscount() (gas: 49635)
FeeManagerNoNativeGetFeeAndRewardTest:test_getRewardWithNativeQuote() (gas: 20148)
FeeManagerNoNativeGetFeeAndRewardTest:test_getRewardWithNativeQuoteAndSurcharge() (gas: 50838)
FeeManagerNoNativeGetFeeAndRewardTest:test_nativeSurcharge0Percent() (gas: 30848)
FeeManagerNoNativeGetFeeAndRewardTest:test_nativeSurcharge100Percent() (gas: 50863)
FeeManagerNoNativeGetFeeAndRewardTest:test_nativeSurchargeCannotExceed100Percent() (gas: 17175)
FeeManagerNoNativeGetFeeAndRewardTest:test_nativeSurchargeEventIsEmittedOnUpdate() (gas: 41402)
FeeManagerNoNativeGetFeeAndRewardTest:test_noFeeIsAppliedWhenReportHasZeroFee() (gas: 51868)
FeeManagerNoNativeGetFeeAndRewardTest:test_noFeeIsAppliedWhenReportHasZeroFeeAndDiscountAndSurchargeIsSet() (gas: 78104)
FeeManagerNoNativeGetFeeAndRewardTest:test_nonAdminUserCanNotSetDiscount() (gas: 19849)
FeeManagerNoNativeGetFeeAndRewardTest:test_reportWithNoExpiryOrFeeReturnsZero() (gas: 13613)
FeeManagerNoNativeGetFeeAndRewardTest:test_setDiscountOver100Percent() (gas: 19562)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeFeeRoundsUpWhenUneven() (gas: 51215)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeIsApplied() (gas: 51096)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeIsAppliedForNativeFeeWithDiscount() (gas: 79265)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeIsNoLongerAppliedAfterRemoving() (gas: 47076)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeIsNotAppliedForLinkFee() (gas: 49938)
FeeManagerNoNativeGetFeeAndRewardTest:test_surchargeIsNotAppliedWith100PercentDiscount() (gas: 78261)
FeeManagerNoNativeGetFeeAndRewardTest:test_testRevertIfReportHasExpired() (gas: 14919)
FeeManagerNoNativeProcessFeeBulkTest:test_bulkBlocksNativeBilling() (gas: 48064)
FeeManagerNoNativeProcessFeeBulkTest:test_eventIsEmittedIfNotEnoughLink() (gas: 173691)
FeeManagerNoNativeProcessFeeBulkTest:test_processMultipleLinkReports() (gas: 166830)
FeeManagerNoNativeProcessFeeBulkTest:test_processMultipleV1Reports() (gas: 54335)
FeeManagerNoNativeProcessFeeBulkTest:test_processMultipleWrappedNativeReports() (gas: 239714)
FeeManagerNoNativeProcessFeeBulkTest:test_processV1V2V3Reports() (gas: 207779)
FeeManagerNoNativeProcessFeeBulkTest:test_processV1V2V3ReportsWithWrapped() (gas: 242758)
FeeManagerNoNativeProcessFeeTest:test_V1PayloadVerifies() (gas: 54787)
FeeManagerNoNativeProcessFeeTest:test_V2PayloadVerifies() (gas: 116601)
FeeManagerNoNativeProcessFeeTest:test_V2PayloadWithoutQuoteFails() (gas: 27414)
FeeManagerNoNativeProcessFeeTest:test_V2PayloadWithoutZeroFee() (gas: 70360)
FeeManagerNoNativeProcessFeeTest:test_WithdrawERC20() (gas: 72704)
FeeManagerNoNativeProcessFeeTest:test_WithdrawNonAdminAddr() (gas: 56264)
FeeManagerNoNativeProcessFeeTest:test_WithdrawUnwrappedNative() (gas: 26387)
FeeManagerNoNativeProcessFeeTest:test_blocksNativeBilling() (gas: 37334)
FeeManagerNoNativeProcessFeeTest:test_eventIsEmittedAfterSurchargeIsSet() (gas: 41356)
FeeManagerNoNativeProcessFeeTest:test_eventIsEmittedUponWithdraw() (gas: 68987)
FeeManagerNoNativeProcessFeeTest:test_linkAvailableForPaymentReturnsLinkBalance() (gas: 53192)
FeeManagerNoNativeProcessFeeTest:test_nonAdminProxyUserCannotProcessFee() (gas: 21939)
FeeManagerNoNativeProcessFeeTest:test_payLinkDeficit() (gas: 194351)
FeeManagerNoNativeProcessFeeTest:test_payLinkDeficitOnlyCallableByAdmin() (gas: 17413)
FeeManagerNoNativeProcessFeeTest:test_payLinkDeficitPaysAllFeesProcessed() (gas: 214616)
FeeManagerNoNativeProcessFeeTest:test_payLinkDeficitTwice() (gas: 198724)
FeeManagerNoNativeProcessFeeTest:test_processFeeAsProxy() (gas: 117006)
FeeManagerNoNativeProcessFeeTest:test_processFeeDefaultReportsStillVerifiesWithEmptyQuote() (gas: 55178)
FeeManagerNoNativeProcessFeeTest:test_processFeeEmitsEventIfNotEnoughLink() (gas: 163151)
FeeManagerNoNativeProcessFeeTest:test_processFeeIfSubscriberIsSelf() (gas: 27874)
FeeManagerNoNativeProcessFeeTest:test_processFeeNative() (gas: 173728)
FeeManagerNoNativeProcessFeeTest:test_processFeeUsesCorrectDigest() (gas: 118319)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithDefaultReportPayloadAndQuoteStillVerifies() (gas: 57274)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithDiscountEmitsEvent() (gas: 241299)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithInvalidReportVersionFailsToDecode() (gas: 28469)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithNoDiscountDoesNotEmitEvent() (gas: 166655)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithUnwrappedNativeLinkAddress() (gas: 107011)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithUnwrappedNativeWithExcessiveFee() (gas: 174389)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithWithCorruptQuotePayload() (gas: 70671)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithWithEmptyQuotePayload() (gas: 27752)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithWithZeroQuotePayload() (gas: 27780)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithWrappedNative() (gas: 178836)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithWrappedNativeLinkAddressExcessiveFee() (gas: 132509)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithZeroLinkNonZeroNativeWithLinkQuote() (gas: 61681)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithZeroLinkNonZeroNativeWithNativeQuote() (gas: 153560)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithZeroNativeNonZeroLinkReturnsChange() (gas: 62168)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithZeroNativeNonZeroLinkWithLinkQuote() (gas: 116939)
FeeManagerNoNativeProcessFeeTest:test_processFeeWithZeroNativeNonZeroLinkWithNativeQuote() (gas: 67877)
FeeManagerNoNativeProcessFeeTest:test_subscriberDiscountEventIsEmittedOnUpdate() (gas: 46239)
FeeManagerProcessFeeTest:test_DiscountIsAppliedForNative() (gas: 52645)
FeeManagerProcessFeeTest:test_DiscountIsReturnedForNative() (gas: 52595)
FeeManagerProcessFeeTest:test_DiscountIsReturnedForNativeWithSurcharge() (gas: 78808)
Expand Down
Loading
Loading