Impl account creation auth endpoints

This commit is contained in:
Arnau B
2020-10-21 16:40:31 +02:00
parent 721e5e8bf0
commit ede6c33a18
10 changed files with 271 additions and 26 deletions

15
test/l2db_test.go Normal file
View File

@@ -0,0 +1,15 @@
package test
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGenAuths(t *testing.T) {
const nAuths = 5
auths := GenAuths(nAuths)
for _, auth := range auths {
assert.True(t, auth.VerifySignature())
}
}