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

Where to find Testnet genesis file? #140

Open
spaceghost1337 opened this issue Aug 21, 2022 · 22 comments
Open

Where to find Testnet genesis file? #140

spaceghost1337 opened this issue Aug 21, 2022 · 22 comments
Assignees
Labels
question Questions about Dogechain
Milestone

Comments

@spaceghost1337
Copy link

I cannot find the the Testnet genesis file anywhere in the docs. Mainnet yes... Testnet no? Could someone with this info please include it in the docs? Additionally, including it in the releases might be a good idea to do moving forward.

@DarianShawn
Copy link
Collaborator

Thanks for your advice.

We do have a plan and a branch adding this feature. It was delayed due to other high priority things. I'm afraid it would not supposed to be provided in the new future.

Testnet would not release genesis file for some safety reasons.

Anyway, once the commitment decide to open the validator policy, Testnet would releases the genesis file and begin the upgrade tests.

@DarianShawn DarianShawn added the question Questions about Dogechain label Aug 30, 2022
@DarianShawn
Copy link
Collaborator

@0xcb9ff9 Could you take a glance at it?
Would be better to zip the MainNet genesis file into the archive and docker image.

@DarianShawn DarianShawn added this to the Release 1.3.0 milestone Sep 15, 2022
@0xcb9ff9
Copy link

@DarianShawn embedding genesis file in binaries ? use flag switch Mainnet and Testnet

@DarianShawn
Copy link
Collaborator

Only support MainNet is enough now. Supply file in zip and docker is the minimum requirement.

@DarianShawn embedding genesis file in binaries ? use flag switch Mainnet and Testnet

@DarianShawn
Copy link
Collaborator

The needed feature is merged.

But we'll keep this issue unless we do provide the TestNet or some other test-usage network genesis file.

@wdcs-sohamjadiya
Copy link

Hello @DarianShawn, are you providing testnet genesis file in the release now or is there anyway that I can get the genesis file and setup a testnet node?

@Supra-RaghulRajeshR
Copy link

hello i need to setup dogechain fullnode for testnet, can anyone provide me genesis.json file or something.

@0xcb9ff9
Copy link

@Supra-RaghulRajeshR If you need to run the test cluster in the local, can use this repository dogechain-testenv

@Supra-RaghulRajeshR
Copy link

@0xcb9ff9 hi, i want testnet full node, not cluster. can you pls help me with it.

@0xcb9ff9
Copy link

@Supra-RaghulRajeshR

Testnet would not release genesis file for some safety reasons.

@Supra-RaghulRajeshR
Copy link

Supra-RaghulRajeshR commented Apr 25, 2023

@0xcb9ff9 then how do i setup testnet full node? any other way is there?

@0xcb9ff9
Copy link

The dogechain genesis command can create a new network genesis file for local testing, like script create-genesis.sh

@Supra-RaghulRajeshR
Copy link

@0xcb9ff9 hi i don't want to set it up in local. i want it in testnet, ( ChainID: 568)

@DarianShawn
Copy link
Collaborator

The full node of the Testnet can be used, but it is not recommended to run it.
The genesis file is not compatible, and no public boot nodes provided, so syncing will not work.
Most importantly, we haven't updated the Testnet for such a long time. Lots of features and fix are not imported.

If you want to debug with current network features, we recommend using Devnet.
It is totally Mainnet features deployed, and always with new features pre-deployed and well tested.

The chain ID is 668.
Here is the endpoint: https://rpc-devnet.dogechain.dog
Explorer: https://explorer-devnet.dogechain.dog
Download and rename genesis.txt to genesis.json.
And don't forget to use the latest release.

@Supra-RaghulRajeshR
Copy link

@DarianShawn thanks i'll try this.

@Supra-RaghulRajeshR
Copy link

@DarianShawn hi i've followed this method but am facing an issue like this.

Apr 26 10:37:50 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:37:50.585Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:00 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:00.586Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:10 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:10.587Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:15 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:15.587Z [ERROR] dogechain.network.discovery: Unable to connect to bootnode: bootnode=16Uiu2HAkxMLPXEjjVthopeXxNg2NbJurfWn7KiE26C4XXr7U6f5V Apr 26 10:38:15 dogechain-testnet-1 dogechain[1819436]: err= Apr 26 10:38:15 dogechain-testnet-1 dogechain[1819436]: | failed to dial 16Uiu2HAkxMLPXEjjVthopeXxNg2NbJurfWn7KiE26C4XXr7U6f5V: Apr 26 10:38:15 dogechain-testnet-1 dogechain[1819436]: | * [/ip4/13.215.179.144/tcp/1478] dial tcp4 0.0.0.0:1478->13.215.179.144:1478: i/o timeout Apr 26 10:38:15 dogechain-testnet-1 dogechain[1819436]: Apr 26 10:38:20 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:20.588Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:30 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:30.588Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:40 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:40.589Z [ERROR] dogechain.network.keep_available: no peers found Apr 26 10:38:47 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:47.626Z [ERROR] dogechain.network.discovery: Unable to connect to bootnode: bootnode=16Uiu2HAkxMLPXEjjVthopeXxNg2NbJurfWn7KiE26C4XXr7U6f5V Apr 26 10:38:47 dogechain-testnet-1 dogechain[1819436]: err= Apr 26 10:38:47 dogechain-testnet-1 dogechain[1819436]: | failed to dial 16Uiu2HAkxMLPXEjjVthopeXxNg2NbJurfWn7KiE26C4XXr7U6f5V: Apr 26 10:38:47 dogechain-testnet-1 dogechain[1819436]: | * [/ip4/13.215.179.144/tcp/1478] dial tcp4 0.0.0.0:1478->13.215.179.144:1478: i/o timeout Apr 26 10:38:47 dogechain-testnet-1 dogechain[1819436]: Apr 26 10:38:50 dogechain-testnet-1 dogechain[1819436]: 2023-04-26T10:38:50.590Z [ERROR] dogechain.network.keep_available: no peers found

@0xcb9ff9
Copy link

@Supra-RaghulRajeshR The bootnode address is wrong, use this
genesis.txt

@Supra-RaghulRajeshR
Copy link

@0xcb9ff9 thanks man it seems working.

@Supra-RaghulRajeshR
Copy link

HI @0xcb9ff9 can you pls help me how to establish the websocket???

just adding the '--enable-ws' is that enough or do i need to add any port number for it? and which port number it would use

@DarianShawn
Copy link
Collaborator

That's enough for enabling websocket feature.
The port reuses json rpc port, too.

@Supra-RaghulRajeshR
Copy link

@DarianShawn thanks

@0xcb9ff9
Copy link

@Supra-RaghulRajeshR all api endpoint
json-rpc: /
websocket: /ws
graphql: /graphql
graphql ui: /graphql/ui

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

No branches or pull requests

5 participants