Closed ledhed2222 closed 3 years ago
Will approve once we have tests for NFT TransactionTypes and LedgerEntries. Fixtures for existing tests are here, and all they do is test binary against JSON. They could use a some cleaning up in the future, but for now they're alright.
You should be able to get the hex encoding for an NFToken
, NFTokenMint
, and NFTokenBurn
from Nik (or Nik's rippled branch) once y'all have a finalized design.
I'm ok with doing this for the transactions, but it doesn't make sense to
me for the lederobjects, as I described in the PR. In the latter case,
we're just testing the values of definitions.json
and in some cases I
found those fixtures aren't actually being tested anywhere.
On Thu, Aug 19, 2021 at 12:16 PM Nathan Nichols @.***> wrote:
Would you add a test similar to what we're doing for other TransactionTypes and LedgerObjects. Fixtures for those tests are [here] ( https://github.com/ripple/ripple-binary-codec/tree/master/test/fixtures).
You should be able to get the hex encoding for an NFToken, NFTokenMint, and NFTokenBurn from Nik (or Nik's rippled branch)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ripple/ripple-binary-codec/pull/139#issuecomment-902047108, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXUFDJF4RHZ6OAZQ4Y27CTT5UU6RANCNFSM5CJBCXZA .
Title says it all