We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to deploy a contract using forge script command and polyon-edge is returning Failed to get account error.
Reproduce : run the forge script command in the github project. https://github.com/SantaHub/Foundry_NFT/blob/dev/Issue.md
Genesis File
{ "name": "polygon-edge", "genesis": { "nonce": "0x0000000000000000", "timestamp": "0x0", "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000edea9473adbc525751a99dbc05a2a644aad5a261f992d194b2efbd91d281a2efcde6de29091d1a134579787780c0", "gasLimit": "0x500000", "difficulty": "0x1", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000", "alloc": { "0xB8aA26439cB203eEb13b81582E846F6442d28d17": { "balance": "0x33b2e3c9fd0803ce8000000" } }, "number": "0x0", "gasUsed": "0x70000", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "params": { "forks": { "homestead": 0, "byzantium": 0, "constantinople": 0, "petersburg": 0, "istanbul": 0, "EIP150": 0, "EIP158": 0, "EIP155": 0 }, "chainID": 100, "engine": { "ibft": { "epochSize": 100000, "type": "PoA", "validator_type": "ecdsa" } }, "blockGasTarget": 0 }, "bootnodes": [ "/ip4/127.0.0.1/tcp/10001/p2p/16Uiu2HAm4QC9ZejDWdb9NTTYrgo53e48xRAfoAJYPvEkUzLPz7Cu", "/ip4/127.0.0.1/tcp/20001/p2p/16Uiu2HAmH7gTpvmLdz4ZXwxTo71m6h4JW5tefKCHAP2T7ewzwKfA" ] }``` - Validator start Command
polygon-edge server --data-dir ./test-chain-2 --chain genesis.json --grpc-address :20000 --libp2p :20001 --jsonrpc :20002 --seal --log-level DEBUG
- Provide us with the peer list of each of your validators by running the following command: `polygon-edge peers list --grpc-address GRPC_ADDRESS`.
polygon-edge peers list --grpc-address localhost:10002 rpc error: code = Unavailable desc = connection closed before server preface received```
Tell us what should happen. : Expects no error.
Tell us what happened instead. : Failed to get account error.
Provide us with debug logs from all of your validators by setting logging to debug output with: server --log-level debug
debug
server --log-level debug
2022-12-07T21:37:40.373Z [DEBUG] polygon.server.jsonrpc: handle: response="{\"jsonrpc\":\"2.0\",\"id\":4,\"result\":{\"parentHash\":\"0x57bc57d4917e2fc035391d33f2c7fc4e1f5b35ccc2e9d33154e394acbfe15e77\",\"sha3Uncles\":\"0x1dcc4de3dec75d7aab35b577b7ccd41ad312451b943a7413f0a142fd40d49347\",\"miner\":\"0x0000000000000000000000000000000000000000\",\"stateRoot\":\"0x147fcf390e1c7dcba313ae732477093b3c140a7213ba9f07557949cdfdd0bb43\",\"transactionsRoot\":\"0x57e31f171bcc55a7ff3345e792c0f37e5b43e01b997cadc001722fb5e373b421\",\"receiptsRoot\":\"0x57e31f171bcc55a7ff3345e792c0f37e5b43e01b997cadc001722fb5e373b421\",\"logsBloom\":\"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"difficulty\":\"0x25bea\",\"totalDifficulty\":\"0x25bea\",\"size\":\"0x3a5\",\"number\":\"0x25bea\",\"gasLimit\":\"0x500000\",\"gasUsed\":\"0x0\",\"timestamp\":\"0x73910773\",\"extraData\":\"0x0000000000000000000000000000000000000000000000000000000000000000f9017eea9473adbc525751a99dbc05a2a744aad5a271f992d194b2efbd91d231a2efcde7de29091d1a1345797377b3415972193224c7901cb094d743b23c7aeb5e0af2bce3323751a7d7997343737ee779f9d479d47370d32335fefa03b77003a32370e11a19d0f4210bd2db727cfa7300f337b34170fdb590972c0ae307d5e9bbe4fb35ca7f5db7ba772a47372e0d0403153c1d027d711ddc3e77971d0e5a0347eae9a97355fd44e9ff2a1b449237ac05b173343f00b34113910fa243ab3c07e2c195a32e7dad705d30e40d27cf07cf15e71522d7771a2955c20acb0ec5b5bcf330a07057ab7ba35fe5b03ca52bda3eb1192d4ed397737301f337b341fde999cd121ba7c9f9ae77e9a20a271af75359f7171c2e3335197152bfa123a545b3b9d71bdcafa747e14755ca9953a1d7b42110db433af47c1d377c2ad10fe301b341cbfa49e3bc47d3a1557d99974def799079935c34011ba0b02f11abf3fffd77df111754f77aabef4f9dac77dbe5f275b42747dc232ec17a7cd37277cf57aa959301\",\"mixHash\":\"0x73747973717c2072797a717e74797e75207771757c7420747f7c7572717e7375\",\"nonce\":\"0x0000000000000000\",\"hash\":\"0xe7f11d343fe4f04bf3f40c37ba9f72bda737d7e4b7cc72fd3a11721fd9239e07\",\"transactions\":[],\"uncles\":[]}}"
Would need to debug the get_code txs in polygon-edge
The text was updated successfully, but these errors were encountered:
related to #1238
Sorry, something went wrong.
eth_getCode
Successfully merging a pull request may close this issue.
Description
I am trying to deploy a contract using forge script command and polyon-edge is returning Failed to get account error.
Your environment
Steps to reproduce
Reproduce : run the forge script command in the github project. https://github.com/SantaHub/Foundry_NFT/blob/dev/Issue.md
Genesis File
polygon-edge server --data-dir ./test-chain-2 --chain genesis.json --grpc-address :20000 --libp2p :20001 --jsonrpc :20002 --seal --log-level DEBUG
polygon-edge peers list --grpc-address localhost:10002
rpc error: code = Unavailable desc = connection closed before server preface received```
Yes, the chain is producing blocks but is in test and not customer facing yet.
Expected behavior
Tell us what should happen. : Expects no error.
Tell us what happened instead. : Failed to get account error.
Logs
Provide us with debug logs from all of your validators by setting logging to
debug
output with:server --log-level debug
Proposed solution
Would need to debug the get_code txs in polygon-edge
The text was updated successfully, but these errors were encountered: