v1.6.0-rc1
Pre-releaseWARNING: this version introduces some changes that could affect already deployed systems, please make sure you understand this implications before updating:
- Swapped endianness of BJJ in config file:
# ...
[Coordinator.FeeAccount]
Address = "0xA67CD3f603E42dcBF674ffBa511872Bd397EB895"
# BEFORE: BJJ = "0x899cf5fded7c088f6e770a7a2c18db917468202a23c111bf23793928e5055392"
BJJ = "0x925305e528397923bf11c1232a20687491db182c7a0a776e8f087cedfdf59c89" # Now
# ...
- Configuration file, new way to set
MinGasPrice
andMaxGasPrice
:
# ...
[Coordinator.EthClient]
MaxGasPrice = 999000000000 # Used to be typed as a big.Int which allowed integer represented as string ("99999"), now this is not possible
MinGasPrice = 1 # New field
# ...
List of most relevant changes:
- Added support for atomic transactions
- Added support for L2 transactions with
MaxNumBatch
txselector
improvements: in some scenarios can select transactions with less batches- Added
MinGasPrice
in config file - Unified several types that represented a pool tx into
common.PoolL2Tx
, and added JSON marshaler/unmarshaler
Changelog
286bfae Add 2nd zki test for atomic txs
85f9ce2 Add DB migration with atomic_group_id and rq_offset
ac34d6f Add MaxBatchNum to the signature
46492d8 Add MaxNumBatch support at API level
a4d860e Add RqOffset to PoolL2Tx and simple srt in txselector
2f47789 Add RqTxID to json Unamrhal and Marshal
24b4d1a Add atomic tx API tests
eefa834 Add atomic types
f1ea8bb Add auto incremente column and handle table
7238c42 Add compatibility canary test for atomic txs
f52aa6b Add endpoint to get txs from same atomic group ID
bc465b8 Add files to include rq_offset and atomic_group_id fields
3090446 Add https configuration section
62fd61f Add package documentation for txselector
6892c80 Add setup node documentation
8192c5d Add support for MaxNumBatch at selector & processor
75cb156 Add table to avoid column reference "item_id" is ambiguous error
9dfefeb Add test for POST atomic pool fees
bc48423 Add test for isAtomicGroup
f046da0 Add valid example for atomic txs in swagger
9f86a74 Add validation to rqoffset field
cfaf320 Add zki edge test for atomic txs
f0ddc27 Adds filter addresses to tokens endpoint (#964)
6a5dbf6 Avoid unnecessary checks and unify iterations into 1 loop
d9ecd5e Feature/api error mapping (#958)
896a113 Fix RqTxID calculation by including nonce
c5d4140 Fix arrays out of bounds panic
979594e Fix creating atomic groups not marked as so
5fe5f76 Fix linter
374e6a5 Fix linter
2202a73 Fix linter issues
bcaaf46 Fix swagger and missing fields
b72121b Fix test runner
f4fef5b Fix txselector L1CoordTxs
4f015b1 Fix txselector tests: l1UserTxs ==> l1CoordTxs
57a9cf0 Fix txselector: no repeated coordIdxs
8a8d4ac Fix type in SQL field
07332f2 Fix typo
6a1a326 Fix typo
e06ff16 Implement atomic-pool endpoint
dd0276d Improve swagger description for requestOffSet
974fdd6 Inprove the format of POST /atomic-poolby adding deterministic AtomicGroupID
249951b Linter fixes
5ee94fe Linter fixes
500ae40 Make order of get pending transactions explicit
3056bd5 Merge api.receivedPoolTx, api.testPoolTxSend and l2db.PoolL2TxWrite into common.PoolL2Tx
5272d05 Merge pull request #939 from hermeznetwork/feature/create-node-setup-documentation
280bec4 Merge pull request #955 from hermeznetwork/feature/rebase-with-develop
ba1be09 Merge pull request #957 from hermeznetwork/feature/api-maxnumbatch
95181b0 Merge pull request #959 from hermeznetwork/feature/signature-maxbatchnum
985a5dc Merge pull request #962 from hermeznetwork/feature/atomic2common
f7f64ba Merge pull request #963 from hermeznetwork/feature/txselector-maxbatchnum
20fc73c Move atomic related structs from api to common
72fb757 Move common/formats.go into common/converters.go
7c2b961 Msg improved to be more clear (#966)
7db7292 Order L2Txs considering atomic txs
5fc33c2 Propagate PoolL2Tx refactor to atomic pool
85f5708 Re-add Rq fields for Marshal methods
1039908 Rebase with develop
2ef9305 Release/v1.5.0 3 (#950)
9a1a574 Remove group id and add migration test for atomic txs
17388ff Remove the requestAnything fields to simplify POST
46c2759 Rename AtomicGroup.AtomicGroupID => AtomicGroup.ID
6ac4859 Reset StateDB and selection when failed atomic group
5cec4e0 Restart selection process on failing atomic groups
090634d Revert removal of RqTxId
572f272 Revert test file
60fabd1 Revert txselector refactor
d3ea2bc Set Rq fields
f9c0fe4 Set more detailed info to non-selected atomic txs (#946)
702a86e Split api atomic txs related into separated file
95f6027 Split fields adding
45c8640 Support MaxNumBatch at selector & processor
6a0bb24 Token symbol validation in account endpoint (#965)
a84c61d Update swagger example for atomic pool
db173df added min gas price as a parameter in the config and updated max gas price (#949)
10d0251 base atomic tx structure
f639bc9 bjj in bigEndian config file (#800)
18bf148 implemented statedb status in /health endpoint (#967)
02e1f53 txselector fully refactor