Skip to content

Commit

Permalink
Merge pull request #8361 from ethereum-optimism/inphi/auth
Browse files Browse the repository at this point in the history
feat(ctb): Specify L1 auth requirements
  • Loading branch information
Inphi authored Dec 5, 2023
2 parents 2f45160 + 823bb7d commit 65d5813
Show file tree
Hide file tree
Showing 4 changed files with 288 additions and 2 deletions.
2 changes: 1 addition & 1 deletion op-bindings/bindings/mips_more.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion op-bindings/bindings/preimageoracle_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions packages/contracts-bedrock/scripts/Deployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,16 @@ abstract contract Deployer is Script {
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.
function getUserDoc(string memory _name) internal returns (string memory doc_) {
string[] memory cmd = new string[](3);
Expand Down
Loading

0 comments on commit 65d5813

Please sign in to comment.