You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test examples/js/tests/set_markets.ts doesn't run through.
It is broken on many levels:
The constants new_asset as well as new_market1 and new_market2 in the file examples/js/tests/set_markets.ts need additional arguments to fit the REST interface (See structs NewAssetReq and NewTradePairReq in file src/restapi/types.rs for more details.
The base and quote attribute for a new market needs to be a string rather than an object (eg. base: "BTC", rather than base: { name: "BTC", prec: 2 },)
The new asset-call does not persist for some reason, without throwing any error. Maybe it is because of the on conflict do nothing-part in the file src/storage/config.rs (function persist_asset_to_db)
... might require additional fixes
The text was updated successfully, but these errors were encountered:
The test
examples/js/tests/set_markets.ts
doesn't run through.It is broken on many levels:
new_asset
as well asnew_market1
andnew_market2
in the fileexamples/js/tests/set_markets.ts
need additional arguments to fit the REST interface (See structsNewAssetReq
andNewTradePairReq
in filesrc/restapi/types.rs
for more details.base
andquote
attribute for a new market needs to be a string rather than an object (eg.base: "BTC",
rather thanbase: { name: "BTC", prec: 2 },
)new asset
-call does not persist for some reason, without throwing any error. Maybe it is because of theon conflict do nothing
-part in the file src/storage/config.rs (functionpersist_asset_to_db
)The text was updated successfully, but these errors were encountered: