Releases: aeternity/ae_mdw
Releases · aeternity/ae_mdw
v1.4.0
Features
- add cursor-based pagination to contract logs/calls (#392) (f0724ab)
- add cursor-based pagination to stats (#384) (045ee35)
- db transactions per microblock (#390) (eb76e5b)
- index contract init events and internal calls (#395) (ca7f295)
Bug Fixes
- base32 encode account cursor on transfers (8d4c274)
- build expiring mutation using mnesia transaction (c94f28d)
- build oracles expiration transaction using mnesia transaction (721ad99)
- get info for contract with :ref instead of :code (5ffcec1)
- revert chainsubscriber refactor (#412) (1b1e52f)
- sync height 0 without mbs and txs (9b9bbdf)
- use last synced gen for stats and totalstats (#401) (53b27e7)
Miscellaneous
- add additional logging information for auction updates (865421c), closes #396
- include date on info.log (#389) (cee643e), closes #361
- prev_stat is not used (#400) (55a7e48)
Refactorings
- remove dep from chain subscriber (6be7a7f)
Testing
v1.3.1
v1.3.0
Features
- add cursor-based pagination to transfers endpoints (7f0d4d7)
- add mutations abstraction to deal with mnesia updates (#342) (2f565cf), closes #331
- allow scoping transfers by txis (#356) (0cf7058), closes #307
- async derive_aex9_presence (66a358a)
- dedup existing records (03708c2)
- implement cursor-based pagination for scoped oracles & names (#324) (a82981c)
- long running async tasks (cd18e3d)
- use cursor-based pagination for blocks endpoints (#333) (18a859c)
Bug Fixes
- add name ttl to last_bid tx (deede55)
- allow filtering transfer by kind when backwards direction (#360) (78c6648)
- always display the correct contract_id on contract logs (84b06dc), closes #301
- binary encoding for websocket broadcasting (9ead4d0)
- cancel task timer (a1d11f9)
- contract might not be present (65b18df)
- dedup args for any task type (af7b9c6)
- filtering aex9 call (9c374bd)
- getting aex9 recipients (6adf87c)
- increase task timeout (8715600)
- long task without timeout (f2256c7)
- reindex transfers to be able to filter by account + kind (710ee08), closes #359
- remove old oracle expiration (369aa50)
- remove unexisting auction fields (#350) (9621d66)
- start long task (71b3404)
- update contracts txi (e08334c)
- validate name expiration (13703a4)
Refactorings
- code review changes (e5ce624)
- move task sup to async tasks (689bb60)
- task sets done and simplified long task consumer (f88f392)
- tests comparision of names with auction (016e357)
CI / CD
- credo fixes (7255760)
- credo moduledoc finding (713558e)
- credo warnings (d814bdd)
- disable old credo warnings (bf258d2)
- format and dialyzer (1d605f4)
- ignore existing credo warnings (a953db1)
- linter (63e4600)
- new plt (bb7022b)
- new plt (90b336e)
Miscellaneous
Testing
- add aditional test case for transfers (1a89b38)
- add test case with mixed prefixes (143bef7)
- add testcase for account filtered transfers backwards (fc4c00e)
- async store tests (0584ff8)
- avoid mutual side effects on stats (1ca419a)
- include kind filter on account transfers test (9b1e3d5)
- long tasks test fixed (a77b5a6)
- longs tasks stats (598c75e)
- notify and wait for consumer (fb03a09)
- proto_vsn for name unit tests (f8aaa10)
v1.2.1
v1.2.0
Features
- account presence based on aex9 balance (#262) (57c1ef3)
- add cursor-based pagination to scoped txs (67b7097)
- add gas_used to create contract tx info (#258) (6dc5577)
- add name hash to owned_by response (#299) (a148f7b)
- add recipient details for /tx and /txi (#318) (7868e9d)
- add support for Chain.clone and Chain.create events (8e3b0c8), closes #208
- async account aex9 presence (#279) (2c0d44d)
- async tasks status (#286) (6ccce3d)
- auto migrate_db on start (#261) (a577816)
- contract calls with dry-run (8407dc0)
- contract create init details (#310) (aa8158d)
- delay slow aex9 migration balance (6e885fa)
- publish to websocket subs afer height sync (#304) (d0696f8)
Bug Fixes
- add AETERNITY_CONFIG env variable to docker-compose (8d49e3d)
- add ex_json_schema to deps for phoenix_swagger to use (21aa314)
- adjust Mnesia module return types for consistency (86bae6e)
- aex9 presence async processing state (#290) (bb53964)
- aex9 presence check demands mnesia ctx (56d33fc)
- aex9 presence write within transaction (#282) (f342d50)
- application init warning (5461dc2)
- base64 encode queries when returning oracle query txs (#274) (239c967), closes #264
- duplicated indexation when receiver=sender (3a878e4)
- fix /txs route handling (#296) (c1d1e1b)
- fix default range gen fetching (095315c)
- fix dockerfile for multiple node releases (d6c52cb)
- handle contracts w/o creation tx gracefully and consistently (#293) (c68cb66), closes #269 #208
- internal server error on aex9 balance(s) range (#297) (1757f4c)
- missing AeMdw.Txs alias from rebase (778c059)
- mix version comma (bbc74ac)
- name auction bid details when expand=true (83d3831)
- oracle expire validation (#315) (3bcb95f)
- oracle extend validation (#306) (781c4b7)
- rescue :aeo_state_tree.get_query error (326a528)
- return nil when contract tries fetching non-synced tx (#272) (61d3622)
- revert field indexation (keeps both fields) (a03e1cf)
- set :app_ctrl mode to :normal to allow MDW to sync (#284) (b546d72)
- start :aesync and :app_ctrl_server when initializing app (23c41ef), closes #275
- start all aecore services after starting app_ctrl_server (351c9cf)
Miscellaneous
- base documentation on hosted infrastructure (20d6ee4)
- expose service ports when starting docker-shell container (#291) (9886344)
- simplified account presence filtering (#271) (f41b9e6)
CI / CD
- credo and unused code (14acf7c)
- dialyzer (4800c8f)
- new plt version (daea38e)
- new plt version (399ed19)
- plt version (cdc14d9)
- revert force PLT creation (ce3aedf)
- temp delete priv/plts (82cb5ba)
- temporarily create plt without condition (f1f78d8)
- temporarily remove old plt file (bd601f8)
Testing
- add async task produce/consume tc (b19adda)
- add sender = recipient integration case (58ae0de)
- add sync_transaction write fields test (27a070a)
- add tests to Chain.clone events handling (9fce49f)
- additional sync case when recipient = sender (edb9d1e)
- fix oracles integration tests (#255) (14c59fb)
- fix oracles/names tests (d5cb035)
- replace last_txi with very high value (33e2d87)
- uniq integration case check for recipient = sender ([a81513f](ht...
v1.1.0
Features
- /v2/blocks endpoint returns mbs sorted by time (#236) (9111b83)
addupdate oraclesv2endpoint without making use of streams (#249) (17cbdfb)- adds recipient account and name to spendtx (#237) (e06296d)
- backup and restore db table (#227) (a39cac6)
- index inner transactions (#248) (0a02727)
- restructure ETS stateful DB streams implementation (#241) (40a2a3d)
Bug Fixes
- adjust tuple structure sent on AEX9 balances endpoints (06a570e)
- don't read from cache the last 6 blocks (#210) (64d9dd5)
- indexes remote call event logs also by called contract (#222) (27e08aa)
- recipient account is the pointee if name have one (#242) (534fd7f)
Testing
- add blockchain DSL for testing purposes (#233) (10f2acb)
- move integration tests to a separate directory (#238) (e37287d)
- separate unit/integration tests and add to ci (#221) (0854208)
- small integration tests updates (#231) (0df99b3)
- update NameController tests to be unit tests (#235) (32bc946)
- use specific docker image version of Elixir (#240) (93cb45d)
CI / CD
- add ci proposal with github actions (3bee5a8)
- add commitlint (e87e51f)
- add credo to ci (#243) (42dd057)
- add dialyzer to project (76956ef)
- add release please workflow (88cff95)
Miscellaneous
1.0.10 RC1
Fixes:
- mdw exposes logs for incorrect contract when using remote contract calls #167
- different synced mdw return different results, e.g. micro block count #194
Improvements:
- Enabled CI based GH actions with dialyzer, linter and unit tests.
- Removed warnings
- Backup and restore single database table
Migrations:
- AeMdw.Migrations.ReindexRemoteLogs: to index remote contract call logs also by the called contract.
Install Notes:
- Make a full backup of database
- Make a backup of only the ContractLog table:
mix backup_db_table Elixir.AeMdw.Db.Model.ContractLog
- Run the migration:
elixir --sname aeternity@localhost -S mix run -e AeMdw.Migrations.ReindexRemoteLogs.run
An expected log for this migration, with different numbers, is one like (below in mainnet):
table size: 194849
Indexed 38153 records in 61s