mobilecoinofficial / full-service

A MobileCoin service for wallet implementations.
Other
46 stars 21 forks source link

Failed getting block info on AlphaNet with develop (but not main) #560

Closed briancorbin closed 2 years ago

briancorbin commented 2 years ago

Describe the bug Running develop against Alpha Net is causing an error when syncing the ledger

Failed getting block info from mc://node2.alpha.development.mobilecoin.com:443/: Error { error: Attestation(Ake(ReportVerification(Verification(VerificationReportData { id: "322229251883256177831840438031058809346", timestamp: "2022-11-04T15:10:47.429871", version: 4.0, quote_status: Err(SwHardeningNeeded { pse_manifest_status: None, advisory_url: "https://security-center.intel.com/", advisory_ids: ["INTEL-SA-00334"] }), quote: Quote: { version: 2, sign_type: Linkable, epid_group_id: 00000c4b, qe_svn: 13, pce_svn: 13, xeid: 0, basename: Basename(96bad45e472b85ee37e869500a2c143500000000000000000000000000000000), report_body: ReportBody: { cpu_svn: CpuSecurityVersion(13130207ff8006000000000000000000), misc_select: 0, isv_ext_prod_id: ExtendedProductId(00000000000000000000000000000000), attributes: Attributes { flags: 7, xfrm: 7 }, mr_enclave: MrEnclave(6fb014637daf47dd61845f0a8e9df487578bda2a5c0c6912ebe3d044bc442dfa), mr_signer: MrSigner(7ee5e29d74623fdbc6fbf1454be6f3bb0b86c12366b7b478ad13353e44de8411), config_id: ConfigId(00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), isv_prod_id: 1, isv_svn: 6, config_svn: 0, isv_family_id: FamilyId(00000000000000000000000000000000), report_data: ReportData(9269328720a3a9f6615cd978ea7745c9d6a2ef8fa967549ee481ea4e0b5396649451fb302fa0c3baa658b9858d7d15d2b050fcd1fc06c457b6a21c08ddc1ef70) }, signature_len: 0, signature: None }, revocation_reason: None, pse_manifest_status: None, pse_manifest_hash: None, platform_info_blob: None, nonce: Some(IasNonce([193, 156, 9, 62, 2, 196, 93, 184, 189, 121, 74, 19, 253, 186, 116, 163])), epid_pseudonym: Some(EpidPseudonym { b: [131, 135, 11, 234, 249, 250, 51, 210, 3, 76, 244, 170, 133, 127, 15, 127, 180, 171, 247, 228, 251, 207, 136, 3, 163, 208, 18, 243, 155, 17, 181, 60, 219, 253, 60, 13, 149, 117, 162, 156, 155, 220, 223, 96, 154, 51, 38, 49, 5, 46, 59, 5, 171, 19, 209, 125, 188, 250, 198, 92, 194, 43, 227, 83], k: [115, 108, 99, 79, 13, 34, 21, 45, 47, 25, 180, 167, 254, 195, 91, 130, 220, 161, 203, 30, 97, 102, 101, 204, 56, 102, 128, 116, 110, 159, 96, 210, 27, 29, 99, 156, 234, 41, 53, 196, 136, 120, 158, 143, 231, 232, 249, 64, 174, 212, 86, 229, 14, 169, 91, 195, 22, 22, 56, 97, 225, 206, 100, 108] }), advisory_url: Some("https://security-center.intel.com/"), advisory_ids: ["INTEL-SA-00334"] })))), total_delay: 0ns, tries: 1 }, mc.app: full-service, mc.module: mc_ledger_sync::network_state::polling_network_state, mc.src: mobilecoin/ledger/sync/src/network_state/polling_network_state.rs:109

To Reproduce Steps to reproduce the behavior:

Build develop against alphanet with the following css files and build command:

SGX_MODE=HW \
IAS_MODE=DEV \
CONSENSUS_ENCLAVE_CSS=$(pwd)/consensus-enclave.css \
cargo build --release

and run with

./tools/run-fs.sh alpha --no-build

from the root full service directory

Expected behavior It should successfully download the genesis block and following blocks

Environment (please complete the following information):

briancorbin commented 2 years ago

https://github.com/mobilecoinfoundation/mobilecoin/issues/2697