Skip to content
New issue

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

Why can't raft networks built from documents interact with smart contracts #1697

Open
YU-YUEHAO opened this issue Mar 21, 2024 · 1 comment

Comments

@YU-YUEHAO
Copy link

YU-YUEHAO commented Mar 21, 2024

I established three points of the raft network through documentation and successfully deployed the contract, but could not interact with the contract The name method I used to call erc721 in go is just a call method but with an error I have clearly successfully connected the node with the correct address and abi

微信图片_20240321172829 微信图片_20240321172829
@YU-YUEHAO
Copy link
Author

#bin/bash

export ADDRESS=$(grep -o '"address": "[^"]"' ./data/keystore/accountKeystore | grep -o '"[^"]"$' | sed 's/"//g')
export PRIVATE_CONFIG=ignore
geth --datadir data
--networkid 1337 --nodiscover --verbosity 5
--syncmode full --nousb
--raft --raftport 53000 --raftblocktime 300 --emitcheckpoints
--http --http.addr "0.0.0.0" --http.port 22000 --http.corsdomain "
" --http.vhosts ""
--ws --ws.addr "0.0.0.0" --ws.port 32000 --ws.origins "
"
--http.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft
--ws.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft
--unlock ${ADDRESS} --allow-insecure-unlock --password ./data/keystore/accountPassword
--port 30303

This is my startup file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant