Developers Forum for XinFin XDC Network

s4njk4n
s4njk4n

Posted on

[WIP]Nonce utility in broadcast.xinfin.network not working

When going to https://broadcast.xinfin.network and selecting the Nonce utility, usually we can either paste in an address or type it in manually.

Pasting into the Address box at present doesn't seem to work (?is pasting disabled). Have tested with Firefox/Brave/Chrome.

If manually typing an address into the Address field, the Type field then says Invalid and the Nonce remains as - (and no number is shown).

Inspecting via browser shows these errors below so looks like part of it is maybe RPC and CORS issue?


Access to XMLHttpRequest at 'https://xinpayrpc.xinfin.network/' from origin 'https://broadcast.xinfin.network' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.


2.8bd6b7bd.chunk.js:1
POST https://xinpayrpc.xinfin.network/ net::ERR_FAILED


Uncaught (in promise) Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (2.8bd6b7bd.chunk.js:1:1546114)
at i.onreadystatechange (2.8bd6b7bd.chunk.js:1:1726034)


Can someone take a look and/or change the RPC being used?

Thanks


ADD: Interestingly it is possible to paste 44 characters as an address (including the xdc prefix)... but XDC addresses normally only have 43 characters when including the xdc prefix.. And if adding an extra character so pasting works, the Address textbox then won't allow deleting any characters.. Looks like it wants to maintain 44 characters... So the Address remains incorrect and the Type field remains Invalid and the Nonce field remains as -.


Discussion (3)

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan

Hi @s4njk4n

We've identified an issue with the Nonce utility on broadcast.xinfin.network. Our team is currently investigating and implementing a solution. We appreciate your patience and anticipate resolving this matter promptly.

Thank you for your understanding

Collapse
s4njk4n profile image
s4njk4n Author

Hi Jay. Just FYI. This issue is NOT critical for us. If there are other priorities elsewhere please attend to those and just come back to this one when you can. There is no need to rush to this one. Thanks

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan

Noted.