Error: Calling factory deployed contract gives a 500 error
See original GitHub issueIssue Description
When trying to interact with (Contract.call
) a contract that has been deployed by a factory the following request is made:
Header:
https://alpha4.starknet.io/feeder_gateway/call_contract?blockNumber=pending
Body:
{"signature":[],"contract_address":"0x03053E2e251CB67e652BAF3a3fF091F807BfDC1f01EE21Ef64180559bc0ee739","entry_point_selector":"0x361458367e696363fbcc70777d07ebbd2394e89fd0adcaf147faccd1d294d60","calldata":[]}
Producing a 500 error:
{"code": "StarkErrorCode.MALFORMED_REQUEST", "message": "{'contract_address': ['Expected hex string, got: \"0x03053E2e251CB67e652BAF3a3fF091F807BfDC1f01EE21Ef64180559bc0ee739\".']}"}
Contract:
https://goerli.voyager.online/contract/0x03053e2e251cb67e652baf3a3ff091f807bfdc1f01ee21ef64180559bc0ee739
Calling the contract without specifying the blockNumber should work? Seems by default block_number=pending is assigned to one where it cannot find the block number? Known issue in Voyager but believe the feeder_gateway has the contract info fine.
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Laravel+lumen issue of 500 error on every service api after ...
I am using laravel+Lumen ("php": ">7.3","laravel/lumen-framework": ">7.0" ) for 2 months its working fine right now it is giving every API 500 ......
Read more >App Service Deployment Failing w/500 error starting Sept 16 ...
I'm using version 4.x of the Azure App Service Deploy task in Devops (VSTS). The call to POST the new upload is failing...
Read more >500 Response body: {"message":"Internal Server Error"}
trying to make http call but getting error. it is calling my node to run the job though. { "name": "", "initiators": [ ......
Read more >Error 500 when logging to IFS10 - IFS Community
This is an internal server error, usually, this occurs when your Middleware servers are down or not in running status. Please try to...
Read more >asp.net core app deployed on iis meets 500 internal server error
Change stdoutLogEnabled="false" to true and then check the logs at stdoutLogFile=". · Check that you set up right Environment Name using ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Rather than sending them lowercase we could parse them with
toHex(toBn(...)
@supsam89 closing this issue due to inactivity, feel free to reopen if any more questions arise!