CodeChain-io / CodeChain-io/foundry

Non-validator nodes hold invalid pending transactions

Đang mở
#60 0 bình luận 0 reaction 1 người được giao Được @joojis nhận Xem trên GitHub
Ngôn ngữ chính
Rust
Star
36
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Non-validator nodes don't execute transactions queued in the mempool and validator nodes don't propagate the information of a failed transaction.

In the user's point of view, who send an RPC to a non-validator node, a transaction rejected by validators remains in the mempool(it means `mempool_getPendingTransactions` returns it) and there is no error hint so the users don't know it was rejected. Currently, the users have to send `chain_executeTransaction` to know whether the transaction is valid or not.

We need a way to make non-validators exclude the failed transactions from their mempool.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.