fuel_core_chain_config/
lib.rs1#![deny(clippy::cast_possible_truncation)]
2#![deny(clippy::arithmetic_side_effects)]
3#![deny(unused_crate_dependencies)]
4#![deny(warnings)]
5
6extern crate alloc;
7
8pub mod config;
9pub mod fee_collection_contract;
10mod genesis;
11mod serialization;
12
13pub use config::*;
14use fuel_core_types::fuel_vm::SecretKey;
15pub use genesis::GenesisCommitment;
16
17pub fn default_consensus_dev_key() -> SecretKey {
19 let bytes: [u8; 32] = [
25 0xfb, 0xe4, 0x91, 0x78, 0xda, 0xc2, 0xdf, 0x5f, 0xde, 0xa7, 0x4a, 0x11, 0xa9,
26 0x0f, 0x99, 0x77, 0x62, 0x5f, 0xe0, 0x23, 0xcd, 0xf6, 0x41, 0x4b, 0xfd, 0x63,
27 0x9d, 0x32, 0x7a, 0x2e, 0x9d, 0xdb,
28 ];
29 SecretKey::try_from(bytes.as_slice()).expect("valid key")
30}