Skip to content

Commit

Permalink
Remove keccak256 value method stub
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Feb 16, 2021
1 parent 65e5530 commit bf2117b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion analyzer/src/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use strum::{
pub enum ValueMethod {
Clone,
ToMem,
Keccak256,
AbiEncode,
AbiEncodePacked,
}
Expand Down
1 change: 0 additions & 1 deletion analyzer/src/traversal/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ fn expr_call_value_attribute(
{
ValueMethod::Clone => value_attributes.into_cloned(),
ValueMethod::ToMem => value_attributes.into_cloned_from_sto(),
ValueMethod::Keccak256 => todo!(),
ValueMethod::AbiEncode => todo!(),
ValueMethod::AbiEncodePacked => todo!(),
};
Expand Down
1 change: 0 additions & 1 deletion compiler/src/yul/mappers/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ fn expr_call(context: &Context, exp: &Spanned<fe::Expr>) -> Result<yul::Expressi
builtins::ValueMethod::Clone => expr(context, value),
builtins::ValueMethod::AbiEncode => todo!(),
builtins::ValueMethod::AbiEncodePacked => todo!(),
builtins::ValueMethod::Keccak256 => todo!(),
}
}
};
Expand Down

0 comments on commit bf2117b

Please sign in to comment.