-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keccakf fixed generator fully working
- Loading branch information
Showing
3 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
use std::{collections::HashMap, sync::Arc}; | ||
|
||
use precomp_keccakf::KECCAK_OPCODE; | ||
// use precomp_keccakf::KECCAK_OPCODE; | ||
use precompiles_common::{PrecompileCall, PrecompileCode}; | ||
|
||
pub fn precompiles_map() -> HashMap<PrecompileCode, Arc<dyn PrecompileCall>> { | ||
let mut registry = HashMap::new(); | ||
|
||
registry.insert(KECCAK_OPCODE.into(), Arc::new(Keccak256Precompile::new())); | ||
// registry.insert(KECCAK_OPCODE.into(), Arc::new(Keccak256Precompile::new())); | ||
|
||
registry | ||
} |