feat: support eddsa, ckd, switch ecdsa to v2#13
Merged
andrei-near merged 2 commits intomainfrom Nov 20, 2025
Merged
Conversation
andrei-near
approved these changes
Nov 20, 2025
andrei-near
added a commit
that referenced
this pull request
Nov 20, 2025
Follow up to #13 Adding results this time: ```console ❯ cargo run -- --mode run --rpc-url https://rpc.testnet.near.org --signer-id gilcu3.testnet --signer-key "ed25519:$PRIVATE_KEY" --receiver-id tx-bench-buddy.near --wrap-near-id wrap.near --ft-account-id usdt.tether-token.near --exchange-id v2.ref-finance.near --mpc-contract-id v1.signer-prod.testnet --pool-id 3879 --period 3m --interval-overwrite '{"mpc-sign-ecdsa": "10s", "mpc-sign-eddsa": "10s"}' Compiling transaction-bench v0.1.0 (/home/rey/opt/near/transaction-bench) Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s Running `target/debug/main --mode run --rpc-url 'https://rpc.testnet.near.org' --signer-id gilcu3.testnet --signer-key 'ed25519:561CCDGTqnGrfJcsYwcuRgvU6JCiJnt2GGVpKfkkFcH21o1he4NorPPiyQxPp92VNxygmTRDhFcfQchV7RTYsdHh' --receiver-id tx-bench-buddy.near --wrap-near-id wrap.near --ft-account-id usdt.tether-token.near --exchange-id v2.ref-finance.near --mpc-contract-id v1.signer-prod.testnet --pool-id 3879 --period 3m --interval-overwrite '{"mpc-sign-ecdsa": "10s", "mpc-sign-eddsa": "10s"}'` 2025-11-20T11:07:57.922211Z INFO configuration: Opts { mode: Run, rpc_url: "https://rpc.testnet.near.org", signer_id: AccountId("gilcu3.testnet"), signer_key: ED25519(Ekpp1V9jSwAPrVqT3Qdw2FXAXDZZvxRf9oXRCyDV4VJ9), receiver_id: AccountId("tx-bench-buddy.near"), wrap_near_id: AccountId("wrap.near"), ft_account_id: AccountId("usdt.tether-token.near"), exchange_id: AccountId("v2.ref-finance.near"), mpc_contract_id: AccountId("v1.signer-prod.testnet"), pool_id: 3879, transaction_kind: [], repeats_number: 1, period: 180s, interval_overwrite: Some({MpcSignEddsa: 10s, MpcSignEcdsa: 10s}), metric_server_address: 0.0.0.0:9000, location: "unknown" } 2025-11-20T11:07:57.922268Z INFO starting metrics server on 0.0.0.0:9000 2025-11-20T11:07:57.922420Z INFO starting transaction engine 2025-11-20T11:07:57.923653Z INFO running transactions with interval 10s: [MpcSignEddsa, MpcSignEcdsa] 2025-11-20T11:07:57.923700Z INFO running transactions with interval 180s: [TokenTransferFinal, FungibleTokenTransfer, Swap, TokenTransferIncludedFinal, TokenTransferDefault] 2025-11-20T11:07:58.052128Z INFO executing transaction mpc-sign-eddsa#0 for gilcu3.testnet 2025-11-20T11:08:05.136665Z INFO completed transaction mpc-sign-eddsa#0 for gilcu3.testnet: 7.084442332s 2025-11-20T11:08:05.136808Z INFO executing transaction mpc-sign-ecdsa#0 for gilcu3.testnet 2025-11-20T11:08:11.720887Z INFO completed transaction mpc-sign-ecdsa#0 for gilcu3.testnet: 6.583993412s 2025-11-20T11:08:11.721076Z INFO running transactions with interval 10s: [MpcSignEddsa, MpcSignEcdsa] 2025-11-20T11:08:11.783850Z INFO executing transaction token-transfer-default#0 for gilcu3.testnet 2025-11-20T11:08:13.342904Z WARN error during transaction token-transfer-default#0 for gilcu3.testnet: NEAR transfer, wait_until default failed: unsuccessful execution 2025-11-20T11:08:13.343006Z INFO executing transaction token-transfer-final#0 for gilcu3.testnet 2025-11-20T11:08:17.404438Z WARN error during transaction token-transfer-final#0 for gilcu3.testnet: NEAR transfer, wait_until Final failed: unsuccessful execution 2025-11-20T11:08:17.404578Z INFO executing transaction swap#0 for gilcu3.testnet 2025-11-20T11:08:20.476742Z WARN error during transaction swap#0 for gilcu3.testnet: swap from NEAR to USDT failed: unsuccessful execution 2025-11-20T11:08:20.476833Z INFO executing transaction fungible-token-transfer#0 for gilcu3.testnet 2025-11-20T11:08:23.049516Z WARN error during transaction fungible-token-transfer#0 for gilcu3.testnet: USDT FT transfer failed: unsuccessful execution 2025-11-20T11:08:23.049649Z INFO executing transaction token-transfer-included-final#0 for gilcu3.testnet 2025-11-20T11:08:26.113960Z WARN error during transaction token-transfer-included-final#0 for gilcu3.testnet: NEAR transfer, wait_until IncludedFinal failed: unsuccessful execution 2025-11-20T11:08:26.166779Z INFO executing transaction mpc-sign-eddsa#0 for gilcu3.testnet 2025-11-20T11:08:34.247670Z INFO completed transaction mpc-sign-eddsa#0 for gilcu3.testnet: 8.080817758s 2025-11-20T11:08:34.247752Z INFO executing transaction mpc-sign-ecdsa#0 for gilcu3.testnet 2025-11-20T11:08:40.842114Z INFO completed transaction mpc-sign-ecdsa#0 for gilcu3.testnet: 6.594303461s 2025-11-20T11:08:40.842240Z INFO running transactions with interval 10s: [MpcSignEddsa, MpcSignEcdsa] 2025-11-20T11:08:40.901826Z INFO executing transaction mpc-sign-ecdsa#0 for gilcu3.testnet 2025-11-20T11:08:48.481313Z INFO completed transaction mpc-sign-ecdsa#0 for gilcu3.testnet: 7.579356874s 2025-11-20T11:08:48.481427Z INFO executing transaction mpc-sign-eddsa#0 for gilcu3.testnet 2025-11-20T11:08:56.108460Z INFO completed transaction mpc-sign-eddsa#0 for gilcu3.testnet: 7.626956164s 2025-11-20T11:08:56.108574Z INFO running transactions with interval 10s: [MpcSignEddsa, MpcSignEcdsa] 2025-11-20T11:08:56.159970Z INFO executing transaction mpc-sign-ecdsa#0 for gilcu3.testnet ^C2025-11-20T11:08:58.785493Z INFO transaction engine shutting down ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14
Adds support for new Mpc metrics: