Open-Attestation / open-attestation-cli

CLI to wrap / verify / issue OpenAttestation document and more ♾️
Apache License 2.0
17 stars 31 forks source link

Failure of Issuance of Transferable Records #289

Open aditimishraa opened 1 year ago

aditimishraa commented 1 year ago

The steps for a Transferrable Record are:

For the Final Issuance step, While running the below command: open-attestation token-registry issue -a 0x8431012Bc040942B59e3C5bf428221eab0b2f723 --tokenId 0x0d9839a8034cb783d98bd57bcbaafb4dc3614c4193d2edf8a655c1ec6635b7ea --beneficiary 0x6FFeD6E6591b808130a9b248fEA32101b5220eca --holder 0x6FFeD6E6591b808130a9b248fEA32101b5220eca -n goerli -f key.txt

and replacing the values of address, beneficiary, holder and tokenId with the my acquired values. It is failing with the error: (node:20908) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit (node:20908) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit ✖ error missing revert data in call exception; Transaction reverted without a reason string

Attached the screenshot below for reference: Screenshot 2023-10-09 at 6 49 08 PM

osslgtm commented 1 year ago

The error (node:20908) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit (node:20908) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit is from the aws-sdk, we'll upgrade it the package accordingly.

can you log the full error that is thrown and let us know if there's been any changes to the code ?

Do a throw on this line: https://github.com/Open-Attestation/open-attestation-cli/blob/30c3672a143333ba4365249ab40980bfa0783046/src/commands/token-registry/issue.ts#L61