mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
StateDB ZKInputs generation compatible with circom
- Add SignatureConstant to L1Tx.TxCompressedData
- ZKInputs generation works initial version working and compatible with circom Hermez circuit
- Lots of small updates for circuits compatibility
- Update version (with new changes) of `go-iden3-crypto` & `go-merkletree`
This commit is contained in:
@@ -42,12 +42,14 @@ var TypeNewBatchL1 common.TxType = "InstrTypeNewBatchL1"
|
||||
var TypeNewBlock common.TxType = "InstrTypeNewBlock"
|
||||
|
||||
// TypeAddToken is used for testing purposes only, and represents the
|
||||
// common.TxType of a new Token regsitration
|
||||
// It has 'nolint:gosec' as the string 'Token' triggers gosec as a potential leaked Token (which is not the case)
|
||||
// common.TxType of a new Token regsitration.
|
||||
// It has 'nolint:gosec' as the string 'Token' triggers gosec as a potential
|
||||
// leaked Token (which is not the case).
|
||||
var TypeAddToken common.TxType = "InstrTypeAddToken" //nolint:gosec
|
||||
|
||||
// TxTypeCreateAccountDepositCoordinator is used for testing purposes only, and represents the
|
||||
// common.TxType of a create acount deposit made by the coordinator
|
||||
// TxTypeCreateAccountDepositCoordinator is used for testing purposes only,
|
||||
// and represents the common.TxType of a create acount deposit made by the
|
||||
// coordinator
|
||||
var TxTypeCreateAccountDepositCoordinator common.TxType = "TypeCreateAccountDepositCoordinator"
|
||||
|
||||
//nolint
|
||||
|
||||
Reference in New Issue
Block a user