-
Notifications
You must be signed in to change notification settings - Fork 182
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
Failed to setup testnet locally #3040
Comments
exchaind init
error while trying to set up testnet
When you execute 'make', you will see output like this:
You may notice that 'types.MILESTONE_GENESIS_HEIGHT' is set to 1121818. When 'make testnet' is executed, some parameters are set to match the network configuration of OKC testnet, whose chain ID is 65. If you compile 'exchaind' using 'make testnet' and configure it with a chain ID other than 65, it will report an error, for example.
it shows 'GenesisHeight is <1121818>', the same as the one passed when executing 'make', while your output shows 'Current GenesisHeight is <0>', so it doesn't seem like the testnet configuration is being used. Could you try executing 'make testnet' again and observe the output of 'make'? |
By the way, may I ask if you intend to run a testnet node or just need to start some test nodes locally without joining the testnet? |
this is what I have
|
personally, I dont want to join the testnet due to the storage concern (I only have 80gb free space on my laptop), but I did not see any guides on how to deploy the contract into testnet (I am a newbie, any pointer on it?) |
If you run "exchaind init", will it still report the previous error? If you want to deploy a contract on the testnet, use https://exchaintestrpc.okex.org/ with chainid 65. Then you can use the testnet like any other EVM-compatible chain. The API documentation is available at https://www.okx.com/okc/docs/dev/api/okc-api/json-rpc-api.html. You can get test OKT tokens here: https://www.okx.com/okc/faucet. |
Yeah, even after the build I still have
I will check it out, I think I need that more than building my own, thanks! |
如何修改 chainID exchain-65 为兼容evm的 1028等整数iD? |
I have run
make testnet LINK_STATICALLY=true
successfully in my local, since I am running on macOS arm, I have commented out this blockOtherwise I would get
ld: library not found for -lcrt0.o
Now I am trying to set up testnet reading this doc, https://www.okx.com/okc/docs/dev/quick-start/join-okc-testnet.html
But I am seeing this error when running
exchaind init
The error is as below:
If I change chain-id from 65 to 67, it would pass (I saw in the tutorial video that the chain-id should be 67??).
Now with
exchain-67
, I got some validator error:Let me know if I need provide more info.
The text was updated successfully, but these errors were encountered: