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

Commit

Permalink
fix ERC20_cairo1.cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsW3 authored Aug 7, 2024
1 parent eb4958a commit 02ac87f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/blockifier/ERC20/ERC20_Cairo1/ERC20_cairo1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ mod ERC20 {
// We emit now so that finalize emits last (if it does).
self.emit(ImplementationReplaced { implementation_data });

// Finalize imeplementation, if needed.
// Finalize implementation, if needed.
if (implementation_data.final) {
self.finalize();
self.emit(ImplementationFinalized { impl_hash: implementation_data.impl_hash });
Expand All @@ -314,7 +314,7 @@ mod ERC20 {
// Handle EIC.
match implementation_data.eic_data {
Option::Some(eic_data) => {
// Wrap the calldata as a span, as preperation for the library_call_syscall
// Wrap the calldata as a span, as preparation for the library_call_syscall
// invocation.
let mut calldata_wrapper = ArrayTrait::new();
eic_data.eic_init_data.serialize(ref calldata_wrapper);
Expand Down Expand Up @@ -697,4 +697,4 @@ mod ERC20 {
}
}
}
}
}

0 comments on commit 02ac87f

Please sign in to comment.