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: use new smart contract SubgraphAvailabilityManager for voting #10

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

Maikol
Copy link
Member

@Maikol Maikol commented Feb 9, 2024

Description

Updated oracle to support new SubgraphAvailabilityManager contract.

Changes

SAO now accepts two configurations:

  • Using ORACLE_INDEX and SUBGRAPH_AVAILABILITY_MANAGER_CONTRACT
  • Using REWARDS_MANAGER_CONTRACT

Base automatically changed from mde/update-dependencies to main February 14, 2024 17:29
@Maikol Maikol force-pushed the mde/interact-with-sam-contract branch from 9a1f0d2 to 9819d4b Compare February 29, 2024 15:00
@Maikol Maikol requested review from Theodus, abarmat and tmigone March 5, 2024 20:43
// 47642,1
//
// 100 is considered as a good chunk size.
for chunk in denied_status.chunks(100) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure it matters today since we probably don't have chunks that big, but do you know if this gas profile was done on mainnet or arbitrum?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, good point, probably done on mainnet, we can update to use a different profile.

Copy link
Member

@Theodus Theodus left a comment

Choose a reason for hiding this comment

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

LGTM

@Maikol Maikol merged commit b8fb5a2 into main Mar 8, 2024
4 checks passed
@Maikol Maikol deleted the mde/interact-with-sam-contract branch March 8, 2024 17:37
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.

3 participants