Skip to content

Commit

Permalink
[[FIX]] fix rpc config for parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
bysomeone authored and 33cn committed Mar 14, 2023
1 parent 2eeccad commit cd9ad35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chain33.para.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ httpApi=["eth","web3","personal","admin","net"]
wsAddr="localhost:8546"
wsApi=["eth","web3","personal","admin","net"]

[rpc.sub.parachain]
[rpc.parachain]
#主链节点的grpc服务器ip,当前可以支持多ip负载均衡,如“118.31.177.1:8802,39.97.2.127:8802”
#mainChainGrpcAddr="jiedian2.bityuan.com,cloud.bityuan.com"
mainChainGrpcAddr="localhost:8802"
Expand Down
2 changes: 1 addition & 1 deletion chain33.para.toml.readme
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ whitelist=["127.0.0.1"]
jrpcFuncWhitelist=["*"]
grpcFuncWhitelist=["*"]

[rpc.sub.parachain]
[rpc.parachain]
#主链节点的grpc服务器ip,当前可以支持多ip负载均衡,如“118.31.177.1:8802,39.97.2.127:8802”
#mainChainGrpcAddr="jiedian2.bityuan.com,cloud.bityuan.com"
mainChainGrpcAddr="localhost:8802"
Expand Down
4 changes: 2 additions & 2 deletions plugin/dapp/paracross/testnode/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ grpcBindAddr="localhost:0"
whitelist=["127.0.0.1"]
jrpcFuncWhitelist=["*"]
grpcFuncWhitelist=["*"]
[rpc.sub.parachain]
[rpc.parachain]
#主链节点的grpc服务器ip,当前可以支持多ip负载均衡,如“101.37.227.226:8802,39.97.20.242:8802,47.107.15.126:8802,jiedian2.33.cn”
mainChainGrpcAddr="localhost:8803"
mainChainGrpcAddr=""
[mempool]
name="para"
poolCacheSize=10240
Expand Down

0 comments on commit cd9ad35

Please sign in to comment.