Skip to content

Commit

Permalink
fix: bug bounty aip (bgd-labs#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Jul 12, 2023
1 parent d02cbf2 commit 261dd0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ipfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
- name: Run step if any *.md file(s) change
if: steps.changed-files.outputs.any_changed == 'true'
run: |
cat .github/outputs/added_files.json
cat .github/outputs/all_changed_files.json
- name: Upload
if: steps.changed-files.outputs.any_changed == 'true'
env:
PINATA_KEY: ${{ secrets.PINATA_KEY }}
PINATA_SECRET: ${{ secrets.PINATA_SECRET }}
run: |
json_array=($(jq -r '.[]' ".github/outputs/added_files.json"))
json_array=($(jq -r '.[]' ".github/outputs/all_changed_files.json"))
for i in "${json_array[@]}"
do
npx aave-cli ipfs $i -u ${{ github.event_name != 'pull_request'}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ contract DeployEthereum is EthereumScript {
contract CreateProposal is EthereumScript {
function run() external broadcast {
GovHelpers.Payload[] memory payloads = new GovHelpers.Payload[](1);
payloads[0] = GovHelpers.buildMainnet(address(0));
payloads[0] = GovHelpers.buildMainnet(address(0xedA5678486C73EAc27e899a7037D2521BCfF2E1C));
GovHelpers.createProposal(
payloads,
GovHelpers.ipfsHashFile(
vm,
'src/AaveV3_Eth_AaveV3USDTRiskParams_20231107/AaveV3USDTRiskParams.md'
'src/AaveV3_Eth_AaveV3USDTRiskParams_20231107/AaveV3USDTRiskParams.md',
true
)
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3_Eth_BugBounty_20230710/BugBounty.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Transfer outlined amounts to specified addresses.

## References

- Implementation: [Ethereum](src/AaveV3_Eth_BugBounty_20230710/AaveV3_Eth_BugBounty_20230710.sol)
- Tests: [Ethereum](src/AaveV3_Eth_BugBounty_20230710/AaveV3_Eth_BugBounty_20230710.t.sol)
- Implementation: [Ethereum](https://github.com/bgd-labs/aave-proposals/blob/main/src/AaveV3_Eth_BugBounty_20230710/AaveV3_Eth_BugBounty_20230710.sol)
- Tests: [Ethereum](https://github.com/bgd-labs/aave-proposals/blob/main/src/AaveV3_Eth_BugBounty_20230710/AaveV3_Eth_BugBounty_20230710.t.sol)
- [Snapshot](https://snapshot.org/#/aave.eth/proposal/0x6f70e60abd398e1ff04ff6a78cd313b69d47df84e42b790c14c273dc5ab31674)
- [Discussion](https://governance.aave.com/t/bgd-bug-bounties-proposal/13077)

Expand Down

0 comments on commit 261dd0e

Please sign in to comment.