-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remaining BCMR bugs #173
Labels
bug
Something isn't working
Comments
This was referenced Mar 7, 2023
Regarding opreturn length, see BCHN source: /**
* Default setting for nMaxDatacarrierBytes. 220 bytes of data, +1 for OP_RETURN, +2 for the pushdata opcodes.
*/
static constexpr uint32_t MAX_OP_RETURN_RELAY = 223; |
mainnet-pat
added a commit
that referenced
this issue
Mar 10, 2023
* When creating wallet from seed trim whitespace and transform to lowercase * Allow authchains to spend parent at vin != 0 * Apply formatting changes * 1.0.15: Bump version, update release notes --------- Co-authored-by: mainnet-pat <mainnet-pat@users.noreply.github.com>
Should be fixed in release 1.0.15 https://github.com/mainnet-cash/mainnet-js/releases/tag/1.0.15 |
Indeed it was a pesky bug with long pushes in op_return. See release 1.0.16 which fixes that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for resolving #170, however after more thorough testing I still found some remaining issues.
Now I can import the BCMR linked in the token genesis with the tokenId (pre-genesis).
However, when a transaction is made from the token genesis this metadata
dissapears
fromaddMetadataRegistryAuthChain
and instead it errors... This makes it unusable for tokenmetadata.addMetadataRegistryAuthChain
should return array with all linked opreturns, not error when the latest tx does not contain an opreturn. example authcain ofc166ed3c7238b4419cfa01f8dbfdc604118542ccee8a8b0d21028105e6eebcd4
mainnet-1.0.14.js:3 Uncaught Error: Invalid authchain transaction (does not spend 0th output of previous transaction)
when authchain is valid. example: https://chipnet.chaingraph.cash/tx/16ec71de01a4e5f4ff528f4a006e5f27adf4f49d693f9211384f6f69d05b390b
Error: the transaction was rejected by network rules. scriptpubkey (code 64)
The text was updated successfully, but these errors were encountered: