Skip to content

Commit

Permalink
Restore some typeinfo bounds to call is_signed
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshy Orndorff committed Nov 28, 2023
1 parent f8824fc commit c9d5416
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tuxedo-parachain-core/src/validate_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ pub fn validate_block<B, V, C>(
where
B: BlockT<Extrinsic = Transaction<V, C>>,
Transaction<V, C>: Extrinsic,
V: Verifier,
C: ConstraintChecker<V>, // + Into<SetParachainInfo<V>>,
V: TypeInfo + Verifier + 'static,
C: TypeInfo + ConstraintChecker<V> + 'static, // + Into<SetParachainInfo<V>>,
{
sp_runtime::runtime_logger::RuntimeLogger::init();
log::info!(target: "tuxvb", "🕵️🕵️🕵️🕵️Entering validate_block implementation");
Expand Down Expand Up @@ -226,8 +226,10 @@ where
fn extract_parachain_inherent_data<B, V, C>(block: &B) -> ParachainInherentData
where
B: BlockT<Extrinsic = Transaction<V, C>>,
V: Verifier,
C: ConstraintChecker<V>,
// Consider an alternative way to express the bounds here:
// Transaction<V, C>: Extrinsic
V: TypeInfo + Verifier + 'static,
C: TypeInfo + ConstraintChecker<V> + 'static,
{
// The commented stuff is Basti's algo.
// It is nicer than my hack because it searches the transactions,
Expand Down

0 comments on commit c9d5416

Please sign in to comment.