Skip to content

Commit 9e8d6a7

Browse files
committed
fix: deploy sp1 verifier and aligned contracts
1 parent 168b216 commit 9e8d6a7

File tree

6 files changed

+13
-599
lines changed

6 files changed

+13
-599
lines changed

contracts/deployments/31337.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"CREATE2_SALT": "0x0000000000000000000000000000000000000000000000000000000000000009",
3-
"SP1_VERIFIER_GATEWAY_GROTH16": "0x3c380a84855AFe756E7FB33fe59ae81466B19027",
4-
"V3_0_0_SP1_VERIFIER_GROTH16": "0x6e325f6cEC3EeBD6cC1b68d2a6e93342a161e174"
3+
"SP1_VERIFIER_GATEWAY_GROTH16": "0xbC42A182543d5AF01f51040955D149A74C015098",
4+
"V3_0_0_SP1_VERIFIER_GROTH16": "0xbe87F4Bf41213D1655FffE09573c075551e97145"
55
}

contracts/script/output/devnet/alignedlayer_deployment_output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"chainInfo": {
2121
"chainId": 31337,
22-
"deploymentBlock": 0
22+
"deploymentBlock": 3
2323
},
2424
"permissions": {
2525
"alignedLayerAggregator": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",

contracts/scripts/anvil/deploy_aligned_contracts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
55
# At this point we are in tests/integration
66
cd "$parent_path"
77

8-
# Start an empty anvil chain in the background and dump its state to a json file upon exit
9-
anvil --load-state state/eigenlayer-deployed-anvil-state.json --dump-state state/alignedlayer-deployed-anvil-state.json &
8+
# Start anvil chain in the background and dump its state to a json file upon exit
9+
anvil --load-state state/sp1-deployed-anvil-state.json --dump-state state/alignedlayer-deployed-anvil-state.json &
1010

1111
cd ../../
1212

contracts/scripts/anvil/deploy_sp1_contracts.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
66
cd "$parent_path"
77

88
# Start an empty anvil chain in the background and dump its state to a json file upon exit
9-
anvil --dump-state state/sp1-deployed-anvil-state.json &
9+
anvil --load-state state/eigenlayer-deployed-anvil-state.json --dump-state state/sp1-deployed-anvil-state.json &
1010

1111
# cd to /contracts
1212
cd ../../
@@ -35,10 +35,10 @@ forge script ./script/deploy/SP1VerifierGroth16Deployer.s.sol:SP1VerifierScript
3535
pkill anvil
3636

3737
# Anvil adds a block state, making the code to fail. We don't care about this, just the accounts and the deployed code
38-
cd "$parent_path"
39-
40-
jq 'del(.block)' state/sp1-deployed-anvil-state.json > state/sp1-deployed-anvil-state-tmp.json
38+
#cd "$parent_path"
4139

42-
cp -f state/sp1-deployed-anvil-state-tmp.json state/sp1-deployed-anvil-state.json
40+
#jq 'del(.block)' state/sp1-deployed-anvil-state.json > state/sp1-deployed-anvil-state-tmp.json
4341

44-
rm state/sp1-deployed-anvil-state-tmp.json
42+
#cp -f state/sp1-deployed-anvil-state-tmp.json state/sp1-deployed-anvil-state.json
43+
#
44+
#rm state/sp1-deployed-anvil-state-tmp.json

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)