quorum-dev-quickstart icon indicating copy to clipboard operation
quorum-dev-quickstart copied to clipboard

Error on Explorer/Contract Page

Open 4-Mix opened this issue 2 years ago • 2 comments

Compiling example code with any version of Solidity causes an error

image

540-6adbe5fe9aefc9d0.js:1 POST http://localhost:25000/explorer/api/contractCompile 500 (Internal Server Error) (anonimo) @ 540-6adbe5fe9aefc9d0.js:1 e.exports @ 540-6adbe5fe9aefc9d0.js:1 e.exports @ 540-6adbe5fe9aefc9d0.js:1 l.request @ 540-6adbe5fe9aefc9d0.js:1 (anonimo) @ 540-6adbe5fe9aefc9d0.js:1 (anonimo) @ contracts-4990bcde34a66324.js:1 s @ main-75222ed780d2497a.js:1 (anonimo) @ main-75222ed780d2497a.js:1 P.forEach.e. @ main-75222ed780d2497a.js:1 V @ contracts-4990bcde34a66324.js:1 i @ contracts-4990bcde34a66324.js:1 (anonimo) @ contracts-4990bcde34a66324.js:1 (anonimo) @ contracts-4990bcde34a66324.js:1 (anonimo) @ contracts-4990bcde34a66324.js:1 $e @ framework-e283f07682b6ab3d.js:1 Ye @ framework-e283f07682b6ab3d.js:1 (anonimo) @ framework-e283f07682b6ab3d.js:1 Nr @ framework-e283f07682b6ab3d.js:1 Tr @ framework-e283f07682b6ab3d.js:1 (anonimo) @ framework-e283f07682b6ab3d.js:1 Ie @ framework-e283f07682b6ab3d.js:1 (anonimo) @ framework-e283f07682b6ab3d.js:1 Fr @ framework-e283f07682b6ab3d.js:1 Jt @ framework-e283f07682b6ab3d.js:1 Zt @ framework-e283f07682b6ab3d.js:1 t.unstable_runWithPriority @ framework-e283f07682b6ab3d.js:1 Ql @ framework-e283f07682b6ab3d.js:1 Me @ framework-e283f07682b6ab3d.js:1 Xt @ framework-e283f07682b6ab3d.js:1 contracts-4990bcde34a66324.js:1 Error: Request failed with status code 500 at e.exports (540-6adbe5fe9aefc9d0.js:1:14485) at e.exports (540-6adbe5fe9aefc9d0.js:1:16927) at XMLHttpRequest.w (540-6adbe5fe9aefc9d0.js:1:9076)

4-Mix avatar Aug 10 '22 08:08 4-Mix

Hello @4-Mix can you please tell us what version of the quickstart you are using and which client you are using. Ideally steps for us to replicate what you are seeing please

joshuafernandes avatar Sep 05 '22 10:09 joshuafernandes

On ver 0.0.75, I am unable to reproduce this using goquorum to compile the simpleStorage contract for public contract deploy. I've tried a few different versions of the compiler (>0.8.13) and all worked fine. You may need to wait a min or two after the quickstart containers come up for all the nodes to come up and the explorer to work right

image

joshuafernandes avatar Sep 05 '22 11:09 joshuafernandes

Closing for lack of activity, Please feel free to re open if this is an issue and include the version you are using and steps to reproduce

joshuafernandes avatar Sep 12 '22 21:09 joshuafernandes

Hi there,

I am using version 0.0.80 and am having the same problem. I tried different compilers and no luck, same error message.

Is there some other way of quickly deploying a contract? Remix doens't seem to support quorum deployment (0.28.0)

Thanks

torestin avatar Dec 01 '22 10:12 torestin

Hi @torestin

You can use something like truffle here https://consensys.net/docs/goquorum/en/latest/tutorials/quorum-dev-quickstart/using-the-quickstart/#deploy-your-own-dapp

or natively with solc https://consensys.net/docs/goquorum/en/latest/tutorials/contracts/deploying-contracts/

joshuafernandes avatar Dec 01 '22 13:12 joshuafernandes