forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 117
[r2r] broadcast tx to txhlp / refactor tx errors #1245
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
Merged
Merged
Changes from 17 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
daeafc8
send p2p transaction message to `txhlp/$coin.ticker` topic
onur-ozkan 860163c
propogate the message if coin inside of the topic is activated
onur-ozkan 43862b6
impl `send_raw_tx_bytes` for `MarketCoinOps`
onur-ozkan b02ce08
update transaction broadcasting
onur-ozkan f3747f7
create and use dedicated func for sending transaction messages
onur-ozkan 7acdd35
remove unused field from `SwapMsgStore`
onur-ozkan 06ecd56
fix linting
onur-ozkan 5a73d5d
log the error on transaction broadcasting
onur-ozkan 9a4c496
fix `send_raw_tx_bytes` of solana
onur-ozkan 4a5d9c5
fix `send_raw_tx_bytes`
onur-ozkan a9f2e6b
move use statement
onur-ozkan 840d022
save development state
onur-ozkan 658ff56
send transactions as p2p message
onur-ozkan f8ed4cc
update exptected error result in test fn `construct_and_send_invalid_…
onur-ozkan fedbc32
[opt] inline wrapper functions
onur-ozkan 78d64e3
fix `send_raw_tx` and test `send_raw_tx_bytes`
onur-ozkan e9d16a9
un-inline `send_raw_tx`
onur-ozkan 8545045
Updates after code-review
onur-ozkan 5c24769
change log level of tx broadcasting
onur-ozkan 1c3d7bd
save development state
onur-ozkan b11fe2c
implement fail-safe returns for `send_taker_refunds_payment`
onur-ozkan 98df7cf
save development state
onur-ozkan b1f9745
optimize code-base
onur-ozkan f136301
fix fmt
onur-ozkan 9a203e7
create wrapper macro `FSTX_ERR` that wraps `ERR`
onur-ozkan b6c8ecb
fix indendation of `FSTX_ERR` macro
onur-ozkan d10d4a9
update namings
onur-ozkan 3a2b0e9
replace `format!` with `ERRL!` in `FailSafeTxErr::RpcCallFailed`
onur-ozkan 3299524
optimize PR diffs
onur-ozkan d2cbe7b
doc comment `send_raw_tx_bytes`
onur-ozkan 6534913
optimize `mm2src/coins/utxo/utxo_common.rs` diffs
onur-ozkan 1778350
use full path for tx macros
onur-ozkan 903526f
Merge remote-tracking branch 'origin/dev' into p2p-transaction-helper…
onur-ozkan 6b9e579
save development state
onur-ozkan 19a493d
add test fn for `send_maker_spends_taker_payment`
onur-ozkan aa43384
update `test_send_contract_calls_recoverable_tx`
onur-ozkan 21f2b6a
fix typo
onur-ozkan 7811106
impl helper functions for `enum TransactionErr`
onur-ozkan 9c9db1c
refactor `send_raw_tx_bytes`
onur-ozkan f461dcc
sub to `txhlp/$coin` when utxo coin enabled in native mode
onur-ozkan bad90b6
unbox `TransactionEnum` in `TxRecoverableError`
onur-ozkan 8ca638f
add more spesific conditions on `txhlp` subscription
onur-ozkan ed574a5
rollback unnecessary broadcastings
onur-ozkan 46ad808
fix PR notes
onur-ozkan d456326
fix auto-format's bug
onur-ozkan 7e6c215
sync dev
onur-ozkan 9444eda
remove unnecessary type casting
onur-ozkan 5ba0dd1
resolve pr notes
onur-ozkan f87cef3
resolve pr notes
onur-ozkan 21f9684
resolve pr notes
onur-ozkan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.