Add transakcio Token Register instructions parser

This commit is contained in:
arnaucube
2020-10-15 12:26:49 +02:00
parent 8dbcdaf4ea
commit a6006ebde7
8 changed files with 192 additions and 66 deletions

View File

@@ -22,7 +22,8 @@ func TestProcessTxsSynchronizer(t *testing.T) {
// generate test transactions from test.SetTest0 code
tc := transakcio.NewTestContext()
blocks := tc.GenerateBlocks(transakcio.SetBlockchain0)
blocks, err := tc.GenerateBlocks(transakcio.SetBlockchain0)
require.Nil(t, err)
assert.Equal(t, 29, len(blocks[0].Batches[0].L1UserTxs))
assert.Equal(t, 0, len(blocks[0].Batches[0].L1CoordinatorTxs))