Skip to content

Commit 81edc13

Browse files
shamardydimxyonur-ozkanborngracedDeckerSU
committed
chore(release): v2.3.0-beta (#2284)
* feat(LRAPI): add 1inch classic swap rpc (#2222) This commit adds initial code to connect to 1inch Liquidity Routing API (LRAPI) provider and two new RPCs to use 1inch classic swap API. It also adds 'approve' and 'allowance' RPCs (for ERC20 tokens). * chore(release): bump mm2 version to 2.3.0-beta (#2285) * improvement(error-handling): main files (#2288) Makes KDF to check main files (config/coins/etc..) before reading them to prevent potential panics. * fix(rpc): remove character check blocking password input (#2287) This commit removes check for <, >, & characters in RPC request bodies that was incorrectly blocking valid password characters in get_mnemonic RPC call. These special characters should be allowed in passwords. This aligns native behavior with WASM implementation. * don't rely on core (#2289) Signed-off-by: onur-ozkan <work@onurozkan.dev> * chore(ctx): replace gstuff constructible with oncelock (#2267) * chore(adex-cli): use "Komodo DeFi Framework" name in adex_cli (#2290) * bump libp2p (#2296) Signed-off-by: onur-ozkan <work@onurozkan.dev> --------- Signed-off-by: onur-ozkan <work@onurozkan.dev> Co-authored-by: dimxy <dimxy@komodoplatform.com> Co-authored-by: Onur Özkan <work@onurozkan.dev> Co-authored-by: Samuel Onoja <samiodev@icloud.com> Co-authored-by: DeckerSU <support@decker.su>
1 parent af89011 commit 81edc13

File tree

56 files changed

+2045
-247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2045
-247
lines changed

.github/workflows/pr-lint.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
types: |
2323
feat
2424
fix
25+
improvement
2526
chore
2627
docs
2728
deps
@@ -38,9 +39,9 @@ jobs:
3839
TITLE: ${{ github.event.pull_request.title }}
3940
run: |
4041
title_length=${#TITLE}
41-
if [ $title_length -gt 72 ]
42+
if [ $title_length -gt 85 ]
4243
then
43-
echo "PR title is too long (greater than 72 characters)"
44+
echo "PR title is too long (greater than 85 characters)"
4445
exit 1
4546
fi
4647

Cargo.lock

+46-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ members = [
3939
"mm2src/proxy_signature",
4040
"mm2src/rpc_task",
4141
"mm2src/trezor",
42+
"mm2src/trading_api",
4243
]
4344

4445
exclude = [

mm2src/adex_cli/src/scenarios/init_mm2_cfg.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl Mm2Cfg {
107107

108108
self.dbdir = CustomType::<InquireOption<String>>::new("What is dbdir")
109109
.with_placeholder(DEFAULT_OPTION_PLACEHOLDER)
110-
.with_help_message("AtomicDEX API database path. Optional, defaults to a subfolder named DB in the path of your mm2 binary")
110+
.with_help_message("Komodo DeFi Framework database path. Optional, defaults to a subfolder named DB in the path of your mm2 binary")
111111
.with_validator(is_reachable_dir)
112112
.prompt()
113113
.map_err(|error|
@@ -128,7 +128,7 @@ impl Mm2Cfg {
128128
fn inquire_net_id(&mut self) -> Result<()> {
129129
self.netid = CustomType::<u16>::new("What is the network `mm2` is going to be a part, netid:")
130130
.with_default(DEFAULT_NET_ID)
131-
.with_help_message(r#"Network ID number, telling the AtomicDEX API which network to join. 8762 is the current main network, though alternative netids can be used for testing or "private" trades"#)
131+
.with_help_message(r#"Network ID number, telling the Komodo DeFi Framework which network to join. 8762 is the current main network, though alternative netids can be used for testing or "private" trades"#)
132132
.with_placeholder(format!("{DEFAULT_NET_ID}").as_str())
133133
.prompt()
134134
.map_err(|error|
@@ -268,7 +268,7 @@ impl Mm2Cfg {
268268
.with_formatter(DEFAULT_OPTION_BOOL_FORMATTER)
269269
.with_default_value_formatter(DEFAULT_DEFAULT_OPTION_BOOL_FORMATTER)
270270
.with_default(InquireOption::None)
271-
.with_help_message("If false the AtomicDEX API will allow rpc methods sent from external IP addresses. Optional, defaults to true. Warning: Only use this if you know what you are doing, and have put the appropriate security measures in place.")
271+
.with_help_message("If false the Komodo DeFi Framework will allow rpc methods sent from external IP addresses. Optional, defaults to true. Warning: Only use this if you know what you are doing, and have put the appropriate security measures in place.")
272272
.prompt()
273273
.map_err(|error|
274274
error_anyhow!("Failed to get rpc_local_only: {error}")
@@ -283,7 +283,7 @@ impl Mm2Cfg {
283283
.with_formatter(DEFAULT_OPTION_BOOL_FORMATTER)
284284
.with_default_value_formatter(DEFAULT_DEFAULT_OPTION_BOOL_FORMATTER)
285285
.with_default(InquireOption::None)
286-
.with_help_message("Runs AtomicDEX API as a seed node mode (acting as a relay for AtomicDEX API clients). Optional, defaults to false. Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. on alternative testing or private networks, at least one seed node is required to relay information to other AtomicDEX API clients using the same netID.")
286+
.with_help_message("Runs Komodo DeFi Framework as a seed node mode (acting as a relay for Komodo DeFi Framework clients). Optional, defaults to false. Use of this mode is not reccomended on the main network (8762) as it could result in a pubkey ban if non-compliant. on alternative testing or private networks, at least one seed node is required to relay information to other Komodo DeFi Framework clients using the same netID.")
287287
.prompt()
288288
.map_err(|error|
289289
error_anyhow!("Failed to get i_am_a_seed: {error}")

0 commit comments

Comments
 (0)