mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Impl api get batch(es)
This commit is contained in:
@@ -60,10 +60,10 @@ func GenBatches(nBatches int, blocks []common.Block) []common.Batch {
|
||||
//nolint:gomnd
|
||||
ForgerAddr: ethCommon.BigToAddress(big.NewInt(6886723)),
|
||||
CollectedFees: collectedFees,
|
||||
StateRoot: big.NewInt(int64(i) * 5), //nolint:gomnd
|
||||
StateRoot: big.NewInt(int64(i+1) * 5), //nolint:gomnd
|
||||
//nolint:gomnd
|
||||
NumAccounts: 30,
|
||||
ExitRoot: big.NewInt(int64(i) * 16), //nolint:gomnd
|
||||
ExitRoot: big.NewInt(int64(i+1) * 16), //nolint:gomnd
|
||||
SlotNum: int64(i),
|
||||
}
|
||||
if i%2 == 0 {
|
||||
|
||||
Reference in New Issue
Block a user