Update importers of eth, use variable length feeIdxCoordinator

This commit is contained in:
Eduard S
2020-10-14 13:22:23 +02:00
parent a405ab3a20
commit 9684e7ae47
5 changed files with 130 additions and 216 deletions

View File

@@ -180,7 +180,7 @@ func TestClientRollup(t *testing.T) {
NewExitRoot: big.NewInt(100),
L1CoordinatorTxs: []common.L1Tx{},
L2TxsData: []common.L2Tx{},
FeeIdxCoordinator: make([]common.Idx, eth.RollupConstFeeIdxCoordinatorLen),
FeeIdxCoordinator: []common.Idx{},
VerifierIdx: 0,
L1Batch: true,
})
@@ -217,7 +217,7 @@ func TestClientRollup(t *testing.T) {
NewExitRoot: big.NewInt(100),
L1CoordinatorTxs: []common.L1Tx{},
L2TxsData: []common.L2Tx{},
FeeIdxCoordinator: make([]common.Idx, eth.RollupConstFeeIdxCoordinatorLen),
FeeIdxCoordinator: []common.Idx{},
VerifierIdx: 0,
L1Batch: true,
}