arnaucube
934b6120ae
Add StateDB set & get Idx by EthAddr & BJJ methods
4 years ago
Eduard S
05b273cc00
Merge pull request #128 from hermeznetwork/feature/l1txbytes
Update common.L1Tx parsers, add test checks
4 years ago
Eduard S
dd85322e13
Merge pull request #143 from hermeznetwork/feature/ethclient5-sc
Update ethclient auction & add wdelayer
4 years ago
Eduard S
1386f4b5e1
Pass tokenAddress to AuctionClient constructor
4 years ago
arnaucube
3013fbacb6
Change endianness to BigEndian :(
Change endianness to BigEndian (ಥ﹏ಥ), spec has been updated to achieve
compatibility with js & smart contracts & circuits implementations.
4 years ago
Eduard S
35a558f6c9
Merge pull request #135 from hermeznetwork/feature/synchronizer-sc
Smart Contracts Data Synchronization
4 years ago
Eduard S
9f83fcf520
Review synchronizer, rearange some stuff, add notes and TODOs.
4 years ago
laisolizq
729f37c912
Update ethclient auction & add wdelayer
4 years ago
arnaucube
92fa8aa439
Update common.L1Tx parsers, add test checks
4 years ago
arnau
1de2ec9937
Merge pull request #138 from hermeznetwork/feature/impl-l2db
Implement L2DB
4 years ago
Eduard S
d3f6da22ed
Fix sync integration with StateDB & HistoryDB
4 years ago
Arnau B
94e1f11a98
Implement L2DB
4 years ago
ToniRamirezM
145f37b135
Smart Contracts Data Synchronization
4 years ago
Eduard S
5ad447c47c
Merge pull request #136 from hermeznetwork/feature/ethclient4-sc
Update ethclient
4 years ago
Eduard S
63be61f527
Update test.Client, replace some big.Int by int/int64 in eth, fix lints
4 years ago
a_bennassar
8a21cd1b5c
Add HistoryDB SQL triggers ( #125 )
4 years ago
laisolizq
de51a394b7
update contracts
4 years ago
a_bennassar
05d183d07b
Merge pull request #127 from hermeznetwork/feature/txsel-txsselection-v0
TxSelector GetL2TxSelection & GetL1L2TxSelection integrated with dbs
4 years ago
arnaucube
41715e47ba
TxSel integrated with L2DB, Add L1CoordTx creation
- GetL2TxSelection & GetL1L2TxSelection integrated with dbs
- Create L1CoordinatorTx of type CreateAccountDeposit when a L2
requires it (and the AccountCreationAuth exists)
4 years ago
laisolizq
860011827c
update ethclient auction
4 years ago
arnau
a40689f05e
Merge pull request #129 from hermeznetwork/feature/integration
Feature/integration
4 years ago
Eduard S
c6c50f8f6a
Integrate test.Client in coordinator_test
4 years ago
Eduard S
852cd762d3
Add reverts, forge in test ethClient, update auction
4 years ago
arnau
b0cfcb0d50
Merge pull request #111 from hermeznetwork/feature/L1TxCodec
L1Tx Codec
4 years ago
arnau
2937bde4fa
Merge pull request #124 from hermeznetwork/feature/ethclient3-sc
Add contracts & ethclient auction
4 years ago
Eduard S
d416203f10
Merge pull request #114 from hermeznetwork/feature/compute-zkinputs
Feature/compute zkinputs
4 years ago
arnaucube
69fe471f11
Add StateTree leafs & ExtTree data ZKI calculation
4 years ago
arnau
7f2a5cd9dd
Merge pull request #117 from hermeznetwork/feature/ethclient5
Implement basic auction funcs in test.Client
4 years ago
ToniRamirezM
a8f6488eb1
L1Tx Codec
4 years ago
Eduard S
56fe0fb05f
Implement basic auction funcs in test.Client
4 years ago
arnau
ec67075061
Merge pull request #110 from hermeznetwork/feature/node
Implement first iteration of node
4 years ago
Eduard S
475614cc3a
Implement first iteration of node
The coordinator implementation has been refactored to allow all the goroutines
to be handled from the node.
4 years ago
arnaucube
aa0bde61d2
Add StateDB ZKInputs generation for L1 & L2 Txs
4 years ago
arnaucube
a7fe80f150
Refactor ZKInputs & add struct initialization
Refactor ZKInputs & add struct initialization & add BJJCompressedTo256BigInts util
4 years ago
laisolizq
d3ee6e443c
Add contracts & ethclient auction
4 years ago
a_bennassar
230adfeb73
Merge pull request #109 from hermeznetwork/feature/ethclient3
Implement initial version of test.Client
4 years ago
Eduard S
bcd93fee36
Implement initial version of test.Client
4 years ago
Eduard S
56604ecc69
Use int64 for blockNum (like it's sroted in DB)
4 years ago
arnau
57fd9bdaed
Merge pull request #106 from hermeznetwork/feature/ethclient1
Add ethclient full skeleton
4 years ago
Eduard S
003c353f05
Add ethclient full skeleton
4 years ago
Eduard S
7701af194f
Merge pull request #107 from hermeznetwork/feature/statedb-intermediatestate
StateDB intermediate state reset when opening DB
4 years ago
arnaucube
b1454d441c
StateDB intermediate state reset when opening DB
StateDB intermediate state reset when opening DB to force getting always last
Checkpoint at last BatchNum, avoiding inconsistent intermediate state.
4 years ago
Toni Ramírez
9db9508b44
Synchronizer main loop & reorg ( #82 )
* Synchronizer
* mend
Synchronizer main loop & reorg
* mend
Synchronizer main loop & reorg
* mend
Synchronizer main loop & reorg
* Update PR and apply small changes
Update PR and apply small changes:
- Remove arbitrary line jumps (for example after an `err:=` there are cases with extra line before error check, and there are cases without the extra jumpline. Another example is the empty lines between a comment and the line of comment that is explained)
- Fix some typo
- Fix value printing of `lastSavedBlock` instead of `latestBlockNum`
- Uncomment parameters of structs and use linter syntax to avoid unused checks
* Update Synchr after master-pull to last types to compile
Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: arnaucube <root@arnaucube.com>
4 years ago
krlosMata
4d02308057
update zkInputs ( #104 )
* update zkInputs
* ZKInputs clean uncomment use nolint
Co-authored-by: arnaucube <root@arnaucube.com>
4 years ago
Eduard S
c940e6f4f1
Merge pull request #101 from hermeznetwork/feature/log0
Update log package with fields & file log
4 years ago
arnaucube
fdaf2c9ce2
Update log package with fields & file log
Update log package with fields & file log, and update constants in the
repository code to be MixedCase.
resolves #91 , resolves #92 , resolves #95
4 years ago
Eduard S
18d0658147
Merge pull request #87 from hermeznetwork/feature/test-ethclient
Add mock EthClient for testing
4 years ago
arnaucube
c523b4af70
Add mock EthClient for testing
4 years ago
Eduard S
ddb5604629
Merge pull request #89 from hermeznetwork/feature/golint
Add lint checks: gofmt, goimports, golint
4 years ago
arnaucube
cbbcb65c8c
Add lint checks: gofmt, goimports, golint
- gofmt - Gofmt checks whether code was gofmt-ed. By default this tool runs
with -s option to check for code simplification
- goimports - Goimports does everything that gofmt does. Additionally it checks
unused imports
- golint - Golint differs from gofmt. Gofmt reformats Go source code, whereas
golint prints out style mistakes
- checks the uncommented exported functions & types
Update the code to fix the lint checks.
4 years ago