Contract state optimization
#1571 · Rust · ★ 44 · MIT · updated 10d ago
Background The struct MpcContract is deserialized for almost every call to the contract. mpc/crates/contract/src/lib.rs Lines 112 to 121 in a39b60a pub struct MpcContract { protocol_state: ProtocolContractState, pending_signature_requests: LookupMap<SignatureRequest, YieldIndex>,…