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

[EVM] Cannot synch the archive node #1007

Open
gztensor opened this issue Nov 20, 2024 · 5 comments · Fixed by #1023
Open

[EVM] Cannot synch the archive node #1007

gztensor opened this issue Nov 20, 2024 · 5 comments · Fixed by #1023
Assignees

Comments

@gztensor
Copy link
Contributor

When synching the archive node with TestNet, we get an error if we start with the most recent EVM node:

0|node-sub | 2024-11-20 05:21:50 :broken_heart: Error importing block 0xa97f42f48fddd14f4c7443b46f9961a227c9a699e60f74dd08346713ba5dcd4c: consensus error: Import failed: Runtime Ethereum block not found, rejecting!    
0|node-sub | 2024-11-20 05:21:50 :gear:  Syncing, target=#4304790 (2 peers), best: #0 (0x2f05…6c03), finalized #0 (0x2f05…6c03), ⬇ 3.7MiB/s ⬆ 17.8kiB/s 

You have to deploy a subtensor build that does not have the evm changes (then it works fine), and then later switch to the new one.

@Shr1ftyy
Copy link

Shr1ftyy commented Nov 28, 2024

yeah i've recently experienced this issue when trying to spin up a localnet for testing :(. I really don't want to have to wipe by previous chain state if I don't have to and go through the process of getting TAO from a faucet, creating subnet, regging miners, validators etc to test my subnet code with the new subtensor version.

@Genysys
Copy link

Genysys commented Nov 28, 2024 via email

@Shr1ftyy
Copy link

check the build binary flag and remove it from the script. This will avoid it , alot dont delete the previous db when you start again . its all in the script read the code

On Thu, Nov 28, 2024 at 6:45 AM Syeam Bin Abdullah @.> wrote: yeah i've recently experienced this issue when trying to spin up a localnet for testing :(. I really don't want to have to wipe by previous chain state if I don't have to and go through the process of getting TAO from a faucet, creating subnet, regging miners, validators etc. — Reply to this email directly, view it on GitHub <#1007 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH773DSH33MPJ2BV67BFQZD2CZ7VPAVCNFSM6AAAAABSFHQ4XGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBVGE3DAMZQGA . You are receiving this because you are subscribed to this thread.Message ID: @.>

I'm aware of the build binary flag - and I would basically be testing against an older version of the subtensor. There's no point in doing that :/

@Genysys
Copy link

Genysys commented Nov 28, 2024 via email

@gztensor gztensor assigned gztensor and unassigned orriin Nov 29, 2024
@gztensor
Copy link
Contributor Author

This PR will fix it:
#1023

@gztensor gztensor linked a pull request Nov 29, 2024 that will close this issue
13 tasks
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

Successfully merging a pull request may close this issue.

4 participants