Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): v2.1.0-beta #2043

Merged
merged 82 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7382588
feat(tx): add new sign_raw_transaction rpc for UTXO and EVM coins (#1…
dimxy Dec 19, 2023
21ca5cc
feat(UTXO): balance event streaming for Electrum clients (#2013)
onur-ozkan Dec 21, 2023
e61c41e
feat(trading-proto-upgrade): wasm DB, kickstart, refund states, v2 RP…
artemii235 Dec 21, 2023
790f51f
chore(config): remove vscode launchjson (#2040)
Alrighttt Dec 21, 2023
c83778c
feat(trezor): add segwit support for withdraw with trezor (#1984)
dimxy Dec 21, 2023
fc95ef3
chore(release): bump mm2 version to 2.1.0-beta (#2044)
shamardy Jan 15, 2024
8635ed9
feat(ETH): balance event streaming for ETH (#2041)
onur-ozkan Jan 25, 2024
ed80898
refactor(utxo): refactor utxo output script creation (#1960)
dimxy Feb 6, 2024
f025652
feat(nft): nft abi in withdraw_nft RPC, clear_nft_db RPC (#2039)
laruh Feb 12, 2024
2293de7
fix(wasm worker env): refactor direct usage of `window` (#1953)
onur-ozkan Feb 12, 2024
4ac9b5a
fix(makerbot): allow more than one prices url in makerbot (#2027)
shamardy Feb 13, 2024
d026415
security bump for `h2` (#2062)
onur-ozkan Feb 13, 2024
a877aca
fix(indexeddb): fix IDB cursor.continue_() call after drop (#2028)
borngraced Feb 13, 2024
0cd770a
feat(stats_swaps): add gui/mm_version in stats db (#2061)
mariocynicys Feb 15, 2024
fee356f
feat(config): add `max_concurrent_connections` to mm2 config (#2063)
onur-ozkan Feb 16, 2024
f2dedc2
fix(indexeddb): set stop on success cursor condition (#2067)
borngraced Feb 19, 2024
af57160
feat(trading-proto-upgrade): locked amounts, kmd burn and other impl …
artemii235 Feb 21, 2024
33af1f5
feat(zcoin): ARRR WASM implementation (#1957)
borngraced Feb 23, 2024
6aa5d66
feat(ETH transport & heartbeats): various enhancements/features (#2058)
onur-ozkan Feb 26, 2024
238a0f2
feat(nft): enable eth with non fungible tokens (#2049)
laruh Mar 1, 2024
3df0e3f
feat(network): improve efficiency of known peers handling (#2074)
onur-ozkan Mar 1, 2024
7a8770c
fix(hd_tests): fix test_hd_utxo_tx_history unit test (#2078)
borngraced Mar 5, 2024
10fe7fa
feat(event streaming): configurable worker path, use SharedWorker (#2…
shamardy Mar 7, 2024
cb0a56a
update dockerhub destination repository (#2082)
smk762 Mar 11, 2024
96fac7c
feat(indexeddb): advanced cursor filtering impl (#2066)
borngraced Mar 12, 2024
8a0e195
feat(zcoin): tx_history support for WASM target (#2077)
borngraced Mar 29, 2024
a81a67f
feat(zcoin): balance event streaming (#2076)
borngraced Mar 29, 2024
e0cd391
fix(eth): error handling in RPCs (#2090)
onur-ozkan Apr 2, 2024
ffe761e
feat(crypto): mnemonic generation/encryption/decryption/storage (#2014)
shamardy Apr 9, 2024
92199d8
fix(zcoin): syncing and activation improvements (#2089)
borngraced Apr 9, 2024
6d45cfe
feat(nft-swap): nft swap protocol v2 POC (#2084)
laruh Apr 9, 2024
27238a9
deps(zcoin): use librustzcash that uses the same `aes` version as mm2…
shamardy Apr 11, 2024
3e44c15
fix(wasm): websocket url validation (#2096)
borngraced Apr 12, 2024
ee3c418
fix(tests): fix failing tests (#2085)
mariocynicys Apr 15, 2024
d36f43d
feat(coin): support nucleus as an alternative to iris HTLC (#2079)
onur-ozkan Apr 18, 2024
5a63b2c
fix(eth_tests): remove ETH_DEV_NODE from tests (#2101)
shamardy Apr 25, 2024
38d328e
fix(BCH): deserialize BCH header that uses KAWPOW version correctly (…
shamardy Apr 25, 2024
b56a662
feat(sia): initial Sia integration (#2086)
Alrighttt Apr 25, 2024
065213b
feat(hd_wallet): utxo and evm hd wallet and trezor (#1962)
shamardy Apr 25, 2024
5998025
fix(sia): fix sia compilation after hd wallet PR merge (#2103)
shamardy Apr 25, 2024
2462d9a
docs(README): remove outdated information from the README (#2097)
onur-ozkan Apr 26, 2024
7d9047e
update dockerfile (#2104)
onur-ozkan Apr 29, 2024
4a6511e
fix tendermint fee calculation (#2106)
onur-ozkan Apr 30, 2024
a0d8723
feat(app-dir): implement root application dir `.kdf` (#2102)
onur-ozkan May 6, 2024
cdf032b
refactor(memory): memory usage improvements (#2098)
onur-ozkan May 7, 2024
9a82349
fix(utxo-swap): apply events occurred while taker down (#2114)
dimxy May 7, 2024
f4b2403
fix(eth): remove my_address from sign_and_send_transaction_with_keypa…
shamardy May 9, 2024
7f08cae
fix(tests): set txfee for some tbtc tests (#2116)
shamardy May 9, 2024
52326c4
feat(tendermint): pubkey-only activation and unsigned tx (#2088)
onur-ozkan May 14, 2024
29c48bb
fix(swap): use tmp file for swap and order files (#2118)
dimxy May 14, 2024
df6ab98
fix(p2pk): show and spend P2PK balance (#2053)
mariocynicys May 15, 2024
2bbb75c
fix(p2pk-tests): fix p2pk tests post merge (#2119)
shamardy May 17, 2024
fa71adb
feat(ETH): eip1559 gas fee estimator and rpcs (#2051)
dimxy May 20, 2024
13c6cef
fix(test): improve log wait condition to fix taker restart test (#2125)
dimxy May 23, 2024
b2019cb
fix(core): improve validation rules for table names (#2123)
onur-ozkan May 23, 2024
74bb53c
fix(core): tendermint withdraws on hd accounts (#2130)
onur-ozkan May 31, 2024
40ebe00
feat(tx-history): handle encoded transaction values (#2133)
onur-ozkan Jun 5, 2024
2e21532
fix(indexeddb): window usage in worker env (#2131)
borngraced Jun 5, 2024
d9d1229
fix(docs): update cargo test command (#2144)
borngraced Jun 18, 2024
2e0b3ca
feat(solana-swap): solana swap protocol v1 POC (#2091)
r2st Jun 24, 2024
6db5b9f
chore(toolchain): upgrade to 1.72 nightly (#2149)
onur-ozkan Jun 27, 2024
9f241c0
feat(tendermint): support unsigned txs for ledger's keplr extension (…
onur-ozkan Jul 2, 2024
1d39a91
fix(restrictions): remove wallet-only restriction from max_maker_vol …
onur-ozkan Jul 2, 2024
bc8757a
chore(bin): rename mm2 binaries to kdf (#2126)
shamardy Jul 3, 2024
acc4380
use easingthemes/[email protected] for all builds except windows (#2157)
shamardy Jul 5, 2024
8e312a1
test(tendermint): migrate to local/offline containerized testnets (#2…
onur-ozkan Jul 5, 2024
de6ba32
ci(artifacts): upload build artifacts with in-tree script (#2158)
onur-ozkan Jul 8, 2024
947a7ab
revert https://github.com/KomodoPlatform/komodo-defi-framework/pull/2…
onur-ozkan Jul 9, 2024
aae70ee
feat(tendermint): improve the `max` handling for tendermint withdraw …
onur-ozkan Jul 9, 2024
2fa7153
fix(docker-tests): implement containers runtime directories (#2162)
shamardy Jul 12, 2024
6d1342e
fix(hd_wallet): make extended pubkey of hd wallet generic (#2159)
shamardy Jul 12, 2024
79752e1
fix(makerbot): add "testcoin" to provider options (#2161)
shamardy Jul 16, 2024
e8ab882
fix(helpers): extend http to ws address conversion (#2166)
onur-ozkan Jul 16, 2024
7f56e95
ci(artifact): add target for macos on apple silicon (#2163)
CharlVS Jul 16, 2024
4db6c66
feat(tendermint): implement better sequence resolving logic (#2164)
onur-ozkan Jul 17, 2024
e356bb8
feat(ETH): add `gas_limit` coins param to override default values (#2…
dimxy Jul 18, 2024
c5e0e00
feat(nft-swap): add standalone maker contract and proxy support (#2100)
laruh Jul 18, 2024
e7a32c0
fix(swaps): ensure taker payment spend confirmations (#2176)
shamardy Jul 25, 2024
3895e1a
chore: migrate .cargo/config to .cargo/config.toml to avoid deprecati…
shamardy Jul 25, 2024
a81f2a1
chore(rust-analyzer): add rust-analyzer into the workspace toolchain …
onur-ozkan Jul 26, 2024
1c94bf5
fix(zcoin): don't force low r signing to generate htlc pubkey for zco…
shamardy Aug 1, 2024
cf35936
chore(release): add changelog entries for v2.1.0-beta (#2165)
shamardy Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .cargo/config → .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ rustflags = [ "-Zshare-generics=y" ]
# [target.x86_64-unknown-linux-gnu]
# linker = "clang"
# rustflags = [ "-Clink-arg=-fuse-ld=lld" ]
#
#
# # `brew install llvm`
# [target.x86_64-apple-darwin]
# rustflags = [
# "-C",
# "link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld",
# ]
#
#
# [target.aarch64-apple-darwin]
# rustflags = [
# "-C",
Expand Down
12 changes: 8 additions & 4 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/debian:buster-slim
FROM docker.io/debian:10

MAINTAINER Onur Özkan <[email protected]>

Expand All @@ -10,6 +10,7 @@ RUN apt-get install -y \
ca-certificates \
curl \
wget \
unzip \
gnupg

RUN ln -s /usr/bin/python3 /bin/python
Expand All @@ -26,11 +27,11 @@ RUN ./llvm.sh 16

RUN rm ./llvm.sh

RUN ln -s /usr/bin/clang-16 /usr/bin/clang

ENV AR=/usr/bin/llvm-ar-16
ENV CC=/usr/bin/clang-16

RUN ln -s /usr/bin/clang-16 /usr/bin/clang

RUN mkdir -m 0755 -p /etc/apt/keyrings

RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Expand All @@ -47,6 +48,9 @@ RUN apt-get install -y \
containerd.io \
docker-buildx-plugin

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly-2023-06-01 -y

RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protoc-3.20.1-linux-x86_64.zip
RUN unzip protoc-3.20.1-linux-x86_64.zip && mv ./include/google /usr/include/google

ENV PATH="/root/.cargo/bin:$PATH"
7 changes: 6 additions & 1 deletion .docker/Dockerfile.ci-container
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ RUN apt-get install -y \
gnupg \
git \
zip \
python3 \
python3-pip \
python-dev \
libffi-dev \
sudo

RUN ln -s /usr/bin/python3 /bin/python
RUN pip3 install --upgrade pip
RUN pip3 install paramiko

RUN apt install -y \
software-properties-common \
Expand Down
5 changes: 3 additions & 2 deletions .docker/Dockerfile.dev-release
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM docker.io/debian:stable-slim
WORKDIR /mm2
WORKDIR /kdf
COPY target/release/kdf /usr/local/bin/kdf
COPY target/release/mm2 /usr/local/bin/mm2
EXPOSE 7783
CMD ["mm2"]
CMD ["kdf"]
5 changes: 3 additions & 2 deletions .docker/Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM docker.io/debian:stable-slim
WORKDIR /mm2
WORKDIR /kdf
COPY target/release/kdf /usr/local/bin/kdf
COPY target/release/mm2 /usr/local/bin/mm2
EXPOSE 7783
CMD ["mm2"]
CMD ["kdf"]
2 changes: 1 addition & 1 deletion .docker/Dockerfile.ubuntu.ci
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ RUN \
chmod -R 777 /root

ENV PATH="/root/.cargo/bin:${PATH}"
WORKDIR /mm2
WORKDIR /kdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"key": "9c1e658a8e070bbd7e7cfcaa",
"addrs": []
}
263 changes: 263 additions & 0 deletions .docker/container-state/atom-testnet-data/config/app.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

###############################################################################
### Base Configuration ###
###############################################################################

# The minimum gas prices a validator is willing to accept for processing a
# transaction. A transaction's fees must meet the minimum of any denomination
# specified in this config (e.g. 0.25token1,0.0001token2).
minimum-gas-prices = "0.0025uatom"

# default: the last 362880 states are kept, pruning at 10 block intervals
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
# everything: 2 latest states will be kept; pruning at 10 block intervals.
# custom: allow pruning options to be manually specified through 'pruning-keep-recent', and 'pruning-interval'
pruning = "default"

# These are applied if and only if the pruning strategy is custom.
pruning-keep-recent = "0"
pruning-interval = "0"

# HaltHeight contains a non-zero block height at which a node will gracefully
# halt and shutdown that can be used to assist upgrades and testing.
#
# Note: Commitment of state will be attempted on the corresponding block.
halt-height = 0

# HaltTime contains a non-zero minimum block time (in Unix seconds) at which
# a node will gracefully halt and shutdown that can be used to assist upgrades
# and testing.
#
# Note: Commitment of state will be attempted on the corresponding block.
halt-time = 0

# MinRetainBlocks defines the minimum block height offset from the current
# block being committed, such that all blocks past this offset are pruned
# from Tendermint. It is used as part of the process of determining the
# ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates
# that no blocks should be pruned.
#
# This configuration value is only responsible for pruning Tendermint blocks.
# It has no bearing on application state pruning which is determined by the
# "pruning-*" configurations.
#
# Note: Tendermint block pruning is dependant on this parameter in conunction
# with the unbonding (safety threshold) period, state pruning and state sync
# snapshot parameters to determine the correct minimum value of
# ResponseCommit.RetainHeight.
min-retain-blocks = 0

# InterBlockCache enables inter-block caching.
inter-block-cache = true

# IndexEvents defines the set of events in the form {eventType}.{attributeKey},
# which informs Tendermint what to index. If empty, all events will be indexed.
#
# Example:
# ["message.sender", "message.recipient"]
index-events = []

# IavlCacheSize set the size of the iavl tree cache (in number of nodes).
iavl-cache-size = 781250

# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
# Default is false.
iavl-disable-fastnode = false

# IAVLLazyLoading enable/disable the lazy loading of iavl store.
# Default is false.
iavl-lazy-loading = false

# AppDBBackend defines the database backend type to use for the application and snapshots DBs.
# An empty string indicates that a fallback will be used.
# The fallback is the db_backend value set in Tendermint's config.toml.
app-db-backend = ""

###############################################################################
### Telemetry Configuration ###
###############################################################################

[telemetry]

# Prefixed with keys to separate services.
service-name = ""

# Enabled enables the application telemetry functionality. When enabled,
# an in-memory sink is also enabled by default. Operators may also enabled
# other sinks such as Prometheus.
enabled = false

# Enable prefixing gauge values with hostname.
enable-hostname = false

# Enable adding hostname to labels.
enable-hostname-label = false

# Enable adding service to labels.
enable-service-label = false

# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink.
prometheus-retention-time = 0

# GlobalLabels defines a global set of name/value label tuples applied to all
# metrics emitted using the wrapper functions defined in telemetry package.
#
# Example:
# [["chain_id", "cosmoshub-1"]]
global-labels = [
]

###############################################################################
### API Configuration ###
###############################################################################

[api]

# Enable defines if the API server should be enabled.
enable = true

# Swagger defines if swagger documentation should automatically be registered.
swagger = true

# Address defines the API server to listen on.
address = "tcp://localhost:1318"

# MaxOpenConnections defines the number of maximum open connections.
max-open-connections = 1000

# RPCReadTimeout defines the Tendermint RPC read timeout (in seconds).
rpc-read-timeout = 10

# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds).
rpc-write-timeout = 0

# RPCMaxBodyBytes defines the Tendermint maximum request body (in bytes).
rpc-max-body-bytes = 1000000

# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
enabled-unsafe-cors = false

###############################################################################
### Rosetta Configuration ###
###############################################################################

[rosetta]

# Enable defines if the Rosetta API server should be enabled.
enable = false

# Address defines the Rosetta API server to listen on.
address = ":8080"

# Network defines the name of the blockchain that will be returned by Rosetta.
blockchain = "app"

# Network defines the name of the network that will be returned by Rosetta.
network = "network"

# Retries defines the number of retries when connecting to the node before failing.
retries = 3

# Offline defines if Rosetta server should run in offline mode.
offline = false

# EnableDefaultSuggestedFee defines if the server should suggest fee by default.
# If 'construction/medata' is called without gas limit and gas price,
# suggested fee based on gas-to-suggest and denom-to-suggest will be given.
enable-fee-suggestion = false

# GasToSuggest defines gas limit when calculating the fee
gas-to-suggest = 200000

# DenomToSuggest defines the defult denom for fee suggestion.
# Price must be in minimum-gas-prices.
denom-to-suggest = "uatom"

###############################################################################
### gRPC Configuration ###
###############################################################################

[grpc]

# Enable defines if the gRPC server should be enabled.
enable = true

# Address defines the gRPC server address to bind to.
address = "localhost:9090"

# MaxRecvMsgSize defines the max message size in bytes the server can receive.
# The default value is 10MB.
max-recv-msg-size = "10485760"

# MaxSendMsgSize defines the max message size in bytes the server can send.
# The default value is math.MaxInt32.
max-send-msg-size = "2147483647"

###############################################################################
### gRPC Web Configuration ###
###############################################################################

[grpc-web]

# GRPCWebEnable defines if the gRPC-web should be enabled.
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
enable = true

# Address defines the gRPC-web server address to bind to.
address = "localhost:9091"

# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
enable-unsafe-cors = false

###############################################################################
### State Sync Configuration ###
###############################################################################

# State sync snapshots allow other nodes to rapidly join the network without replaying historical
# blocks, instead downloading and applying a snapshot of the application state at a given height.
[state-sync]

# snapshot-interval specifies the block interval at which local state sync snapshots are
# taken (0 to disable).
snapshot-interval = 1000

# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
snapshot-keep-recent = 10

###############################################################################
### Store / State Streaming ###
###############################################################################

[store]
streamers = []

[streamers]
[streamers.file]
keys = ["*", ]
write_dir = ""
prefix = ""

# output-metadata specifies if output the metadata file which includes the abci request/responses
# during processing the block.
output-metadata = "true"

# stop-node-on-error specifies if propagate the file streamer errors to consensus state machine.
stop-node-on-error = "true"

# fsync specifies if call fsync after writing the files.
fsync = "false"

###############################################################################
### Mempool ###
###############################################################################

[mempool]
# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool.
# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool.
# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount.
#
# Note, this configuration only applies to SDK built-in app-side mempool
# implementations.
max-txs = 5000
17 changes: 17 additions & 0 deletions .docker/container-state/atom-testnet-data/config/client.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

###############################################################################
### Client Configuration ###
###############################################################################

# The network chain ID
chain-id = "cosmoshub-testnet"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "test"
# CLI output format (text|json)
output = "text"
# <host>:<port> to Tendermint RPC interface for this chain
node = "tcp://0.0.0.0:26658"
# Transaction broadcasting mode (sync|async)
broadcast-mode = "sync"
Loading
Loading