-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVS testnet deployment on Holesky (#18)
* update forge-std * deploy avs holesky * AVS holesky deployment * fix: formatting on avs config
- Loading branch information
Showing
8 changed files
with
167 additions
and
59 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
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
Submodule forge-std
updated
13 files
+6 −12 | .github/workflows/ci.yml | |
+3 −1 | .github/workflows/sync.yml | |
+2 −2 | foundry.toml | |
+1 −1 | package.json | |
+1 −1 | src/StdAssertions.sol | |
+9 −7 | src/StdChains.sol | |
+9 −3 | src/StdInvariant.sol | |
+1 −1 | src/StdUtils.sol | |
+119 −6 | src/Vm.sol | |
+1 −5 | src/mocks/MockERC721.sol | |
+9 −7 | test/StdChains.t.sol | |
+1 −1 | test/StdCheats.t.sol | |
+2 −2 | test/Vm.t.sol |
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,16 @@ | ||
{ | ||
"addresses": { | ||
"queryClient": "0x0D8F2217F0D194926AFF15aA9Dc978b920E37F45", | ||
"registryImpl": "0x042B7626ebFf4cAa5bb8D44C26029C260158DAC9", | ||
"registryProxy": "0x4f73289BFffEF7Eed9f284B1E76328beB52c6e37", | ||
"serviceManagerImpl": "0xF221F7faDf301EC9fC1780D5c85F7137D9d11015", | ||
"serviceManagerProxy": "0xf98D5De1014110C65c51b85Ea55f73863215CC10", | ||
"stakeRegistryImpl": "0xBeAd7Fe75B567Ac0fc12526225451eb3F964d834", | ||
"stakeRegistryProxy": "0xf724cDC7C40fd6B59590C624E8F0E5E3843b4BE4", | ||
"storageContract": "0x09C52d2dCdA5724823f5b3bEe93E989B218004Ac" | ||
}, | ||
"chainInfo": { | ||
"chainId": 17000, | ||
"deploymentBlock": 1575368 | ||
} | ||
} |
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,38 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.13; | ||
|
||
import {BaseScript} from "../BaseScript.s.sol"; | ||
import {LPNQueryV0} from "../../src/client/LPNQueryV0.sol"; | ||
import {LPNRegistryV0} from "../../src/LPNRegistryV0.sol"; | ||
import { | ||
PUDGEY_PENGUINS, | ||
isEthereum, | ||
isMainnet | ||
} from "../../src/utils/Constants.sol"; | ||
import {L1BlockNumber} from "../../src/utils/L1Block.sol"; | ||
|
||
contract Stake is BaseScript { | ||
address holeskyWeth = 0x94373a4919B3240D86eA41593D5eBa789FEF3848; | ||
|
||
IMantleEth mantleEth = | ||
IMantleEth(0xbe16244EAe9837219147384c8A7560BA14946262); | ||
|
||
LPNRegistryV0 registry = LPNRegistryV0(getDeployedRegistry()); | ||
LPNQueryV0 queryClient = LPNQueryV0(getDeployedQueryClient()); | ||
|
||
function run() external broadcaster { | ||
stake(); | ||
} | ||
|
||
function stake() private { | ||
// Deposit to get WETH | ||
// holeskyWeth.call{value: 1 ether}(""); | ||
|
||
// Stake to get mETH | ||
mantleEth.stake{value: 100 ether}(0); | ||
} | ||
} | ||
|
||
interface IMantleEth { | ||
function stake(uint256 minMETHAmount) external payable; | ||
} |
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