-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add HashWithPrefix to core utils * feat: Add message prefixes to avoid collision * chore: Update AVS deployed anvil state * test: Update message inclusion tests * test: Update operator test signature and SMT roots * chore: Update devnet rollup deployment * fix: Fix devnet deployment script path * feat: Add anvil state generation for rollup deployment * chore: Update bindings * fix: Remove unused error from Keccak256 * refactor: Rename HashWithPrefix to HashMessageWithPrefix
- Loading branch information
Showing
18 changed files
with
99 additions
and
60 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
contracts/evm/script/output/31337/sffl_rollup_deployment_output.json
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,13 +1,13 @@ | ||
{ | ||
"addresses": { | ||
"deployer": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720", | ||
"sfflPauserReg": "0xb19b36b1456E65E3A6D514D3F715f204BD59f431", | ||
"sfflProxyAdmin": "0xA15BB66138824a1c7167f5E85b957d04Dd34E468", | ||
"sfflRegistryRollup": "0xe1Aa25618fA0c7A1CFDab5d6B456af611873b629", | ||
"sfflRegistryRollupImpl": "0x8ce361602B935680E8DeC218b820ff5056BeB7af" | ||
"sfflPauserReg": "0xA15BB66138824a1c7167f5E85b957d04Dd34E468", | ||
"sfflProxyAdmin": "0x700b6A60ce7EaaEA56F065753d8dcB9653dbAD35", | ||
"sfflRegistryRollup": "0x8ce361602B935680E8DeC218b820ff5056BeB7af", | ||
"sfflRegistryRollupImpl": "0xb19b36b1456E65E3A6D514D3F715f204BD59f431" | ||
}, | ||
"chainInfo": { | ||
"chainId": 31337, | ||
"deploymentBlock": 1 | ||
"deploymentBlock": 0 | ||
} | ||
} |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
#!/bin/bash | ||
|
||
RPC_URL=http://localhost:8545 | ||
PRIVATE_KEY=0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6 | ||
|
||
# cd to the directory of this script so that this can be run from anywhere | ||
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) | ||
cd "$parent_path" | ||
|
||
# start an anvil instance in the background that has eigenlayer contracts deployed | ||
anvil --dump-state data/rollup-avs-deployed-anvil-state.json & | ||
cd ../../contracts/evm | ||
forge script script/deploy/devnet/SFFLDeployerRollup.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast -v | ||
|
||
# kill anvil to save its state | ||
pkill anvil |