Skip to content

Commit

Permalink
update anvil state
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasArrachea committed Dec 23, 2024
1 parent c878a6b commit 4b976ac
Show file tree
Hide file tree
Showing 5 changed files with 14,712 additions and 12 deletions.
14,665 changes: 14,664 additions & 1 deletion crates/contracts/anvil/dump_state.json/state.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions crates/contracts/script/DeployMockAvs.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ contract DeployMockAvs {
erc20Mock
)
);
StrategyManager(_configData.strategyManager).depositIntoStrategy(
_mockAvsStrategy,
erc20Mock,
10e18
);
MockAvsDeploymentLib.DeploymentData
memory depData = MockAvsDeploymentLib.deployContracts(
_proxyAdmin,
Expand All @@ -64,6 +59,11 @@ contract DeployMockAvs {
avsconfig,
msg.sender
);
StrategyManager(_configData.strategyManager).depositIntoStrategy(
_mockAvsStrategy,
erc20Mock,
10e18
);
IStrategy(
StrategyFactory(_configData.strategyFactory).deployNewStrategy(
erc20MockRewards
Expand Down
24 changes: 23 additions & 1 deletion crates/contracts/script/deployments/core/31337.json
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
{"lastUpdate":{"timestamp":"1734392437","block_number":"1"},"addresses":{"proxyAdmin":"0xe7f1725e7734ce288f8367e1bb143e90bb3f0512","delegation":"0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9","delegationManagerImpl":"0xa85233c63b9ee964add6f2cffe00fd84eb32338f","avsDirectory":"0xb7f8bc63bbcad18155201308c8f3540b07f84f5e","avsDirectoryImpl":"0x7a2088a1bfc9d81c55368ae168c2c02570cb814f","strategyManager":"0xa513e6e4b8f2a923d98304ec87f64353c4d5c853","strategyManagerImpl":"0x09635f643e140090a9a8dcd712ed6285858cebef","eigenPodManager":"0x59b670e9fa9d0a427751af201d676719a970857b","eigenPodManagerImpl":"0xe6e340d132b5f46d1e472debcd681b2abc16e57e","strategyFactory":"0x3aa5ebb10dc797cac828524e59a333d0a371443c","rewardsCoordinator":"0x0dcd1bf9a1b36ce34237eeafef220932846bcd82","strategyBeacon":"0x1613beb3b2c4f22ee086b2b38c1476a3ce7f78e8","pauserRegistry":"0x9a9f2ccfde556a7e9ff0848998aa4a0cfd8863ae","allocationManager":"0x8a791620dd6260079bf849dc5567adc3f2fdc318"}}
{
"lastUpdate": {
"timestamp": "1734970590",
"block_number": "1"
},
"addresses": {
"proxyAdmin": "0xe7f1725e7734ce288f8367e1bb143e90bb3f0512",
"delegation": "0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9",
"delegationManagerImpl": "0xa85233c63b9ee964add6f2cffe00fd84eb32338f",
"avsDirectory": "0xb7f8bc63bbcad18155201308c8f3540b07f84f5e",
"avsDirectoryImpl": "0x7a2088a1bfc9d81c55368ae168c2c02570cb814f",
"strategyManager": "0xa513e6e4b8f2a923d98304ec87f64353c4d5c853",
"strategyManagerImpl": "0x09635f643e140090a9a8dcd712ed6285858cebef",
"eigenPodManager": "0x59b670e9fa9d0a427751af201d676719a970857b",
"eigenPodManagerImpl": "0xe6e340d132b5f46d1e472debcd681b2abc16e57e",
"strategyFactory": "0x3aa5ebb10dc797cac828524e59a333d0a371443c",
"rewardsCoordinator": "0x0dcd1bf9a1b36ce34237eeafef220932846bcd82",
"strategyBeacon": "0x1613beb3b2c4f22ee086b2b38c1476a3ce7f78e8",
"pauserRegistry": "0x9a9f2ccfde556a7e9ff0848998aa4a0cfd8863ae",
"allocationManager": "0x8a791620dd6260079bf849dc5567adc3f2fdc318",
"permissionController": "0x322813fd9a801c5507c9de605d63cea4f2ce6c44"
}
}
20 changes: 19 additions & 1 deletion crates/contracts/script/deployments/mock-avs/31337.json
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
{"lastUpdate":{"timestamp":"1734392439","block_number":"45"},"addresses":{"proxyAdmin":"0x5eb3bc0a489c5a8288765d2336659ebca68fcd00","MockAvsServiceManager":"0xb7278a61aa25c888815afc32ad3cc52ff24fe575","MockAvsServiceManagerImpl":"0x21df544947ba3e8b3c32561399e88b52dc8b2823","registryCoordinator":"0x7969c5ed335650692bc04293b07f5bf2e7a673c0","blsapkRegistry":"0xc351628eb244ec633d5f21fbd6621e1a683b1181","indexRegistry":"0xcbeaf3bde82155f56486fb5a1072cb8baaf547cc","stakeRegistry":"0x82e01223d51eb87e16a03e24687edf0f294da6f1","operatorStateRetriever":"0x1429859428c0abc9c2c47c8ee9fbaf82cfa0f20f","strategy":"0xec4cfde48eadca2bc63e94bb437bbeace1371bf3","token":"0x36c02da8a0983159322a80ffe9f24b1acff8b570","tokenRewards":"0x809d550fca64d94bd9f66e60752a544199cfac3d"}}
{
"lastUpdate": {
"timestamp": "1734970592",
"block_number": "45"
},
"addresses": {
"proxyAdmin": "0x5eb3bc0a489c5a8288765d2336659ebca68fcd00",
"MockAvsServiceManager": "0xb7278a61aa25c888815afc32ad3cc52ff24fe575",
"MockAvsServiceManagerImpl": "0x21df544947ba3e8b3c32561399e88b52dc8b2823",
"registryCoordinator": "0x7969c5ed335650692bc04293b07f5bf2e7a673c0",
"blsapkRegistry": "0xc351628eb244ec633d5f21fbd6621e1a683b1181",
"indexRegistry": "0xcbeaf3bde82155f56486fb5a1072cb8baaf547cc",
"stakeRegistry": "0x82e01223d51eb87e16a03e24687edf0f294da6f1",
"operatorStateRetriever": "0x1429859428c0abc9c2c47c8ee9fbaf82cfa0f20f",
"strategy": "0xec4cfde48eadca2bc63e94bb437bbeace1371bf3",
"token": "0x36c02da8a0983159322a80ffe9f24b1acff8b570",
"tokenRewards": "0x7fbfdd1dfd80730385aee232cc9f79b8ae12a654"
}
}
5 changes: 1 addition & 4 deletions testing/testing-utils/src/anvil_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ use alloy::sol;
use alloy_primitives::{address, Address};
use alloy_signer_local::PrivateKeySigner;
use eigen_utils::delegationmanager::DelegationManager;
use eigen_utils::{
get_provider,
get_signer,
};
use eigen_utils::{get_provider, get_signer};
sol! {
#[derive(Debug)]
#[allow(missing_docs)]
Expand Down

0 comments on commit 4b976ac

Please sign in to comment.