From c25e017a94246d3a0acdfbf94a54968925a619ec Mon Sep 17 00:00:00 2001 From: afkbyte Date: Tue, 4 Jun 2024 11:31:11 -0400 Subject: [PATCH] readd system test changes --- system_tests/full_challenge_impl_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/system_tests/full_challenge_impl_test.go b/system_tests/full_challenge_impl_test.go index 665510877..5a962d445 100644 --- a/system_tests/full_challenge_impl_test.go +++ b/system_tests/full_challenge_impl_test.go @@ -211,6 +211,19 @@ func setupSequencerInboxStub(ctx context.Context, t *testing.T, l1Info *Blockcha DelaySeconds: big.NewInt(10000), FutureSeconds: big.NewInt(10000), } + + // func DeployEigenDAServiceManagerStub(auth *bind.TransactOpts, backend bind.ContractBackend, __avsDirectory common.Address, __paymentCoordinator common.Address, __registryCoordinator common.Address, __stakeRegistry common.Address, _pauserRegistry common.Address, _initialPausedStatus *big.Int, _initialOwner common.Address, _batchConfirmers []common.Address) (common.Address, *types.Transaction, *EigenDAServiceManagerStub, error) { + + svcManagerAddr, tx, _, err := mocksgen.DeployEigenDAServiceManagerStub(&txOpts, l1Client, common.Address{}, common.Address{}, common.Address{}, common.Address{}, common.Address{}, big.NewInt(0), l1Info.GetAddress("deployer"), []common.Address{}) + Require(t, err) + _, err = EnsureTxSucceeded(ctx, l1Client, tx) + + // Require(t, err) + // _, err = EnsureTxSucceeded(ctx, l1Client, tx) + + // DeploySequencerInbox(auth, client, maxDataSize, reader4844, dummyManager, dummyManager, isUsingFeeToken) + // func DeploySequencerInboxStub(auth *bind.TransactOpts, backend bind.ContractBackend, bridge_ common.Address, sequencer_ common.Address, maxTimeVariation_ ISequencerInboxMaxTimeVariation, maxDataSize_ *big.Int, reader4844_ common.Address, eigenDAServiceManager_ common.Address, eigenDARollupManager_ common.Address, isUsingFeeToken_ bool) (common.Address, *types.Transaction, *SequencerInboxStub, error) { + seqInboxAddr, tx, seqInbox, err := mocksgen.DeploySequencerInboxStub( &txOpts, l1Client, @@ -219,6 +232,8 @@ func setupSequencerInboxStub(ctx context.Context, t *testing.T, l1Info *Blockcha timeBounds, big.NewInt(117964), reader4844, + svcManagerAddr, + svcManagerAddr, false, ) Require(t, err)