Grimless and William Casarin
f6f7d13f12
Properly implement top-level tests and fix one test using the wrong Block conversion property
...
Closes: https://github.com/damus-io/damus/pull/1528
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:32 -07:00
Grimless and William Casarin
6ee0be40e9
Create helper extensions for Block and update tests for the Block helper model
...
Closes: https://github.com/damus-io/damus/pull/1528
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:32 -07:00
Grimless and William Casarin
a64f898df7
Move the Block helper type to its own file, collapse the various standalone functions for parsing block data, and refactor consumers to initialize a Block with given data and access its members as needed.
...
Closes: https://github.com/damus-io/damus/pull/1528
Signed-off-by: William Casarin <jb55@jb55.com >
2023-09-03 18:02:32 -07:00
Grimless and William Casarin
c5d8e4a4a1
Simplify and inline Report event logic.
...
Closes: https://github.com/damus-io/damus/pull/1498
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-23 09:13:38 -07:00
Grimless and William Casarin
286ae68fd6
Move the Block helper type to its own file
...
Collapse the various standalone functions for parsing block data, and
refactor consumers to initialize a Block with given data and access its
members as needed.
Closes: https://github.com/damus-io/damus/pull/1496
Signed-off-by: William Casarin <jb55@jb55.com >
2023-08-21 17:11:43 -07:00