zebra/zebra-rpc
teor cb6667059a
fix(rpc): Use populated state in more RPC snapshot tests (#6700)
* fix panic in height

* Update security comments and turn literals into constants

* Add a test-only assertion that the maximum output index can't ever be reached

* Fix a MISSING_BLOCK_ERROR_CODE that was mistakenly 0

* Add production RPC tests with excessive heights

* Add and update snapshots for production RPCs

* Add excessive height tests for most getblocktemplate RPCs

* Use correct snapshot names by running `cargo insta review`

* Fix some RPC tests so they use a populated state

* Use correct snapshot file names by running `cargo insta review`

---------

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-05-17 18:50:31 +00:00
..
src fix(rpc): Use populated state in more RPC snapshot tests (#6700) 2023-05-17 18:50:31 +00:00
Cargo.toml build(deps): bump serde from 1.0.162 to 1.0.163 (#6678) 2023-05-16 23:54:09 +00:00