Skip to content

Commit

Permalink
Add the four basic precompiles to frontier-template runtime (polkadot…
Browse files Browse the repository at this point in the history
  • Loading branch information
sorpaas authored Sep 20, 2020
1 parent b48c834 commit c893936
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,12 @@ impl frame_evm::Trait for Runtime {
type AddressMapping = HashedAddressMapping<BlakeTwo256>;
type Currency = Balances;
type Event = Event;
type Precompiles = ();
type Precompiles = (
frame_evm::precompiles::ECRecover,
frame_evm::precompiles::Sha256,
frame_evm::precompiles::Ripemd160,
frame_evm::precompiles::Identity,
);
type ChainId = ChainId;
}

Expand Down

0 comments on commit c893936

Please sign in to comment.