mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Fix ZKI NTx for MaxTx
On the Circuits uses the name `nTx` (and on the tests `maxTx`), but Contracts `maxTx`. On Go we had both variables, but really only used one, now at Go we use `MaxTx` to refer to the maximum number of transactions.
This commit is contained in:
@@ -52,7 +52,7 @@ func testAPIStatus(t *testing.T) {
|
||||
}
|
||||
|
||||
func testCalculateProof(t *testing.T) {
|
||||
zkInputs := common.NewZKInputs(0, 100, 16, 512, 24, 32, big.NewInt(1))
|
||||
zkInputs := common.NewZKInputs(0, 100, 24, 512, 32, big.NewInt(1))
|
||||
err := proofServerClient.CalculateProof(context.Background(), zkInputs)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
@@ -71,7 +71,7 @@ func testGetProof(t *testing.T) {
|
||||
}
|
||||
|
||||
func testCancel(t *testing.T) {
|
||||
zkInputs := common.NewZKInputs(0, 100, 16, 512, 24, 32, big.NewInt(1))
|
||||
zkInputs := common.NewZKInputs(0, 100, 24, 512, 32, big.NewInt(1))
|
||||
err := proofServerClient.CalculateProof(context.Background(), zkInputs)
|
||||
require.NoError(t, err)
|
||||
// TODO: remove sleep when the server has been reviewed
|
||||
|
||||
Reference in New Issue
Block a user