-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sync/dao-master
- Loading branch information
Showing
821 changed files
with
48,717 additions
and
95,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# RPC URL for a locally running node (Ganache, Anvil, Hardhat Network, etc.), used for scratch deployment and tests | ||
LOCAL_RPC_URL=http://localhost:8555 | ||
|
||
LOCAL_LOCATOR_ADDRESS= | ||
LOCAL_AGENT_ADDRESS= | ||
LOCAL_VOTING_ADDRESS= | ||
LOCAL_EASY_TRACK_EXECUTOR_ADDRESS= | ||
LOCAL_ACCOUNTING_ORACLE_ADDRESS= | ||
LOCAL_ACL_ADDRESS= | ||
LOCAL_BURNER_ADDRESS= | ||
LOCAL_DEPOSIT_SECURITY_MODULE_ADDRESS= | ||
LOCAL_EL_REWARDS_VAULT_ADDRESS= | ||
LOCAL_HASH_CONSENSUS_ADDRESS= | ||
LOCAL_KERNEL_ADDRESS= | ||
LOCAL_LEGACY_ORACLE_ADDRESS= | ||
LOCAL_LIDO_ADDRESS= | ||
LOCAL_NOR_ADDRESS= | ||
LOCAL_ORACLE_DAEMON_CONFIG_ADDRESS= | ||
LOCAL_ORACLE_REPORT_SANITY_CHECKER_ADDRESS= | ||
LOCAL_SDVT_ADDRESS= | ||
LOCAL_STAKING_ROUTER_ADDRESS= | ||
LOCAL_VALIDATORS_EXIT_BUS_ORACLE_ADDRESS= | ||
LOCAL_WITHDRAWAL_QUEUE_ADDRESS= | ||
LOCAL_WITHDRAWAL_VAULT_ADDRESS= | ||
|
||
# RPC URL for a separate, non Hardhat Network node (Anvil, Infura, Alchemy, etc.) | ||
MAINNET_RPC_URL=http://localhost:8545 | ||
# RPC URL for Hardhat Network forking, required for running tests on mainnet fork with tracing (Infura, Alchemy, etc.) | ||
# https://hardhat.org/hardhat-network/docs/guides/forking-other-networks#forking-other-networks | ||
MAINNET_FORKING_URL= | ||
|
||
# https://docs.lido.fi/deployed-contracts | ||
MAINNET_LOCATOR_ADDRESS=0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb | ||
MAINNET_AGENT_ADDRESS=0x3e40D73EB977Dc6a537aF587D48316feE66E9C8c | ||
MAINNET_VOTING_ADDRESS=0x2e59A20f205bB85a89C53f1936454680651E618e | ||
MAINNET_EASY_TRACK_EXECUTOR_ADDRESS=0xFE5986E06210aC1eCC1aDCafc0cc7f8D63B3F977 | ||
MAINNET_ACCOUNTING_ORACLE_ADDRESS= | ||
MAINNET_ACL_ADDRESS= | ||
MAINNET_BURNER_ADDRESS= | ||
MAINNET_DEPOSIT_SECURITY_MODULE_ADDRESS= | ||
MAINNET_EL_REWARDS_VAULT_ADDRESS= | ||
MAINNET_HASH_CONSENSUS_ADDRESS= | ||
MAINNET_KERNEL_ADDRESS= | ||
MAINNET_LEGACY_ORACLE_ADDRESS= | ||
MAINNET_LIDO_ADDRESS= | ||
MAINNET_NOR_ADDRESS= | ||
MAINNET_ORACLE_DAEMON_CONFIG_ADDRESS= | ||
MAINNET_ORACLE_REPORT_SANITY_CHECKER_ADDRESS= | ||
MAINNET_SDVT_ADDRESS= | ||
MAINNET_STAKING_ROUTER_ADDRESS= | ||
MAINNET_VALIDATORS_EXIT_BUS_ORACLE_ADDRESS= | ||
MAINNET_WITHDRAWAL_QUEUE_ADDRESS= | ||
MAINNET_WITHDRAWAL_VAULT_ADDRESS= | ||
|
||
# Scratch deployment via hardhat variables | ||
DEPLOYER=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 | ||
GENESIS_TIME=1639659600 | ||
GAS_PRIORITY_FEE=1 | ||
GAS_MAX_FEE=100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
*.sol linguist-language=Solidity | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.yarn/plugins/**/* binary | ||
/.pnp.* binary linguist-generated |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# CODEOWNERS: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
# Any PR to `master` branch with changes to production contracts notifies the protocol team | ||
/contracts/ @lidofinance/lido-eth-protocol | ||
|
||
# Any PR to `master` branch with changes to GitHub workflows notifies the workflow review team | ||
/.github/workflows/ @lidofinance/review-gh-workflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Contract Bug Report | ||
description: File a bug report in a contract. | ||
title: "[Bug]: " | ||
labels: ["bug", "contracts"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
⚠️ Important! If the bug may potentially lead to loss of user funds, denial of service, governance hijacks, data breaches, and data leaks, please refer to [Lido Bug Bounty](https://immunefi.com/bug-bounty/lido/information/). | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
description: Short summary of the bug | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected Behavior | ||
description: Expected behavior of the contract without the bug | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Impact | ||
attributes: | ||
label: Potential Impact | ||
description: Bug's impact and possible consequences | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Steps to Reproduce | ||
description: Instructions to reproduce the bug | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Possible Solutions | ||
description: Possible ways to fix the bug | ||
validations: | ||
required: false | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Guidelines | ||
options: | ||
- label: I agree to follow [Code of Conduct](https://github.com/lidofinance/core/blob/master/CODE_OF_CONDUCT.md). | ||
required: true | ||
- label: I have read [Lido Contribution Guide](https://github.com/lidofinance/core/blob/master/CONTRIBUTING.md). | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Feature Request | ||
description: Submit a feature request. | ||
title: "[Feature Request]: " | ||
labels: ["enhancement"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request form! | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
description: Short summary of the feature | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Problem | ||
description: Existing problem that the feature solves | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: implementation | ||
attributes: | ||
label: Implementation | ||
description: Possible ways to implement this feature | ||
validations: | ||
required: false | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Guidelines | ||
options: | ||
- label: I agree to follow [Code of Conduct](https://github.com/lidofinance/core/blob/master/CODE_OF_CONDUCT.md). | ||
required: true | ||
- label: I have read [Lido Contribution Guide](https://github.com/lidofinance/core/blob/master/CONTRIBUTING.md). | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
A short summary of the changes. | ||
|
||
## Context | ||
|
||
What the reviewer needs to know | ||
|
||
## Problem | ||
|
||
What problem this PR solves, link relevant issue if it exists | ||
|
||
## Solution | ||
|
||
Your proposed solution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.