• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

EspressoSystems / espresso-network / 9258906149

27 May 2024 06:21PM UTC coverage: 54.461% (+0.05%) from 54.407%
9258906149

push

github

web-flow
JSON serialize numbers as decimals (#1506)

Adds two functions to be used with `(de)serialize_with`. This avoids
having to define a macro, the downside is that it makes it possible to
specify `serialize_with` without `deserialize_with`.

- Changes the serialization of ChainID and FeeAmount.
- Updates reference types. Apparently `chain_config.json` was not sorted
  before.
- Add test to check if a roundtrip works.
- Add test well as a test to check that bincode serialization is not
  affected by the customization.

Close https://github.com/EspressoSystems/espresso-sequencer/issues/1496
Close https://github.com/EspressoSystems/espresso-sequencer/issues/1497

33 of 35 new or added lines in 3 files covered. (94.29%)

64 existing lines in 9 files now uncovered.

32813 of 60251 relevant lines covered (54.46%)

1875703.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.24
/../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.1/src/raw.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc