Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,6 @@ workflows:
op-e2e/actions
op-e2e/faultproofs
packages/contracts-bedrock/scripts/checks
packages/contracts-bedrock/scripts/verify
op-dripper
devnet-sdk
op-acceptance-tests
Expand Down
16 changes: 12 additions & 4 deletions op-chain-ops/solc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,11 @@ type CompilerOutputEvm struct {
// Object must be a string because its not guaranteed to be
// a hex string
type CompilerOutputBytecode struct {
Object string `json:"object"`
Opcodes string `json:"opcodes"`
SourceMap string `json:"sourceMap"`
LinkReferences LinkReferences `json:"linkReferences"`
Object string `json:"object"`
Opcodes string `json:"opcodes"`
SourceMap string `json:"sourceMap"`
LinkReferences LinkReferences `json:"linkReferences"`
ImmutableReferences ImmutableReferences `json:"immutableReferences"`
}

type LinkReferences map[string]LinkReference
Expand All @@ -137,6 +138,13 @@ type LinkReferenceOffset struct {
Start uint `json:"start"`
}

type ImmutableReferences map[string][]ImmutableReference

type ImmutableReference struct {
Start uint `json:"start"`
Length uint `json:"length"`
}

type CompilerOutputSources map[string]CompilerOutputSource

type CompilerOutputSource struct {
Expand Down
627 changes: 627 additions & 0 deletions packages/contracts-bedrock/scripts/deploy/VerifyOPCM.s.sol

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/contracts-bedrock/scripts/libraries/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ library Config {
env_ = vm.envUint("DRIPPIE_OWNER_PRIVATE_KEY");
}

/// @notice Returns the API key for the Etherscan API.
function etherscanApiKey() internal view returns (string memory env_) {
env_ = vm.envString("ETHERSCAN_API_KEY");
}

/// @notice Returns the OutputMode for genesis allocs generation.
/// It reads the mode from the environment variable OUTPUT_MODE.
/// If it is unset, OutputMode.ALL is returned.
Expand Down
Loading