pure file-move PR. all malachite-specific types (Value, Vote, Proposal, ValidatorSet, Address, EmeraldContext, codec, proto, signing) move to their final home under crates/consensus/malachite/src/types/. no logic changes.
what moves
all files from types/src/ to crates/consensus/malachite/src/types/:
address.rs, aliases.rs, context.rs, genesis.rs, height.rs, proposal.rs, proposal_part.rs, proposer_selector.rs, retry_config.rs, signing/, validator_set.rs, value.rs, vote.rs, codec/, proto.rs, utils/
also: types/build.rs -> crates/consensus/malachite/build.rs
backward compat
types/src/lib.rs becomes pub use emerald_consensus_malachite::types::*;
note
types/ currently depends on alloy-primitives + alloy-consensus for EVM-specific aliases (BlockHash, Block, etc.). these stay temporarily; cleaned up in following work.
pure file-move PR. all malachite-specific types (
Value,Vote,Proposal,ValidatorSet,Address,EmeraldContext, codec, proto, signing) move to their final home undercrates/consensus/malachite/src/types/. no logic changes.what moves
all files from
types/src/tocrates/consensus/malachite/src/types/:address.rs,aliases.rs,context.rs,genesis.rs,height.rs,proposal.rs,proposal_part.rs,proposer_selector.rs,retry_config.rs,signing/,validator_set.rs,value.rs,vote.rs,codec/,proto.rs,utils/also:
types/build.rs->crates/consensus/malachite/build.rsbackward compat
types/src/lib.rsbecomespub use emerald_consensus_malachite::types::*;note
types/currently depends onalloy-primitives+alloy-consensusfor EVM-specific aliases (BlockHash,Block, etc.). these stay temporarily; cleaned up in following work.