radix-engine 1.3.1

Reference implementation of Radix Engine, from the Radix DLT project.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::internal_prelude::*;
use crate::system::type_info::TypeInfoSubstate;
use radix_engine_interface::types::SubstateKey;

pub fn type_info_partition(info: TypeInfoSubstate) -> BTreeMap<SubstateKey, IndexedScryptoValue> {
    BTreeMap::from([(
        TypeInfoField::TypeInfo.into(),
        IndexedScryptoValue::from_typed(&info),
    )])
}