Skip to content

Commit

Permalink
Update light-client/verifier/src/config.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Santana <nick@mobilecoin.com>
  • Loading branch information
eranrund and nick-mobilecoin authored Jul 11, 2023
1 parent 82b0a45 commit c57c551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions light-client/verifier/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ use serde_with::{hex::Hex, serde_as};
use std::{collections::BTreeSet, fmt, ops::Range};

/// A version of `[QuorumSetMember]` that does not use an internally-tagged
/// enum. The only reseaon this is needed is because we want to be able to use
/// enum. The only reason this is needed is because we want to be able to use
/// this configuration inside a cosmos wasm contract, and unfortunately the
/// cosmwasm runtime does not suppoprt floating point operations. It turns out
/// cosmwasm runtime does not support floating point operations. It turns out
/// that serde generates some floating point code when using internally-tagged
/// enums, so we have to use a non-tagged enum instead :/
/// See https://medium.com/cosmwasm/debugging-floating-point-generation-in-rust-wasm-smart-contract-f47d833b5fba
Expand Down

0 comments on commit c57c551

Please sign in to comment.