mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Add TxTypeTransferToEthAddr&ToBJJ to StateDB & Til
Add TxTypeTransferToEthAddr&ToBJJ to StateDB & Til resolves #203, resolves #209
This commit is contained in:
@@ -60,7 +60,7 @@ func TestParseBlockchainTxs(t *testing.T) {
|
||||
instructions, err := parser.parse()
|
||||
require.Nil(t, err)
|
||||
assert.Equal(t, 25, len(instructions.instructions))
|
||||
assert.Equal(t, 7, len(instructions.accounts))
|
||||
assert.Equal(t, 7, len(instructions.users))
|
||||
|
||||
if debug {
|
||||
fmt.Println(instructions)
|
||||
@@ -94,7 +94,7 @@ func TestParsePoolTxs(t *testing.T) {
|
||||
instructions, err := parser.parse()
|
||||
require.Nil(t, err)
|
||||
assert.Equal(t, 5, len(instructions.instructions))
|
||||
assert.Equal(t, 4, len(instructions.accounts))
|
||||
assert.Equal(t, 4, len(instructions.users))
|
||||
|
||||
if debug {
|
||||
fmt.Println(instructions)
|
||||
|
||||
Reference in New Issue
Block a user