diff --git a/packages/rollup-full-node/src/exec/fullnode.ts b/packages/rollup-full-node/src/exec/fullnode.ts index a9ece58dc4ee..ae42b2f4c7a2 100644 --- a/packages/rollup-full-node/src/exec/fullnode.ts +++ b/packages/rollup-full-node/src/exec/fullnode.ts @@ -11,6 +11,7 @@ import { L1ToL2TransactionEventName, L1ToL2TransactionProcessor, } from '@eth-optimism/rollup-core' +import cors = require('cors') import { JsonRpcProvider } from 'ethers/providers' import * as fs from 'fs' @@ -77,7 +78,8 @@ export const runFullnode = async ( const fullnodeRpcServer = new FullnodeRpcServer( fullnodeHandler, Environment.l2RpcServerHost(), - port + port, + [cors] ) const db: DB = getDB(testFullnode)