Skip to content

Commit

Permalink
refactor(evm): normalizes optismism Reporter and Adapter PROVIDER
Browse files Browse the repository at this point in the history
  • Loading branch information
allemanfredi committed Jan 24, 2024
1 parent 3d081a8 commit cfdd19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IOracleAdapter } from "../../interfaces/IOracleAdapter.sol";
import { ICrossDomainMessenger } from "./interfaces/ICrossDomainMessenger.sol";

contract L1CrossDomainMessengerReporter is Reporter {
string public constant PROVIDER = "l1-cross-domain-messenger-reporter";
string public constant PROVIDER = "optimism";
// The first 1.92 million gas on L2 is free. See here:
// https://community.optimism.io/docs/developers/bridge/messaging/#for-l1-%E2%87%92-l2-transactions
uint32 internal constant GAS_LIMIT = 1_920_000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ICrossDomainMessenger } from "./interfaces/ICrossDomainMessenger.sol";
import { BlockHashOracleAdapter } from "../BlockHashOracleAdapter.sol";

contract L2CrossDomainMessengerAdapter is BlockHashOracleAdapter {
string public constant PROVIDER = "amb";
string public constant PROVIDER = "optimism";

ICrossDomainMessenger public immutable L2_CROSS_DOMAIN_MESSENGER;
address public immutable REPORTER;
Expand Down

0 comments on commit cfdd19b

Please sign in to comment.