diff --git a/deploy/DummyRollupManagerCreator.js b/deploy/DummyRollupManagerCreator.js new file mode 100644 index 00000000..264e1403 --- /dev/null +++ b/deploy/DummyRollupManagerCreator.js @@ -0,0 +1,13 @@ +module.exports = async hre => { + const { deployments, getNamedAccounts } = hre + const { deploy } = deployments + const { deployer } = await getNamedAccounts() + + await deploy('EigenDADummyManager', { + from: deployer, + args: [], + }) + } + + module.exports.tags = ['EigenDADummyManager'] + module.exports.dependencies = [] \ No newline at end of file diff --git a/deploy/EigenDAServiceManagerStubCreator.js b/deploy/EigenDAServiceManagerStubCreator.js index 74362412..31b1182c 100644 --- a/deploy/EigenDAServiceManagerStubCreator.js +++ b/deploy/EigenDAServiceManagerStubCreator.js @@ -1,11 +1,10 @@ module.exports = async hre => { - const { deployments, getNamedAccounts, ethers } = hre - const { deploy } = deployments - const { deployer } = await getNamedAccounts() - - await deploy('EigenDAServiceManagerStub', { from: deployer, args: [] }) - } - - module.exports.tags = ['EigenDAServiceManagerStub', 'test'] - module.exports.dependencies = [] - \ No newline at end of file + const { deployments, getNamedAccounts, ethers } = hre + const { deploy } = deployments + const { deployer } = await getNamedAccounts() + + await deploy('EigenDAServiceManagerStub', { from: deployer, args: [] }) +} + +module.exports.tags = ['EigenDAServiceManagerStub', 'test'] +module.exports.dependencies = [] diff --git a/deploy/SequencerInboxStubCreator.js b/deploy/SequencerInboxStubCreator.js index 4fe29ca0..1a107a62 100644 --- a/deploy/SequencerInboxStubCreator.js +++ b/deploy/SequencerInboxStubCreator.js @@ -16,17 +16,7 @@ module.exports = async hre => { futureSeconds: 10000, } - const eigenDAServiceManager = await ethers.getContract('EigenDAServiceManagerStub') - -// constructor( -// IBridge bridge_, -// address sequencer_, -// ISequencerInbox.MaxTimeVariation memory maxTimeVariation_, -// uint256 maxDataSize_, -// IReader4844 reader4844_, -// IEigenDAServiceManager eigenDAServiceManager_, -// bool isUsingFeeToken_ -// ) + const dummyManager = await ethers.getContract('EigenDADummyManager') await deploy('SequencerInboxStub', { from: deployer, @@ -36,11 +26,12 @@ module.exports = async hre => { maxTime, 117964, reader4844.address, - eigenDAServiceManager.address, + dummyManager.address, + dummyManager.address, false, ], }) } module.exports.tags = ['SequencerInboxStub', 'test'] -module.exports.dependencies = ['BridgeStub', 'EigenDAServiceManagerStub'] +module.exports.dependencies = ['BridgeStub', 'EigenDADummyManager']