Commit 65d58130 authored by Inphi's avatar Inphi Committed by GitHub

Merge pull request #8361 from ethereum-optimism/inphi/auth

feat(ctb): Specify L1 auth requirements
parents 2f45160c 823bb7d5
This diff is collapsed.
This diff is collapsed.
...@@ -484,6 +484,16 @@ abstract contract Deployer is Script { ...@@ -484,6 +484,16 @@ abstract contract Deployer is Script {
abi_ = string(res); abi_ = string(res);
} }
/// @notice
function getMethodIdentifiers(string memory _name) public returns (string[] memory ids_) {
string[] memory cmd = new string[](3);
cmd[0] = Executables.bash;
cmd[1] = "-c";
cmd[2] = string.concat(Executables.jq, " '.methodIdentifiers | keys' < ", _getForgeArtifactPath(_name));
bytes memory res = vm.ffi(cmd);
ids_ = stdJson.readStringArray(string(res), "");
}
/// @notice Returns the userdoc for a deployed contract. /// @notice Returns the userdoc for a deployed contract.
function getUserDoc(string memory _name) internal returns (string memory doc_) { function getUserDoc(string memory _name) internal returns (string memory doc_) {
string[] memory cmd = new string[](3); string[] memory cmd = new string[](3);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment