We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5232491 commit 65a5ec1Copy full SHA for 65a5ec1
tools/pcr0-verifier/entrypoint.sh
@@ -17,4 +17,4 @@ echo -e "\n# Then run these commands to verify:"
17
echo "# To register a new PCR0 (requires owner access):"
18
echo "cast send \$SYSTEM_CONFIG_GLOBAL_ADDRESS 'registerPCR0(bytes)' ${PCR0_WITH_PREFIX} --rpc-url \$RPC_URL"
19
echo -e "\n# To check if a PCR0 is valid:"
20
-echo "cast call \$SYSTEM_CONFIG_GLOBAL_ADDRESS 'validPCR0s(bytes32)' \$(cast keccak ${PCR0_WITH_PREFIX}) --rpc-url \$RPC_URL"
+echo "cast call \$SYSTEM_CONFIG_GLOBAL_ADDRESS 'validPCR0s(bytes32)' 0x\$(cast keccak \${PCR0}) --rpc-url \$RPC_URL"
0 commit comments