Skip to content

Commit

Permalink
Merge pull request #3916 from anoma/mergify/bp/0.44.0/pr-3850
Browse files Browse the repository at this point in the history
Removes old reference to encrypted txs (backport #3850)
  • Loading branch information
mergify[bot] authored Oct 11, 2024
2 parents 961237f + 828cd3a commit b59e473
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions crates/node/src/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ where
}

/// Evaluates the corresponding [`TxResult`] for each tx in the
/// proposal. Additionally, counts the number of digest
/// txs and the bytes used by encrypted txs in the proposal.
/// proposal.
///
/// `ProcessProposal` should be able to make a decision on whether a
/// proposed block is acceptable or not based solely on what this
Expand Down Expand Up @@ -274,8 +273,8 @@ where
// If it is a raw transaction, we do no further validation
TxType::Raw => TxResult {
code: ResultCode::InvalidTx.into(),
info: "Transaction rejected: Non-encrypted transactions are \
not supported"
info: "Transaction rejected: Raw transactions are not \
supported"
.into(),
},
TxType::Protocol(protocol_tx) => {
Expand Down Expand Up @@ -1131,8 +1130,7 @@ mod test_process_proposal {
assert_eq!(
response.result.info,
String::from(
"Transaction rejected: Non-encrypted transactions are not \
supported"
"Transaction rejected: Raw transactions are not supported"
),
);
}
Expand Down

0 comments on commit b59e473

Please sign in to comment.