Skip to content

Commit

Permalink
feat: expose ecadd ecmul in cairo1helpers'
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Sep 6, 2024
1 parent ad32fc0 commit 814e2bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/contracts/src/cairo1_helpers.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ mod embeddable_impls {
2 => Sha256::exec(data),
3 | 4 => Result::Err(EVMError::NotImplemented),
5 => ModExp::exec(data),
6 => EcAdd::exec(data),
7 => EcMul::exec(data),
_ => Result::Err(EVMError::NotImplemented),
};
match result {
Expand Down

0 comments on commit 814e2bf

Please sign in to comment.