Port upstream tests and rebuilt NIP-09 handling #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/port-upstream-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports the test files from the upstream PRs (lnbits/nostrrelay#37, #42, #46) so the fork's suite covers the same ground, and brings the NIP-09 handling up to the rebuilt version from #42:
created_atcutoff, colon-safekind:pubkey:dparsing, only replaceable/addressable kinds, and an emptydon an addressable kind meaning "the version with nod" rather than "all of them".Running upstream's client-flow test here turned up a fork bug:
nostr_dict()returned every model field, so thesizecolumn added inb74af26has been leaking into every EVENT sent to clients. Fixed by emitting only the seven NIP-01 fields.28 tests pass against lnbits 1.3.1 / Python 3.10. Version
1.1.0-aio.4; tag, hash and catalog entry after merge.atags in deletion requests fd19acff97