protosol 2.0.0

Protobuf definitions for the SVM fuzzing project.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod protos {
    include!(concat!(env!("OUT_DIR"), "/org.solana.sealevel.v1.rs"));
}

#[cfg(test)]
mod tests {
    use crate::protos;

    #[test]
    fn can_create_txn() {
        let txn = protos::SanitizedTransaction {
            ..Default::default()
        };
        assert_eq!(txn, protos::SanitizedTransaction { ..Default::default() }); 
    }
}