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: subgraph availability manager contract #882

Merged
merged 40 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ad358fb
feat: subgraph availability manager contract
Maikol Nov 16, 2023
77e8dc3
feat: vote denied many
Maikol Nov 20, 2023
1805cd9
fix: pr feedback changes
Maikol Nov 24, 2023
f4942f2
fix: use natspec for state variables comments
Maikol Nov 27, 2023
fa9b153
fix: use currentNonce to refresh votes, init oracles with valid addre…
Maikol Nov 27, 2023
08e269f
fix: update functions docs
Maikol Nov 28, 2023
35f6392
fix: removed unnecessary code in tests
Maikol Nov 28, 2023
0896337
fix: typo, comments and changed maxOracles to be a constant
Maikol Dec 8, 2023
ad4baec
fix: change constant variable name to match style guide
Maikol Dec 11, 2023
a67ad20
chore: deploy to staging
Maikol Dec 21, 2023
ddbcc86
fix: emit oracle set event on init
Maikol Dec 21, 2023
48ffb3a
Merge remote-tracking branch 'origin/main' into mde/sam-contract
Maikol Jan 9, 2024
26f1c7a
fix: change mapping for an array to make storage cheaper
Maikol Jan 9, 2024
eeeb314
fix: update comments
Maikol Jan 10, 2024
1ad7935
fix: make currentNonce public
Maikol Jan 10, 2024
fbdf6af
fix: added input validation for executionThreshold (OZ L-01)
Maikol Feb 1, 2024
94e6d05
docs: added missing docstrings for events (OZ L-03)
Maikol Feb 1, 2024
9f9db2e
fix: change OracleVote event order (OZ N-01)
Maikol Feb 1, 2024
f2aa2fa
fix: gas optimization (OZ N-02)
Maikol Feb 1, 2024
a52066c
fix: clear vote for earlier rounds (OZ L-02)
Maikol Feb 2, 2024
1ce46f0
fix: change to if/else
Maikol Feb 2, 2024
ef35364
fix: remove setDeniedMany since it's unused (OZ N-03)
Maikol Feb 2, 2024
9562b28
Merge pull request #935 from graphprotocol/mde/pr935-fix-oz-l-01
Maikol Feb 20, 2024
fa9d0cb
Merge pull request #936 from graphprotocol/mde/pr936-fix-oz-l-03
Maikol Feb 20, 2024
0c547c4
Merge pull request #937 from graphprotocol/mde/pr937-fix-oz-n-01
Maikol Feb 20, 2024
0698989
Merge pull request #938 from graphprotocol/mde/pr938-fix-oz-n-02
Maikol Feb 20, 2024
374e387
Merge pull request #939 from graphprotocol/mde/pr939-fix-oz-l-02
Maikol Feb 20, 2024
58463a8
Merge pull request #940 from graphprotocol/mde/pr400-fix-ox-n-03
Maikol Feb 20, 2024
06885f3
Merge branch 'main' into mde/sam-contract
Maikol Mar 13, 2024
bcf6957
fix: indentation
Maikol Mar 13, 2024
4c01fc4
chore: deploy to arbitrum-sepolia and remove sepolia
Maikol Mar 12, 2024
87bb02d
fix: remove debugging log
Maikol Mar 12, 2024
b24377e
fix: e2e tests
Maikol Mar 13, 2024
09271fd
fix: building error
Maikol Mar 13, 2024
6428bda
fix: update deployment
Maikol May 1, 2024
b45b21f
fix: new deployment
Maikol May 2, 2024
152521b
chore: testnet deployment
Maikol May 30, 2024
113fe69
fix: testnet deployment
Maikol May 30, 2024
19faf45
chore: deploy SAM to arbitrum-one
Maikol Jun 20, 2024
7fe43b8
Merge pull request #961 from graphprotocol/mde/sam-contract-deployments
Maikol Jun 21, 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
Prev Previous commit
Next Next commit
fix: update functions docs
Maikol committed Dec 21, 2023
commit 08e269f8f7feb54bdce9fa6eeec8d299d295c5c5
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ contract SubgraphAvailabilityManager is Governed {
// -- Functions --

/**
* @dev Set the vote time limit
* @dev Set the vote time limit. Refreshes all existing votes by incrementing the current nonce.
* @param _voteTimeLimit Vote time limit in seconds
*/
function setVoteTimeLimit(uint256 _voteTimeLimit) external onlyGovernor {
@@ -124,7 +124,7 @@ contract SubgraphAvailabilityManager is Governed {
}

/**
* @dev Set oracle address with index
* @dev Set oracle address with index. Refreshes all existing votes by incrementing the current nonce.
* @param _index Index of the oracle
* @param _oracle Address of the oracle
*/