Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Remove debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
azteca1998 committed Jun 13, 2024
1 parent cb6c7db commit c9e7a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/transaction/declare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ impl Declare {
if !execution_result
.call_info
.as_ref()
.map(|ci| dbg!(&ci.retdata) == &vec![*VALIDATE_RETDATA])
.map(|ci| &ci.retdata == &vec![*VALIDATE_RETDATA])
.unwrap_or_default()
{
return Err(TransactionError::WrongValidateRetdata);
Expand Down
9 changes: 1 addition & 8 deletions src/transaction/invoke_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,7 @@ impl InvokeFunction {
// return `VALID`.
if !call_info
.as_ref()
.map(|ci| {
dbg!(ci.retdata[0].to_hex_string());
dbg!(ci.retdata[0].to_string());
dbg!(ci.retdata[0].to_bigint());

dbg!(&ci.retdata) == &vec![*VALIDATE_RETDATA]
})
.map(|ci| &ci.retdata == &vec![*VALIDATE_RETDATA])
.unwrap_or_default()
{
return Err(TransactionError::WrongValidateRetdata);
Expand Down Expand Up @@ -445,7 +439,6 @@ impl InvokeFunction {
Rc<RefCell<ProgramCache<'_, ClassHash>>>,
>,
) -> Result<TransactionExecutionInfo, TransactionError> {
dbg!("execute transaction native");
if !(self.version == Felt252::ZERO
|| self.version == Felt252::ONE
|| self.version == Felt252::THREE)
Expand Down

0 comments on commit c9e7a19

Please sign in to comment.