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

local tx submission #304

Open
teebaumcrypto opened this issue Oct 5, 2023 · 2 comments
Open

local tx submission #304

teebaumcrypto opened this issue Oct 5, 2023 · 2 comments

Comments

@teebaumcrypto
Copy link
Contributor

teebaumcrypto commented Oct 5, 2023

Situation:
I try to send multiple tx's via local tx submission to my node.

Result:
If a tx is rejected by the node the local tx submission is stuck in the state of agency is theirs.
all subsequent tx's fail.

The channelbuffer temp vector is not cleared.

I also had the error that the tokio broadcast channel lagged, so I increased buffer in the plexer impl to 2000.

2023-10-05T14:28:34.163196Z  INFO pallas_network::multiplexer: decoding done
result sending socket: Err(TxRejected(RejectReason([130, 2......... big array])))
2023-10-05T14:28:34.163203Z  INFO pallas_network::multiplexer: decoding done
2023-10-05T14:28:34.163302Z  INFO pallas_network::miniprotocols::localtxsubmission::client: sent SubmitTx
2023-10-05T14:28:34.163309Z  WARN pallas_network::multiplexer: waiting for full message len=2874
2023-10-05T14:28:34.163309Z  WARN pallas_network::multiplexer: waiting for full message len=0
2023-10-05T14:28:34.163313Z  WARN pallas_network::multiplexer: buffer has data from previous payload
2023-10-05T14:28:34.163318Z ERROR pallas_network::multiplexer: err=Error { err: TypeMismatch(Array), pos: Some(1), msg: "expected u16" }
result sending socket: Err(ChannelError(Decoding("unexpected type array at position 1: expected u16")))

2023-10-05T14:33:56.365044Z  INFO pallas_network::miniprotocols::localtxsubmission::client: sent SubmitTx
2023-10-05T14:33:56.365054Z  WARN pallas_network::multiplexer: waiting for full message len=2874
2023-10-05T14:33:56.365058Z  WARN pallas_network::multiplexer: buffer has data from previous payload
2023-10-05T14:33:56.365062Z ERROR pallas_network::multiplexer: err=Error { err: TypeMismatch(Array), pos: Some(1), msg: "expected u16" }
result sending socket: Err(ChannelError(Decoding("unexpected type array at position 1: expected u16")))
error send_submit_tx(): attempted to send message while agency is theirs
@oskin1
Copy link
Contributor

oskin1 commented Oct 22, 2023

@teebaumcrypto most likely related fix #314

@teebaumcrypto
Copy link
Contributor Author

is fixed with one of the pullrequests:
#306

#314

or
#331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants