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): Add ability for Functions ToS migrations #11827

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

justinkaseman
Copy link
Contributor

@justinkaseman justinkaseman commented Jan 19, 2024

No description provided.

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

constructor(TermsOfServiceAllowListConfig memory config) ConfirmedOwner(msg.sender) {
constructor(
TermsOfServiceAllowListConfig memory config,
address[] memory initialAllowedSenders,
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we going to run into gas issues if the allowlist gets too large?

Also, what will the EngOps process be for this contract upgrade?

Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if a "admin add" feature is a better option where the contract owner can manually add people to the allowlist.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be able to just automate all of the process with tooling.

As for size, I was thinking that too. Let me add a unit test to see how many we can reasonably add. I agree that another method will be needed if we need to batch add people.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Repeating from slack thread:
Tested up to 500k addresses via a unit test.
Leaving the unit test out because it does slow down the test suite by 20-30 seconds.

Copy link
Contributor

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

@agparadiso agparadiso force-pushed the feature/FUN-877_persist_data_fetched_from_contracts_allowlist branch from 09e890b to 624c220 Compare January 22, 2024 15:06
@agparadiso agparadiso force-pushed the feature/FUN-877_persist_data_fetched_from_contracts_allowlist branch 7 times, most recently from 4ee343a to e338964 Compare January 24, 2024 14:28
Base automatically changed from feature/FUN-877_persist_data_fetched_from_contracts_allowlist to develop January 24, 2024 17:27
Copy link
Contributor

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

@justinkaseman justinkaseman requested a review from KuphJr February 14, 2024 02:17
KuphJr
KuphJr previously approved these changes Feb 15, 2024
@cl-sonarqube-production
Copy link

@justinkaseman justinkaseman added this pull request to the merge queue Feb 15, 2024
Merged via the queue into develop with commit 21c1ae8 Feb 16, 2024
106 checks passed
@justinkaseman justinkaseman deleted the FUN-1206 branch February 16, 2024 00:00
momentmaker added a commit that referenced this pull request Feb 16, 2024
* develop:
  KS-35: EVM Encoder compatible with consensus capability (#12025)
  (feat): Add ability for Functions ToS migrations (#11827)
  FUN-1247 (refactor): Move Functions Coordinator duplicate request ID check earlier (#12018)
  Add plugins build back into CI (#12054)
  chore: github action version bumps (#12023)
  Bump libocr to fe2ba71b2f0a0b66f95256426fb6b8e2957e1af4 (#12049)
  Pin to latest version chainlink-common (#12053)
  Node API capabilities registry (#12046)
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