mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Correct Serai header on genesis
Includes a couple misc fixes for the RPC as well.
This commit is contained in:
@@ -356,14 +356,7 @@ sp_api::impl_runtime_apis! {
|
||||
grandpa: GrandpaConfig { authorities: vec![], _config: PhantomData },
|
||||
};
|
||||
|
||||
Core::genesis();
|
||||
Core::start_transaction();
|
||||
<RuntimeGenesisConfig as frame_support::traits::BuildGenesisConfig>::build(&config);
|
||||
Core::end_transaction([0; 32]);
|
||||
|
||||
<
|
||||
serai_core_pallet::EndOfBlock<Runtime> as frame_support::traits::PostTransactions
|
||||
>::post_transactions();
|
||||
Core::genesis(&config);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user