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

Commit

Permalink
feat(hyperdrive-outgoing): Fix AlephZero message encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Jan 16, 2024
1 parent 54eb3b4 commit c4bd99f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ members = [
"pallets/acurast/common",
"pallets/marketplace/reputation",
"p256-crypto",
"ink/*",
"ink/consumer",
"ink/core",
"ink/proxy",
"ink/state",
"ink/validator"
]
exclude = ["pallets/proxy"]

Expand Down
5 changes: 3 additions & 2 deletions pallets/hyperdrive-outgoing/src/chain/alephzero.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
use crate::chain::util::evm::EvmEncoder;
use crate::instances::AlephZeroInstance;
use crate::traits::MMRInstance;
use crate::TargetChainConfig;
use sp_core::H256;
use sp_runtime::traits::Keccak256;

use super::util::substrate::SubstrateEncoder;

pub struct AlephZeroConfig;

impl TargetChainConfig for AlephZeroConfig {
type TargetChainEncoder = EvmEncoder;
type TargetChainEncoder = SubstrateEncoder;
type Hasher = Keccak256;
type Hash = H256;
}
Expand Down

0 comments on commit c4bd99f

Please sign in to comment.