v1.7.0-rc1
Pre-releaseZlatibor (v1.7.0)
WARNING: This version introduces some changes that could affect already deployed systems, please make sure you understand this implication before updating:
- Price updater is now not part of the node so it should be deployed separately. The PriceUpdater items from config file can be removed.
- Config file was updated. Some changes are:
a) to change how the proof servers are referenced:
[Coordinator.ServerProofs]
URLs = ["<PROOF_SERVER_URL>"] # Now it must be an array of strings
b) The gas price has a range now so the config file needs:
## Maximum gas price allowed for ethereum transactions in gwei
MaxGasPrice = 500
## Minimum gas price allowed for ethereum transactions in gwei
MinGasPrice = 5
## Percentage increased of gas price set in an ethereum transaction from the suggested gas price by the ethereum node
GasPriceIncPerc = 5
List of most relevant changes:
- Refactored configuration file:
- Use environment variables
- Use default parameters (except for stuff that users have to configure mandatorily)
- Separated price updater, now it's being used as a separated service
- Allow transactions to be updated through API
- Backup config file when updating linux service
- Improve fee calculation for Ethereum transactions
- Publicly export
PoolL2TxAPI
for better SDK integration - Improve logs
- Refactored L2Tx naming
- Move API types to common, to avoid cyclic import error
- Minor swagger documentation improvements
- Update
codeowners
for better GitHub reviews - Fix atomic group failing messages
Changelog
abb3d6e Add base fee
95bef35 Add json tags to PoolL2TxAPI
45be210 Add log, fix typos
5234598 Add nullable to field
31e2c9f Adjust log
b914be2 Avoid rewrite the service config file
ab18baa Backup old config file if exits
cedd786 Backup old config file if exits
e522d50 Fix TxL2 name and refactor
a6014ce Fix imports for linter
ed36de9 Fix structure types
d478e73 Fix types
eda50ef Fix types
ab6a3d4 Fix typo
9f9191d Ignore new config file if exits
ad5b1f5 Linter fixes
7c3ac3b Linter fixes
bb9c77b Merge pull request #1031 from hermeznetwork/feature/backup-old-config-file
a2b7042 Merge pull request #1032 from hermeznetwork/feature/gas-price-eip-1559
cff6df6 Merge pull request #1049 from hermeznetwork/feature/json-marshal-1
10ebbc7 Move api types to common, to avoid ciclic import error
822462d Reference endpoints with filter options (#1039)
20f8497 Remove use of interface
82063c1 Revert marshal method
6d539da Test if solve the stack overflow issue
557a0f5 Turn the poolTxAPIView private
3578d30 Turn the structs public
3ec1454 Update swagger
79a2e5c Use 2 structures for Token
7feb6ff Use 2 structures for Token
035cf45 Use SuggestGasTipCap to get GasPrice
f39996e bump gin version (#1046)
49265fe code owners (#998)
ac19c26 fixed verifyPoolL2Tx error (#1045)
f81982c Add common.nonce package
f565638 Adding new request for updating transactions in tx-pool (#1044)
79ec9b4 Feature/#711 default config (#1037)
49d7a8b Feature/tx selector sort txs by profitability (#1072)
012723a Feature/update tx by idx and nonce (#1070)
360d0f7 Fix conflicts
f824360 Fix imports
2156a8d Fix nonce import in tests
bfd735d Fix the use of multi proof servers
d13a674 Linter fixes
fc0585a Merge pull request #1042 from hermeznetwork/feature/refactor-nonce
43db53b Merge pull request #1068 from hermeznetwork/feature/multiprover
ffc0d0e Merge pull request #1074 from hermeznetwork/hotfix/1040-atomic-group-with-invalid-id
b01d1b4 Remove priceupdater (#1053)
e7f8001 Update example toml
5bff60a added guide to run integration tests (#1065)
3fc5b4c added possibility to update tx with invl status (#1075)
7880e8e atomic: fix error message at invalid group
2706980 remove TODOs from code since we created issues to address them (#1094)
8410d27 remove not necessary TODO messages (#1093)
b39a21f tests: remove unecessary comments
fb3628d txselector: use PR suggestion