Merge pull request #95 from blockfrost/srk/redeemerDataCBOR
fix(scripts): `/scripts/datum/{datum-hash}/cbor` returns redeemer CBOR too
fix(scripts): `/scripts/datum/{datum-hash}/cbor` returns redeemer CBOR too
- nixpkgs updated to latest `nixos-22.11` and hence NodeJS to `16.18.1`
- do not leak framework in errors
### Fixed
- `/scripts/datum/{datum-hash}/cbor` endpoint adjusted to return `CBOR` of redeemers as well (similar to JSON variant at `/scripts/datum/{datum-hash}` endpoint)
## [1.4.0] - 2023-02-07
### Added
-- data hash refers to either datum or redeemer_data
SELECT encode(bytes, 'hex') AS "cbor"
FROM datum d
WHERE encode(d.hash, 'hex') = $1
\ No newline at end of file
WHERE encode(d.hash, 'hex') = $1
-- UNION with redeemer_data
UNION
SELECT encode(bytes, 'hex') AS "cbor"
FROM redeemer_data rd
WHERE encode(rd.hash, 'hex') = $1
Includes direct 1:1 wrappers for misc builders (#197) and tx_builder (#210)
Wrappers around custom-written code written earlier for the rust crate.
Previous work on the builders/etc updates rust but introduced things caused the WASM to no longer compile. This updates the WASM bindings as well. Includes genesis module that wasn't pushed before.